add .data and .bss segments to picosoc

added .data and .bss segments to picosoc firmware linker script so that static variables may be used.
This commit is contained in:
Luke Valenty 2018-04-07 18:42:59 -07:00 committed by GitHub
parent f52f36762e
commit a0d5f8efd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
SECTIONS {
.memory : {
sram = 0;
*(.data);
*(.bss);
. = 0x100000;
start*(.text);
*(.text);