Skip to content

Hyperloop-UPV/BLCU-H11

Repository files navigation

Template Project

HyperloopUPV STM32 firmware template based on CMake + VSCode, using deps/ST-LIB.

Quickstart

./tools/init.sh
cmake --preset simulator
cmake --build --preset simulator
ctest --preset simulator-all

Documentation

Main Working Modes

  • simulator: fast local development and tests.
  • nucleo-* / board-*: hardware builds.

List all presets:

cmake --list-presets

VSCode Debug

launch.json and tasks.json include debug flows for:

  • OpenOCD
  • ST-LINK
  • simulator tests

Detailed guide:

BOARD_NAME (code generation)

Packet code generation uses BOARD_NAME (a key from JSON_ADE).

Example:

cmake --preset board-debug -DBOARD_NAME=TEST

Generated packet headers such as Core/Inc/Communications/Packets/DataPackets.hpp and Core/Inc/Communications/Packets/OrderPackets.hpp are build outputs derived from the active JSON_ADE schema. They are intentionally gitignored and should not be edited or committed.

About

Bootloader Control Unit for Hyperloop UPV H11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors