This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Platform change for STM32 only: add support for STM32U5 on STM32Cube.
The STM32U5 MCU, which is already supported via Zephyr, is now also supported on the STM32Cube platform. CURRENT LIMITATIONS: - I2C and SPI are not yet implemented, - there appears to be a bug in the ST-provided CMSIS layer for ThreadX in that it does not free memory when a dynamic task is terminated, hence you will likely run out of memory; this is being progressed in STMicroelectronics/STM32CubeU5#48. EXISTING STM32Cube USERS PLEASE NOTE: the guts of stm32f4.mk is moved up a directory-level and renamed to stm32.mk; it is included in stm32f4.mk so you _should_ notice no difference. Two configurations are supported: the default STM32U5 integration from ST, which now uses ThreadX as the underlying OS, and a configuration which continues to use FreeRTOS as the underlying OS (i.e. as STM32F4 does). In order to make this possible all OS operations for STM32U5 builds go through CMSIS (V2). See the README.md files under the stm32cube platform directory for details of how the two differ and what limitations you may find.
- Loading branch information
Showing
63 changed files
with
6,735 additions
and
419 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# OpenOCD config for STM32U5x | ||
source [find interface/stlink.cfg] | ||
transport select hla_swd | ||
source [find target/stm32u5x.cfg] | ||
|
||
# Reset configuration | ||
# use hardware reset, connect under reset | ||
# connect_assert_srst needed if low power mode application running (WFI...) | ||
reset_config srst_only srst_nogate connect_assert_srst | ||
|
||
# Target specific frequencies | ||
set _TARGET_SYSTEM_FREQUENCY 160000000 | ||
set _TARGET_SWO_FREQUENCY 2000000 | ||
|
This file contains 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
This file contains 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
Oops, something went wrong.