Warning |
---|
This setup is only for experienced users. For general firmware development, use our Vagrant box instead. |
These commands are required to set up the build system on Linux (tested on Ubuntu 16.04 LTS). This installs the necessary packages and clones a copy of the firmware to ~/projects/firmware
.
Code Block |
---|
language | bash |
---|
title | Install Commands |
---|
|
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y
sudo add-apt -qq-repository ppa:xorg-edgers/ppa -y # This is used for clang-format-5.0 - we may just want to move to 17.10
sudo apt -y update
sudo apt -qqy install build-essential gcc-arm-embedded openocd git tmux ruby python3-pip clang-format-5.0
mkdir ~/projects
cd ~/projects
git clone https://github.com/uw-midsun/firmware.git |
...
Code Block |
---|
language | bash |
---|
title | Shared Folder Setup |
---|
|
sudo adduser [username] vboxsf
cd ~
ln -s /media/sf_projects projects |
It's also recommended to set the STLink programmers to automatically mount within your VM.