Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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
languagebash
titleInstall Commands
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y
sudo apt -qq update
sudo apt -qq install build-essential gcc-arm-embedded openocd git tmux ruby
mkdir ~/projects
cd ~/projects
git clone https://github.com/uw-midsun/firmware.git

If you're running this on a VM (through VirtualBox) and want to symlink a shared folder instead, install the VirtualBox Guest Additions and set up a shared folder named projects to auto-mount.

Then, running the following commands will enable your user to access shared folders and symlink the folder to ~/projects. Replace mkdir ~/projects with:

Code Block
languagebash
titleShared 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.