Skip to content

Commit 3e60b75

Browse files
gautierg-sterwango
authored andcommitted
stm32cube: stm32n6: Add fsbl fix
To use FSBL mode, add the following fix: -Remove CMSE_NS_ENTRY modifier, which requires enabling CONFIG_ARM_FIRMWARE_HAS_SECURE_ENTRY_FUNCS Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 987cf6c commit 3e60b75

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

stm32cube/stm32n6xx/README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,10 @@ Patch List:
4747
Impacted files:
4848
drivers/include/Legacy/stm32_hal_legacy.h
4949

50+
*Fix FSBL configuration
51+
-Remove CMSE_NS_ENTRY modifier, which requires enabling CONFIG_ARM_FIRMWARE_HAS_SECURE_ENTRY_FUNCS
52+
which we don't need right now.
53+
Impacted files:
54+
-soc/system_stm32n6xx_fsbl.c
55+
5056
See release_note.html from STM32Cube

stm32cube/stm32n6xx/soc/system_stm32n6xx_fsbl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ void SystemCoreClockUpdate(void)
482482
* other parameters.
483483
* @retval SystemCoreClock value
484484
*/
485-
CMSE_NS_ENTRY uint32_t SECURE_SystemCoreClockUpdate(void)
485+
uint32_t SECURE_SystemCoreClockUpdate(void)
486486
{
487487
SystemCoreClockUpdate();
488488

0 commit comments

Comments
 (0)