ETR01SDK-574: Add tests support for NUCLEO U545RE-Q#473
Merged
Conversation
06b19ea to
5c99cd8
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds functional test support for the STM32 NUCLEO U545RE-Q board by providing board-specific configuration, initialization code, and build system setup.
Changes:
- STM32 HAL initialization and peripheral configuration (RNG, UART, SPI, GPIO)
- Platform-specific implementations for WolfCrypt and MbedTLS v4 entropy/RNG integration
- CMake build configuration and linker script for the target hardware
Reviewed changes
Copilot reviewed 18 out of 130 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/functional/stm32/nucleo_u545re_q/Src/main.c | Main entry point with peripheral initialization and test execution wrapper |
| tests/functional/stm32/nucleo_u545re_q/Src/wolfcrypt/wolfcrypt_platform.c | WolfCrypt RNG seed generation using STM32 HAL |
| tests/functional/stm32/nucleo_u545re_q/Src/mbedtls_v4/mbedtls_platform.c | MbedTLS v4 entropy source and time implementation |
| tests/functional/stm32/nucleo_u545re_q/Src/system_stm32u5xx.c | STM32U5 system initialization and clock configuration |
| tests/functional/stm32/nucleo_u545re_q/Src/stm32u5xx_it.c | Interrupt service routines |
| tests/functional/stm32/nucleo_u545re_q/Src/stm32u5xx_hal_msp.c | MSP initialization for RNG, SPI, and UART peripherals |
| tests/functional/stm32/nucleo_u545re_q/STM32U545RETXQ_FLASH.ld | Linker script defining memory layout |
| tests/functional/stm32/nucleo_u545re_q/CMakeLists.txt | Build configuration for test executables |
| tests/functional/stm32/nucleo_u545re_q/Inc/*.h | Header files for HAL configuration and declarations |
| tests/functional/stm32/nucleo_u545re_q/Src/mbedtls_v4/*.h | MbedTLS v4 configuration files |
| tests/functional/stm32/nucleo_u545re_q/Src/wolfcrypt/user_settings.h | WolfCrypt configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
andreondra
approved these changes
Feb 19, 2026
Contributor
andreondra
left a comment
There was a problem hiding this comment.
OK. Two things only:
- If you have some spare time, you can try to reduce the vendor directory.
- I'm not sure if there can be two copyright notices (main.c).
…D2 and SCK pin, correctly init SCK
…e BspButtonState unused variable
…160 MHz CLK frequency
…x warning messages from openocd
87d954f to
655c8d8
Compare
b3ff5b5 to
7e41402
Compare
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.
Description
Adds functional test support for the STM32 NUCLEO U545RE-Q board.
Type of Change
Select the type(s) that best describe your change:
Checklist
Before submitting, please confirm that you have completed the following: