HyperloopUPV STM32 firmware template based on CMake + VSCode, using deps/ST-LIB.
./tools/init.sh
cmake --preset simulator
cmake --build --preset simulator
ctest --preset simulator-all- Template setup:
docs/template-project/setup.md - Build and debug:
docs/template-project/build-debug.md - Testing and quality:
docs/template-project/testing.md - ST-LIB docs (inside this repository):
deps/ST-LIB/docs/setup.md
simulator: fast local development and tests.nucleo-*/board-*: hardware builds.
List all presets:
cmake --list-presetslaunch.json and tasks.json include debug flows for:
- OpenOCD
- ST-LINK
- simulator tests
Detailed guide:
Packet code generation uses BOARD_NAME (a key from JSON_ADE).
Example:
cmake --preset board-debug -DBOARD_NAME=TEST