diff options
Diffstat (limited to 'gcc_nrf52-mcuboot.ld')
-rw-r--r-- | gcc_nrf52-mcuboot.ld | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc_nrf52-mcuboot.ld b/gcc_nrf52-mcuboot.ld index 0746f491..81b318c5 100644 --- a/gcc_nrf52-mcuboot.ld +++ b/gcc_nrf52-mcuboot.ld @@ -6,12 +6,18 @@ GROUP(-lgcc -lc -lnosys) MEMORY { FLASH (rx) : ORIGIN = 0x08020, LENGTH = 0x78000 - RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x10000 + RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K } SECTIONS { -} + .noinit(NOLOAD): + { + PROVIDE(__start_noinit_data = .); + *(.noinit) + PROVIDE(__stop_noinit_data = .); + } > RAM +} INSERT AFTER .bss SECTIONS { |