Kaben123 opened a new pull request, #21926: URL: https://github.com/apache/nuttx/pull/21926
## Summary Add `CONFIG_DRIVERS_NOTERAM_TEXT_DUMP` (default `y`). When disabled, the noteram driver only supports the binary read mode (`NOTERAM_MODE_READ_BINARY`), and the text formatting code (`noteram_dump_init_context()`, `noteram_dump_one()` and helpers) is compiled out unless `CONFIG_DRIVERS_NOTERAM_CRASH_DUMP` still needs it. This saves code size on targets that only pull binary traces (e.g. with `trace dump` on a host). The option is documented in `Documentation/debugging/tasktraceuser.rst`. ## Impact Default `y` keeps the current behavior. No change to existing configurations. ## Testing Host: Ubuntu 22.04 x86_64, GCC 13.1.0. Base: apache/nuttx master 5c1746778e8, apache/nuttx-apps master 7f4e5382d. Built (CMake) without new warnings: - `sim:nsh` (noteram disabled) - `sim:nsh` + noteram, `TEXT_DUMP=n`, `CRASH_DUMP=n` - `sim:smp` + noteram, `TEXT_DUMP=n`, `CRASH_DUMP=y` Both modified configurations boot to the NSH prompt. `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]
