Skip to content

WeAct Studio STM32H503CB Core Board

lbuild config: modm:weact-h503cb

Documentation

Cheap and bread-board-friendly board for the STM32H503 series.

Programming

Since the board has no St-Link programmer on the board, you must use DFU (Device Firmware Update (via USB)) to program the board. A DFU command is integrated into the modm:build:scons tool:

scons program-dfu

Note that you need to manually reset the board due to a bug in the DFU implementation.

Logging

To log via RTT attach a debugger to the SWD port and select the RTT option:

<option name="modm:board:weact-h503cb:with_rtt">yes</option>

Then log using:

scons log-rtt

Configuration

<library>
  <options>
    <option name="modm:target">stm32h503cbt6</option>
  </options>
  <modules>
    <module>modm:board:weact-h503cb</module>
  </modules>
</library>