Add wolfBoot port for STM32U3 (NUCLEO-U385RG-Q)#758
Open
dgarske wants to merge 2 commits intowolfSSL:masterfrom
Open
Add wolfBoot port for STM32U3 (NUCLEO-U385RG-Q)#758dgarske wants to merge 2 commits intowolfSSL:masterfrom
dgarske wants to merge 2 commits intowolfSSL:masterfrom
Conversation
New HAL port for the STM32U3 family (Cortex-M33, no TrustZone, 1MB dual-bank flash with 4KB pages, 64-bit double-word writes). Features: - hal/stm32u3.c, hal/stm32u3.h, hal/stm32u3.ld: flash driver, clock init (96 MHz MSIRC0 via EPOD booster), inline UART, ICACHE - config/examples/stm32u3.config: ECC384/SHA384, DEBUG_UART=1, NVM_FLASH_WRITEONCE=1, RAM_CODE=1, dual-bank layout - test-app/app_stm32u3.c: LED blink + UART output + version check - tools/scripts/prepare_update_u3.sh: v2 pBOOT update image builder - docs/Targets.md: STM32U3 section with build/flash/update instructions - CI: stm32u3_test job + Clang rebuild coverage Tested on NUCLEO-U385RG-Q: - Verified boot with ECC384/SHA384 signature - 96 MHz clock (MSIRC0 + SMPS + EPOD booster + VOS1) - UART output on USART1 PA9/PA10 (ST-LINK VCP) - TEST_FLASH erase/write/readback on both flash banks - A/B firmware update (v1 -> v2 swap with pBOOT trigger)
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
New HAL port for the STM32U3 family (Cortex-M33, no TrustZone, 1MB dual-bank flash with 4KB pages, 64-bit double-word writes).
Features:
Tested on NUCLEO-U385RG-Q: