This is a project template for ECE 5780, Embedded Systems.
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
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..
You will need to install brew.
From there, install the package dependencies.
brew tap caskroom/cask
brew install cask gcc-arm-embedded
brew install openocd
brew install stlink
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 creates a virtual machine, a full isolated computer environment with a separate operating system.
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/getting-started-with-nomachine
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
To work with your microcontroller in your environment, you will need to attach the USB device.
https://learn.microsoft.com/en-us/windows/wsl/connect-usb
https://www.virtualbox.org/manual/topics/BasicConcepts.html#usb-support
https://kb.nomachine.com/DT10K00060#4.3
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
This repository contains libraries copied from https://github.com/STMicroelectronics/STM32CubeF0 at commit 165396863a295fe41640f721f8b8ba276572e083. License information for these libraries is located inside library directories.