This repository contains firmware for the Embedded Controller Unit (EMCU).
- CMake 3.13 (or newer)
- Raspberry Pi Pico C/C++ Toolchain
- OpenOCD and GDB (Optional, used for debugging)
- VSCode with cortex-debug and CMake plugins (Optional, used for debugging)
To build the contents of this repository, follow the steps in the Raspberry Pi Pico C SDK Documentation to setup your toolchain.
Once complete, pull the FreeRTOS kernel by calling:
git submodule update --initThen, build the project using CMake:
mkdir build && cd build
cmake ..
make(Hint: Speed up build times using make -jN, where N is the number of available CPU Cores)
The .uf2 file produced by the toolchain can be uploaded to the Pico development board, or alternatively the .elf binary can be flashed using OpenOCD/GDB for debugging.