diff --git a/drivers/ra/README b/drivers/ra/README index 5f328a86..2b1fdfc7 100644 --- a/drivers/ra/README +++ b/drivers/ra/README @@ -51,6 +51,10 @@ Patch List: Impacted files: drivers/ra/fsp/src/r_flash_hp/r_flash_hp.c + * Change the section to place code in ram from `.code_in_ram` to `.ramfunc` + Impacted files: + drivers/ra/fsp/inc/instances/r_flash_hp.h + * Allows custom implementation of option setting memory Impacted files: drivers/ra/fsp/src/bsp/mcu/all/bsp_rom_registers.c diff --git a/drivers/ra/fsp/inc/instances/r_flash_hp.h b/drivers/ra/fsp/inc/instances/r_flash_hp.h index 7e551357..d608a23b 100644 --- a/drivers/ra/fsp/inc/instances/r_flash_hp.h +++ b/drivers/ra/fsp/inc/instances/r_flash_hp.h @@ -31,12 +31,12 @@ FSP_HEADER /* If Code Flash programming is enabled, then all API functions must execute out of RAM. */ #if (FLASH_HP_CFG_CODE_FLASH_PROGRAMMING_ENABLE == 1) #if defined(__ICCARM__) - #pragma section=".code_in_ram" + #pragma section=".ramfunc" #endif #if defined(__ARMCC_VERSION) || defined(__GNUC__) - #define PLACE_IN_RAM_SECTION __attribute__((noinline)) BSP_PLACE_IN_SECTION(".code_in_ram") + #define PLACE_IN_RAM_SECTION __attribute__((noinline)) BSP_PLACE_IN_SECTION(".ramfunc") #else - #define PLACE_IN_RAM_SECTION BSP_PLACE_IN_SECTION(".code_in_ram") + #define PLACE_IN_RAM_SECTION BSP_PLACE_IN_SECTION(".ramfunc") #endif #else #define PLACE_IN_RAM_SECTION