1
0
Fork 0
mirror of https://github.com/YosysHQ/picorv32.git synced 2025-01-03 03:43:38 -05:00

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

View file

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