Repository navigation
stm32h563: add BOARD=stm32h573i_dk for the STM32H573I-DK - #205
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Changing BOARD can reuse stale objects and firmware, leaving the wrong board’s pins selected because the build does not track board selection as a prerequisite.
1 open issue
What changed in this PR
Adds STM32H573I-DK support to the existing STM32H563 bare-metal port while preserving the default NUCLEO pinout.
Changes:
- Adds
BOARD=stm32h573i_dk, rejecting TrustZone-enabled builds. - Selects USART1/PA9 for the console and PG12 for Ethernet TXD1.
- Documents the board-specific build command.
| File | Description |
|---|---|
| src/port/stm32h563/README.md | Documents DK support and build instructions. |
| src/port/stm32h563/Makefile | Adds board selection and TrustZone restriction. |
| src/port/stm32h563/main.c | Selects board-specific UART and Ethernet pins. |
Review effort: Balanced
|
dgarske
force-pushed
the
stm32h573i_dk
branch
from
December 2, 2026 21:30
d142024 to
3aa2f08
Compare
mattia-moffa
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Adds a board option to the bare-metal STM32H563 port so it runs on the STM32H573I-DK. The two boards differ in two places for this port: the ST-LINK console is USART1 on PA9 instead of USART3 on PD8, and ETH_TXD1 is PG12 instead of PB15. The other RMII pins and the LED are the same.
What it adds
src/port/stm32h563/Makefile-BOARD=stm32h573i_dkadds-DBOARD_STM32H573I_DK; rejected withTZEN=1src/port/stm32h563/main.c- debug UART base, clock enable and TX pin selected by board; TXD1 pin selected by boardsrc/port/stm32h563/README.md- build instructions for the boardThe default build is unchanged:
app.binis byte-identical before and after.Hardware / test status
Validated on an STM32H573I-DK with TrustZone disabled: link up, DHCP, ping, TCP echo, the TLS 1.3 echo server, HTTPS, SSH and the MQTT broker over TLS, each exercised from a host on the same network.
Scope
TZEN=1and the wolfHAL backend are not covered for this board. The port still uses software crypto; the hardware AES, HASH and PKA of the H573 are not enabled here.