Adapting SBSFU
7.3
How to activate interruption management inside the firewall
isolated
environment
Interruption management inside the firewall isolated environment can be activated when low
latency on interruption handling is required. Examples are provided in the 2_Images_OSC
variant for 32L496GDISCOVERY and B-L475E-IOT01A boards.
Figure 33
1.
Add IT_MANAGEMENT as preprocessor directive in SECoreBin and SBSFU IDE
configuration
2.
Select se_stack_smuggler_it_mngt_IAR.c instead of se_stack_smuggler_IAR.c in
SECoreBin IDE configuration
3.
Modify startup_xxx.s file to branch required interrupt handler on SE_Handler
4.
Add se_interface_exception_IAR.s in SBSFU IDE configuration
5.
Modify the SBSFU linker option to keep SE_UserHandlerWrapper symbols
6.
Modify SBSFU xxx_flash.icf linker file to place SE_IF_Code_Entry symbol
(SE_UserHandlerWrapper) at the beginning of SE_IF_ROM_region.
7.
Specific FreeRTOS: Modify mapping_sbsfu.icf by adding 0x10 to force
__ICFEDIT_SE_IF_region_ROM_start__ bit[4] to 1. This is required for PendSV
handler (FPU register save/restore mechanism).
38/49
shows the different steps required to activate this option:
Figure 33. IDE adaptations
AN5056 Rev 8
AN5056
Need help?
Do you have a question about the X-CUBE-SBSFU STM32Cube and is the answer not in the manual?