STM32U5 HAL update, NUCLEO_U575ZI upload method file #184
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.
Summary of changes
This MR updates the STM32U5 HAL to a newer version. This fixes a number of bugs, e.g. with a watchdog test failure and with DMA causing hardfaults when used. I cherry picked this MR from Mbed upstream and tested it locally.
I also took the chance to add an upload method config file for the U575ZI and update the one for the U585.
Impact of changes
None
Migration actions required
None
Documentation
None
Pull request type
Test results
I finally have myself an STM32U5 board to play with! So, I ran the greentea tests against this MR, and, somewhat surprisingly, they all passed, except for hal-sleep-manager. After doing some digging, it turns out that I broke this test a while back by moving the sleep_manager_can_deep_sleep_test_check() call to before where the LP ticker time is set. This caused a race condition where setting the LP ticker time generated an interrupt, and that interrupt might not fire until after the processor goes to sleep, waking it up immediately.
With the fix in this MR, this test should be working again, and all Greentea tests pass (though, USB is not supported on STM32U5 yet...)
Reviewers