Skip to content

Commit 124e15f

Browse files
author
Bernhard Schuster
committed
NRF52: attempt to complete 86ce955 for ARMCC and IAR
1 parent 86ce955 commit 124e15f

File tree

2 files changed

+6
-2
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52832/device

2 files changed

+6
-2
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52832/device/TOOLCHAIN_ARM_STD/nRF52832.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ LR_IROM1 MBED_APP_START MBED_APP_SIZE {
3535
.ANY (+RO)
3636
}
3737
RW_IRAM0 MBED_RAM0_START UNINIT MBED_RAM0_SIZE { ;no init section
38-
*(*noinit)
38+
*(*nvictable)
3939
}
4040
RW_IRAM1 MBED_RAM1_START MBED_RAM1_SIZE {
4141
.ANY (+RW +ZI)

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/TARGET_MCU_NRF52832/device/TOOLCHAIN_IAR/nRF52832.icf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,12 @@ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
5454
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
5555

5656
initialize by copy { readwrite };
57+
do not initialize { section .nvictable };
58+
place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .nvictable };
59+
5760
do not initialize { section .noinit };
58-
place at address mem:__ICFEDIT_region_RAM_NVIC_start__ { section .noinit };
61+
place in RAM_region { section .noinit };
62+
5963

6064
keep { section .intvec };
6165
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };

0 commit comments

Comments
 (0)