NRF52: attempt to complete 86ce955d96 for ARMCC and IAR

pull/7145/head
Bernhard Schuster 2018-06-06 15:24:58 +02:00
parent 86ce955d96
commit 124e15f196
2 changed files with 6 additions and 2 deletions

View File

@ -35,7 +35,7 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE {
.ANY (+RO)
}
RW_IRAM0 MBED_RAM0_START UNINIT MBED_RAM0_SIZE { ;no init section
*(*noinit)
*(*nvictable)
}
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE {
.ANY (+RW +ZI)

View File

@ -54,8 +54,12 @@ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
initialize by copy { readwrite };
do not initialize { section .nvictable };
place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .nvictable };
do not initialize { section .noinit };
place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .noinit };
place in RAM_region { section .noinit };
keep { section .intvec };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };