File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ Patch List:
5151 Impacted files:
5252 drivers/ra/fsp/src/r_flash_hp/r_flash_hp.c
5353
54+ * Change the section to place code in ram from `.code_in_ram` to `.ramfunc`
55+ Impacted files:
56+ drivers/ra/fsp/inc/instances/r_flash_hp.h
57+
5458 * Allows custom implementation of option setting memory
5559 Impacted files:
5660 drivers/ra/fsp/src/bsp/mcu/all/bsp_rom_registers.c
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ FSP_HEADER
3131/* If Code Flash programming is enabled, then all API functions must execute out of RAM. */
3232#if (FLASH_HP_CFG_CODE_FLASH_PROGRAMMING_ENABLE == 1 )
3333 #if defined(__ICCARM__ )
34- #pragma section=".code_in_ram "
34+ #pragma section=".ramfunc "
3535 #endif
3636 #if defined(__ARMCC_VERSION ) || defined(__GNUC__ )
37- #define PLACE_IN_RAM_SECTION __attribute__((noinline)) BSP_PLACE_IN_SECTION(".code_in_ram ")
37+ #define PLACE_IN_RAM_SECTION __attribute__((noinline)) BSP_PLACE_IN_SECTION(".ramfunc ")
3838 #else
39- #define PLACE_IN_RAM_SECTION BSP_PLACE_IN_SECTION(".code_in_ram ")
39+ #define PLACE_IN_RAM_SECTION BSP_PLACE_IN_SECTION(".ramfunc ")
4040 #endif
4141#else
4242 #define PLACE_IN_RAM_SECTION
You can’t perform that action at this time.
0 commit comments