aboutsummaryrefslogtreecommitdiffstats
path: root/gcc_nrf52.ld
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-09-18 19:22:59 +0300
committerGitHub <noreply@github.com>2021-09-18 19:22:59 +0300
commite468acc99e4d7e188dc902983640f5eb8e8ff31f (patch)
tree8c0c402ff93d4c13fbd1043457fbbb238af0f000 /gcc_nrf52.ld
parent8f0771183c3872343100a2e974f37c91237da277 (diff)
parent5855906e49ce8bc4042e93817c6aba3a70fab089 (diff)
Merge branch 'develop' into update_touch_driver
Diffstat (limited to 'gcc_nrf52.ld')
-rw-r--r--gcc_nrf52.ld11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc_nrf52.ld b/gcc_nrf52.ld
index 98e133aa..f9bc5b68 100644
--- a/gcc_nrf52.ld
+++ b/gcc_nrf52.ld
@@ -6,12 +6,18 @@ GROUP(-lgcc -lc -lnosys)
MEMORY
{
FLASH (rx) : ORIGIN = 0x00000, 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
{
@@ -44,6 +50,7 @@ SECTIONS
PROVIDE(__stop_log_filter_data = .);
} > RAM
+
} INSERT AFTER .data;
SECTIONS