File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
drivers/ra/fsp/inc/instances Expand file tree Collapse file tree 1 file changed +3
-3
lines changed 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