diff options
author | Luke Valenty <luke@tinyfpga.com> | 2018-04-07 18:42:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 18:42:59 -0700 |
commit | a0d5f8efd71e55fc7ebe272e2a3d62eace2f5e5d (patch) | |
tree | 6b20554c99eb9d740aed68ac0e7a378ec8117f9a /picosoc | |
parent | f52f36762ec5e010bbe0b84779f9a0d6e8fe2011 (diff) | |
download | picorv32-a0d5f8efd71e55fc7ebe272e2a3d62eace2f5e5d.tar.gz picorv32-a0d5f8efd71e55fc7ebe272e2a3d62eace2f5e5d.zip |
add .data and .bss segments to picosoc
added .data and .bss segments to picosoc firmware linker script so that static variables may be used.
Diffstat (limited to 'picosoc')
-rw-r--r-- | picosoc/sections.lds | 2 |
1 files changed, 2 insertions, 0 deletions
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); |