diff options
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pServer_ota/EWARM/stm32wb55xx_flash_cm4_ota.icf')
-rw-r--r-- | Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pServer_ota/EWARM/stm32wb55xx_flash_cm4_ota.icf | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pServer_ota/EWARM/stm32wb55xx_flash_cm4_ota.icf b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pServer_ota/EWARM/stm32wb55xx_flash_cm4_ota.icf index 4ab0df190..1ff6694e9 100644 --- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pServer_ota/EWARM/stm32wb55xx_flash_cm4_ota.icf +++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_p2pServer_ota/EWARM/stm32wb55xx_flash_cm4_ota.icf @@ -21,6 +21,7 @@ define memory mem with size = 4G; define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__]; define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__]; define region RAM_SHARED_region = mem:[from __ICFEDIT_region_RAM_SHARED_start__ to __ICFEDIT_region_RAM_SHARED_end__]; +define region Total_RAM_region = RAM_region | RAM_SHARED_region ; define region OTA_TAG_region = mem:[from (__ICFEDIT_region_ROM_start__ + 0x140) to (__ICFEDIT_region_ROM_start__ + 0x140 + 4)]; define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; @@ -33,12 +34,13 @@ do not initialize { section .noinit, section MB_MEM1 }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; +place at address mem:__ICFEDIT_region_RAM_SHARED_start__ { section MAPPING_TABLE }; keep { section TAG_OTA_START}; keep { section TAG_OTA_END }; -place in OTA_TAG_region { section TAG_OTA_START }; -place in ROM_region { readonly, last section TAG_OTA_END }; -place in RAM_region { readwrite,block CSTACK, block HEAP }; -place in RAM_SHARED_region { first section MAPPING_TABLE}; +place in OTA_TAG_region { section TAG_OTA_START }; +place in ROM_region { readonly, last section TAG_OTA_END }; +place in RAM_region { block CSTACK, block HEAP }; place in RAM_SHARED_region { section MB_MEM1}; place in RAM_SHARED_region { section MB_MEM2}; +place in Total_RAM_region { readwrite }; |