daniel-p-carvalho opened a new pull request, #20577: URL: https://github.com/apache/nuttx/pull/20577
## Summary The `nucleo-g431rb:cansock` and `b-g431b-esc1:cansock` configurations fill their 128 KB flash to near capacity (99.75% to 100.02%), causing CI build failures due to flash overflow: ``` arm-none-eabi-ld: nuttx section '.data' will not fit in region 'flash' arm-none-eabi-ld: region 'flash' overflowed by 28 bytes ``` Following the precedent in commit 2c9f91526a for g431 nsh configurations, enable `CONFIG_LTO_FULL=y` in both cansock defconfigs. ## Impact - `nucleo-g431rb:cansock`: Flash usage reduced from 100.02% (131100 B) to 92.30% (120980 B), gaining ~10 KB of headroom. - `b-g431b-esc1:cansock`: Flash usage reduced from 99.75% (130744 B) to 92.32% (121004 B). - No apps, features, or configurations are removed or disabled. ## Testing Build verified locally with `arm-none-eabi-gcc`: - `nucleo-g431rb:cansock`: builds cleanly, flash 92.30%. - `b-g431b-esc1:cansock`: builds cleanly, flash 92.32%. - Passed `./tools/checkpatch.sh -g HEAD`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
