Skip to content

WeAct Studio STM32H562RG Core Board

lbuild config: modm:weact-h562rg

Documentation

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

Programming

Since the board has no 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-h562rg:logger">RTT</option>

Then log using:

scons log-rtt

To log via UART, attach a serial adapter to the log pins and select the UART option:

<option name="modm:board:weact-h562rg:logger">UART</option>

Configuration

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