The default shell configuration has heavy flash and memory requirements, requiring project maintainers to set many configuration options to "n" to keep flash and memory requirements within reason. This adds a new configuration option, CONFIG_SHELL_MINIMAL, which will disable flash and memory heavy options by default, and allow project maintainers to select/imply only the options they want. On a quick test from an ARM board I'm working on, enabling this option cut flash space requirements by ~8 KB, and memory requirements by ~1 KB. Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
22 lines
418 B
Plaintext
22 lines
418 B
Plaintext
CONFIG_ZTEST=y
|
|
CONFIG_TEST_LOGGING_DEFAULTS=n
|
|
|
|
CONFIG_SHELL=y
|
|
CONFIG_SHELL_MINIMAL=y
|
|
CONFIG_SHELL_BACKEND_DUMMY=y
|
|
CONFIG_SHELL_BACKEND_SERIAL=n
|
|
CONFIG_THREAD_NAME=y
|
|
CONFIG_SHELL_STACK_SIZE=2048
|
|
|
|
#using CBPRINTF_NANO decreases signigicantly Flash usage.
|
|
CONFIG_CBPRINTF_NANO=y
|
|
|
|
CONFIG_LOG=n
|
|
#Shell features:
|
|
CONFIG_SHELL_HELP=y
|
|
|
|
CONFIG_OBJECT_TRACING=n
|
|
CONFIG_THREAD_MONITOR=n
|
|
CONFIG_INIT_STACKS=y
|
|
CONFIG_BOOT_BANNER=n
|