diff --git a/firmware/l0dable/ram.ld b/firmware/l0dable/ram.ld index bc62075..87e4f7a 100644 --- a/firmware/l0dable/ram.ld +++ b/firmware/l0dable/ram.ld @@ -30,19 +30,12 @@ SECTIONS *(vtable) *(.data*) _edata = .; - } > sram - - /* zero initialized data */ - .bss : - { - _bss = .; + /* force zero initialized data to be present*/ *(.bss*) *(COMMON) _ebss = .; } > sram - + end = .; - /* For GDB compatibility we decrease the top with 16 bytes */ - stack_entry = sram_top - 16; }