We had this discussion when I was recently adding new board, ended up disabling debug features on all default configurations.. but it still may be part of the JUMBO configuration? :-)
-- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info On Wed, May 6, 2026 at 1:27 PM Alan C. Assis <[email protected]> wrote: > > Hi Everyone, > > Recently we faced an issue that was breaking the CI: the > weact-stm32h750:nsh was exhausting its Flash memory. And it is very strange > since this STM32H750 chip has 128KB Flash. > > My first thought was that some very heavy feature was enabled to nsh (by > default nsh is supposed to be bare minimum). Then after analysing the > .config I noticed that CONFIG_DEBUG_SYMBOLS=y was enabled. > > After disabling it, the Flash usage dropped to 55%. I didn't investigate > yet what caused the memory use increase in the last few days. > > I think we should accept Michael's offer to use his membrowser to see these > usage increases before the issue triggers the limit. I asked if he could > release it as a dual license (GPLv3 and Apache) to avoid the concerns > raised on this PR, but didn't receive a response yet. > > In the past Greg never allowed DEBUG symbols and features to be enabled by > default. I think we should keep this same rule because sooner or later > other boards will fail in the same way. > > BR, > > Alan
