Swatantra-66 opened a new pull request, #21370:
URL: https://github.com/apache/nuttx/pull/21370

   ## Summary
   The `nucleo-l432kc:wgen` configuration builds both DAC waveform generator 
drivers and `testing/ostest`, operating near the 256 KiB flash capacity. 
Expanding `ostest` with unit tests (e.g. `pthread_sigqueue` in 
apache/nuttx-apps#3931) causes this configuration to overflow flash by 408 
bytes during CI (`Linux (arm-stm32l-u-g)`).
   
   Following the pattern used in #21219 (commit cb6d98746b) for the STM32G4 
boards, this patch frees flash headroom by:
   - Disabling unused C++ runtime support (`CONFIG_HAVE_CXX`, 
`CONFIG_HAVE_CXXINITIALIZE`)
   - Disabling unused NSH commands (`basename`, `cmp`, `df`, `dirname`, 
`hexdump`, `losetup`, `mkdir`, `mkrd`, `mount`, `rmdir`, `time`, `umount`, 
`wget`, `xd`)
   
   This frees over 5 KiB of flash space, leaving comfortable headroom for 
future tests.
   
   ## Impact
   - **Is new feature added?** No
   - **Impact on user:** None. C++ and the disabled NSH commands are not 
utilized by the waveform generator or ostest demo.
   - **Impact on build:** Resolves `arm-none-eabi-ld: region 'flash' overflowed 
by 408 bytes` on `nucleo-l432kc:wgen` and restores green CI for `Linux 
(arm-stm32l-u-g)`.
   
   ## Testing
   - Verified defconfig sorting and minimal diff against upstream master.


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