You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My recent project is filling up the flash and I got this error message, which made the compilation fail
= note: rust-lld: error: section '.bss' will not fit in region 'FLASH': overflowed by 1284 bytes
That got me wondering, usually the .bss section is initialized with zeroes so there is no need to put it into flash. Here is the offending entry in the generated link.x from qingke-rt:
My recent project is filling up the flash and I got this error message, which made the compilation fail
That got me wondering, usually the .bss section is initialized with zeroes so there is no need to put it into flash. Here is the offending entry in the generated
link.x
fromqingke-rt
:Instead, I'd expect something more along the lines of this (generated by
cortex-m-rt
:Depending on the size of .bss, the binary size could be reduced significantly by switching to a similar linker script.
Is there a reasoning behind the decision to load .bss from flash or was a proper zeroing routine simply not yet implemented?
The text was updated successfully, but these errors were encountered: