From 930a61d67517cdbfa51c9b7bdb3ec5ed8796e346 Mon Sep 17 00:00:00 2001 From: stephenhensley Date: Mon, 14 Dec 2020 16:31:18 -0800 Subject: [PATCH] added missing ram section to linker --- variants/DAISY_SEED/ldscript.ld | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/variants/DAISY_SEED/ldscript.ld b/variants/DAISY_SEED/ldscript.ld index 686d104015..7e6879cd3f 100644 --- a/variants/DAISY_SEED/ldscript.ld +++ b/variants/DAISY_SEED/ldscript.ld @@ -187,6 +187,18 @@ SECTIONS __bss_end__ = _ebss; } >RAM_D1 + .sram1_bss (NOLOAD) : + { + . = ALIGN(4); + _ssram1_bss = .; + PROVIDE(__sram1_bss_start = _ssram1_bss); + *(.sram1_bss) + *(.sram1_bss*) + . = ALIGN(4); + _esram1_bss = .; + PROVIDE(__sram1_bss_end = _esram1_bss); + } >RAM_D2 + /* User_heap_stack section, used to check that there is enough "RAM_D1" Ram type memory left */ ._user_heap_stack : {