Repository navigation
boards/nucleo-l432kc: Disable four NSH file commands in wgen - #21975
Merged
Merged
Conversation
On master aebcf86, the link of nucleo-l432kc:wgen fails: region `flash' overflowed by 556 bytes (Arm GNU Toolchain 13.2.Rel1). The Linux (arm-stm32l-u-g) job of CI fails with an overflow of 212 to 348 bytes, also for PRs that do not change this configuration. This configuration starts the DAC waveform generator (dac_wgen_main). Disable the NSH commands cp, mv, rm and truncate, as the earlier fit of this configuration did for other unused commands. Then 5784 bytes of flash are free. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]>
|
This was referenced Nov 18, 2026
xiaoxiang781216
approved these changes
Nov 18, 2026
simbit18
approved these changes
Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On master aebcf86,
nucleo-l432kc:wgendoes not link:region `flash' overflowed by 556 bytes(Arm GNU Toolchain 13.2.Rel1). TheLinux (arm-stm32l-u-g)job of CI fails with an overflow of 212 to 348 bytes, also for PRs that do not change this configuration (for example #21942, x86_64 code only, overflows by 348 bytes).This configuration starts the DAC waveform generator (
dac_wgen_main). This PR disables the NSH commandscp,mv,rmandtruncate, as the earlier fit of this configuration (#21370) did for other unused commands. Then 5784 bytes of flash are free.Impact
nucleo-l432kc:wgenonly. No code change. NSH in this configuration has nocp,mv,rmandtruncatecommands.Testing
Make build of
nucleo-l432kc:wgenon master aebcf86 with nuttx-apps master 0527829cc, Arm GNU Toolchain 13.2.Rel1 (the CI version):region `flash' overflowed by 556 bytesCI also builds this configuration with clang (overflow of 212 to 348 bytes there too); the clang build was not run locally. The four commands give about 6.3 KiB with GCC.
make savedefconfiggives the committeddefconfig(apart from the host lineCONFIG_HOST_MACOS=y).tools/checkpatch.sh -c -u -m -gpasses.