aboutsummaryrefslogtreecommitdiffstats
path: root/gcc_nrf52-mcuboot.ld
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-09-18 17:37:48 +0200
committerJean-François Milants <jf@codingfield.com>2021-09-18 17:37:48 +0200
commit5855906e49ce8bc4042e93817c6aba3a70fab089 (patch)
treed37d9c33b6233972596218cd4dc080d0d10a06c3 /gcc_nrf52-mcuboot.ld
parent7af7db74cde6e8ab23e2e261049cf14396e1e682 (diff)
parentf556003de39f88323434644ccf910f9863d854b9 (diff)
Merge branch 'geekbozu-PersistantStorage' into develop
Diffstat (limited to 'gcc_nrf52-mcuboot.ld')
-rw-r--r--gcc_nrf52-mcuboot.ld10
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
{