casaroli opened a new pull request, #21975:
URL: https://github.com/apache/nuttx/pull/21975

   ## Summary
   
   On master aebcf867110, `nucleo-l432kc:wgen` does not link: ``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 (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 commands `cp`, `mv`, `rm` and `truncate`, as the earlier 
fit of this configuration (#21370) did for other unused commands. Then 5784 
bytes of flash are free.
   
   ## Impact
   
   `nucleo-l432kc:wgen` only. No code change. NSH in this configuration has no 
`cp`, `mv`, `rm` and `truncate` commands.
   
   ## Testing
   
   Make build of `nucleo-l432kc:wgen` on master aebcf867110 with nuttx-apps 
master 0527829cc, Arm GNU Toolchain 13.2.Rel1 (the CI version):
   
   | Tree | Result | Flash used (text + data) of 262144 |
   |---|---|---|
   | master aebcf867110 | ``region `flash' overflowed by 556 bytes`` | 262700 |
   | this PR | links | 256360 (5784 free) |
   
   CI 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 savedefconfig` gives the committed `defconfig` (apart from the host 
line `CONFIG_HOST_MACOS=y`). `tools/checkpatch.sh -c -u -m -g` passes.
   


-- 
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]

Reply via email to