Skip to content

Commit

Permalink
stm32cube: soc: Set __SAUREGION_PRESENT to 0 for STM32H503
Browse files Browse the repository at this point in the history
This is a mistake in CMSIS header file, since SAU is not present
on STM32H503 devices

Signed-off-by: Adam Berlinger <adam.berlinger@st.com>
  • Loading branch information
ABESTM authored and erwango committed Jul 2, 2024
1 parent 2d9f676 commit f131715
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions stm32cube/stm32h5xx/README
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,9 @@ Patch List:
Impacted files:
drivers/include/Legacy/stm32_hal_legacy.h

*Fix to set __SAUREGION_PRESENT to 0 for STM32H503 devices
Impacted files:
stm32cube/stm32h5xx/soc/stm32h503xx.h
ST internal bug: 177135

See release_note.html from STM32Cube
2 changes: 1 addition & 1 deletion stm32cube/stm32h5xx/soc/stm32h503xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ typedef enum

/* -------- Configuration of the Cortex-M33 Processor and Core Peripherals ------ */
#define __CM33_REV 0x0000U /* Core revision r0p1 */
#define __SAUREGION_PRESENT 1U /* SAU regions present */
#define __SAUREGION_PRESENT 0U /* SAU regions present */
#define __MPU_PRESENT 1U /* MPU present */
#define __VTOR_PRESENT 1U /* VTOR present */
#define __NVIC_PRIO_BITS 4U /* Number of Bits used for Priority Levels */
Expand Down

0 comments on commit f131715

Please sign in to comment.