yangsong8-a1 opened a new pull request, #21808:
URL: https://github.com/apache/nuttx/pull/21808
## Summary
stm32f334-disco:buckboost no longer fits the 64 KiB flash on master. The
CI job `Linux (arm-stm32f0-f3)` fails for every PR with
`region 'flash' overflowed`. The board started to overflow with f231a24ae3a
("mm: replace mm_heap_config_s.heap with an allocheap flag"):
mm_initialize_heap() now calls lib_memalign(), which links mm_memalign()
and memalign() into this build.
Disable the NSH `uptime` command in this configuration. The buck-boost
example does not need it.
## Impact
stm32f334-disco:buckboost only. `uptime` is no longer available in NSH on
this configuration. Other configurations of the board are unchanged.
## Testing
Ubuntu 22.04, Arm GNU Toolchain 13.2.Rel1 (the version in the CI docker
image), same CMake flow as tools/testbuild.sh for
`stm32f334-disco:buckboost,CONFIG_ARM_TOOLCHAIN_CLANG`, nuttx 5d79bf455de
and nuttx-apps 81eff9fc8:
| | flash (64 KiB) | sram (12 KiB) | Result |
|---|---|---|---|
| master | 66176 B (100.98%) | 5024 B | `region 'flash' overflowed by 640
bytes` |
| This PR | 64276 B (98.08%) | 4976 B | links, 1260 B free |
| Difference | -1900 B | -48 B | |
The local build is 16 B larger than CI for this board in every version
(CI reports an overflow of 360 B where the local build reports 376 B on
the same commit), so the CI margin should be slightly larger.
--
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]