Skip to content

lnis-uofu/embedded-systems-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a project template for ECE 5780, Embedded Systems.

Installation

Local Machine

Download and install Visual Studio Code.

https://code.visualstudio.com/

Some additional instructions for WSL on Windows.

https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-vscode

Windows users will need to install PuTTY

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Unix installation

Students are required to work in a Unix environment for this course. If you wish, you may install Linux as your primary operating system, otherwise you will set up a virtual environment. Mac OSX is a Unix variant, and can be used as the primary operating system..

OSX

You will need to install brew.

https://brew.sh/

From there, install the package dependencies.

brew tap caskroom/cask
brew install cask gcc-arm-embedded
brew install openocd
brew install stlink

WSL

The Windows Subsystem for Linux (WSL) allows installation of a Linux environment inside of Windows.

https://learn.microsoft.com/en-us/windows/wsl/install

VirtualBox

VirtualBox creates a virtual machine, a full isolated computer environment with a separate operating system.

https://www.virtualbox.org/

NoMachine

The CADE lab has all software needed already installed. You will need to install NoMachine for USB forwarding. We will not be using the GUI

https://www.nomachine.com/

https://www.nomachine.com/getting-started-with-nomachine

Package installation

For Debian based systems (including Ubuntu and Mint), you will need to install the following packages.

apt-get install stlink-tools gcc-arm-none-eabi binutils-arm-none-eabi make git openocd

Development process

Attach USB device

To work with your microcontroller in your environment, you will need to attach the USB device.

WSL

https://learn.microsoft.com/en-us/windows/wsl/connect-usb

VirtualBox

https://www.virtualbox.org/manual/topics/BasicConcepts.html#usb-support

NoMachine

https://kb.nomachine.com/DT10K00060#4.3

VSCode remote connections

You will be working connected to a remote machine.

https://code.visualstudio.com/docs/remote/remote-overview

You will need to install the Microsoft C/C++ Extension. You should be prompted to install it the first time you open your project. If you are not, the link is below.

https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools

Drivers

This repository contains libraries copied from https://github.com/STMicroelectronics/STM32CubeF0 at commit 165396863a295fe41640f721f8b8ba276572e083. License information for these libraries is located inside library directories.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published