Skip to content

Hyperloop-UPV/template-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

486 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 17