Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Seems like the stable PPA doesn't work for 5.0 yet

...

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
wgetsudo add-O apt-repository httpppa://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -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 -y install build-essential gcc-arm-embedded openocd git tmux ruby python3-pip clang-5.0 clang-format-5.0
mkdir ~/projects
cd ~/projects
git clone https://github.com/uw-midsun/firmware.git

...