jerpelea opened a new pull request, #19302: URL: https://github.com/apache/nuttx/pull/19302
## Summary Here is one proposal, how we could save a bit of flash on small systems. First commit (not too significant one) doesn't change functionality, just cleans up a tiny amount of flash (64 bytes on 32-bit arm) by removing a duplicate string and an extra function call. The duplicate string was not cleaned up by linker because the string was only almost the same, the other one had one extra space. The second one adds two new CONFIG flags giving more granularity to configure what to dump at crash: CONFIG_SCHED_DUMP_STACK : Output stack dump at crash, consumes ~1kB flash ( If disabled, it still dumps the current stack, irq stack and kernel stack base and size ) CONFIG_SCHED_DUMP_TASKS : Output tasks dump at crash, consumes ~0.5kB flash By removing these two, 1.6kB can be saved in flash size. Both flags are defined !CONFIG_DEFAULT_SMALL, so with normal configurations the functionality is unchanged. ## Impact RELEASE ## Testing CI -- 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]
