Follow the steps from the online documentation.
The first time docker will pull pulu-firmware-builder. (2.3GB)
Building the firmware without version tags (defaults to latest)
make
Building the firmware with version tags for the firmware and/or firmware-builder
make VERSION=1.0.0 BUILDER_VERSION=1.1.0
Use the mbed_installer which can be found here. (At the moment of developing, we used the most recent version 0.4.10)
We used conda as an environment management system to separate the dependencies of this project.
conda create --name projectwerk python=3.7
conda activate projectwerk
pip install mbed-cli
When having troubles with the GCC_ARM compiler, make sure you are using a version between 9 and 10.
We used 9-2019-q4-major as compiler.
- Clone the project
- using mbed-cli
- install library dependencies using
mbed deploy
- compile and flash using
mbed compile -f
- install library dependencies using
- using pulu-firmware-builder
- compile using
make
- output binary in
/BUILD/
- compile using
- using github action releases
- download the binary files from the github release
- flash
sudo st-flash --connect-under-reset write pulu-main-firmware.bin 0x08000000