Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

Install 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:

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.

  • No labels