From a0d5f8efd71e55fc7ebe272e2a3d62eace2f5e5d Mon Sep 17 00:00:00 2001 From: Luke Valenty Date: Sat, 7 Apr 2018 18:42:59 -0700 Subject: [PATCH] add .data and .bss segments to picosoc added .data and .bss segments to picosoc firmware linker script so that static variables may be used. --- picosoc/sections.lds | 2 ++ 1 file changed, 2 insertions(+) diff --git a/picosoc/sections.lds b/picosoc/sections.lds index 6c59cb8..3e38ca9 100644 --- a/picosoc/sections.lds +++ b/picosoc/sections.lds @@ -1,6 +1,8 @@ SECTIONS { .memory : { sram = 0; + *(.data); + *(.bss); . = 0x100000; start*(.text); *(.text);