This page was generated from the source of RoboHub. Edit the source, not this page.
RoboHub STM32 Platform
The STM32 platform for the RoboHub ecosystem: the interfaces declared by
robohub-common, implemented on STM32 microcontrollers, with board support
packages for the Nucleo boards.
The platform
A Rho program on this platform runs on an STM32 part. The platform provides
the interfaces, the HAL, and the board support package that registers the
board's peripherals.
Building
cd examples/c/hello_world
rho build -target nucleo-f412zg .
Flashing
rho flash -target nucleo-f412zg build/output/main
The examples
examples/c/hello_world is the smallest program that runs on real hardware.
examples/rho/hello_world is that program in Rho, written against the
contracts and nothing else.