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:
51
51
Impacted files:
52
52
drivers/ra/fsp/src/r_flash_hp/r_flash_hp.c
53
53
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
+
54
58
* Allows custom implementation of option setting memory
55
59
Impacted files:
56
60
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
31
31
/* If Code Flash programming is enabled, then all API functions must execute out of RAM. */
32
32
#if (FLASH_HP_CFG_CODE_FLASH_PROGRAMMING_ENABLE == 1 )
33
33
#if defined(__ICCARM__ )
34
- #pragma section=".code_in_ram "
34
+ #pragma section=".ramfunc "
35
35
#endif
36
36
#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 ")
38
38
#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 ")
40
40
#endif
41
41
#else
42
42
#define PLACE_IN_RAM_SECTION
You can’t perform that action at this time.
0 commit comments