Skip to content

Commit f131715

Browse files
ABESTMerwango
authored andcommitted
stm32cube: soc: Set __SAUREGION_PRESENT to 0 for STM32H503
This is a mistake in CMSIS header file, since SAU is not present on STM32H503 devices Signed-off-by: Adam Berlinger <[email protected]>
1 parent 2d9f676 commit f131715

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

stm32cube/stm32h5xx/README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,9 @@ Patch List:
6767
Impacted files:
6868
drivers/include/Legacy/stm32_hal_legacy.h
6969

70+
*Fix to set __SAUREGION_PRESENT to 0 for STM32H503 devices
71+
Impacted files:
72+
stm32cube/stm32h5xx/soc/stm32h503xx.h
73+
ST internal bug: 177135
74+
7075
See release_note.html from STM32Cube

stm32cube/stm32h5xx/soc/stm32h503xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ typedef enum
175175

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

0 commit comments

Comments
 (0)