Skip to content

Commit 3142d3c

Browse files
committed
pbio/platform/ev3/platform.ld: Ensure .bss is NOLOAD
Otherwise the recent addition of the .dma section defaults to PROGBITS and causes the entire .bss section to be filled with 0s *on disk*, thus bloating the firmware.elf file.
1 parent 1b6d89e commit 3142d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/platform/ev3/platform.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ SECTIONS
6060
*(.data.*)
6161
} > DDR
6262

63-
.bss :
63+
.bss (NOLOAD) :
6464
{
6565
. = ALIGN(4);
6666
_bss_start = .;

0 commit comments

Comments
 (0)