Unlike CONFIG_HW_STACK_PROTECTION, which greatly helps expose stack overflows in test code, activating userspace without putting threads in user mode is of very limited value. Now CONFIG_TEST_USERSPACE is off by default. Any test which puts threads in user mode will need to set CONFIG_TEST_USERSPACE. This should greatly increase sanitycheck build times as there is non-trivial build time overhead to enabling this feature. This also allows some tests which failed the build on RAM-constrained platforms to compile properly. tests/drivers/build_all is a special case; it doesn't put threads in user mode, but we want to ensure all the syscall handlers compile properly. Fixes: #15103 (and probably others) Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
70 lines
1.5 KiB
Plaintext
70 lines
1.5 KiB
Plaintext
CONFIG_TEST=y
|
|
#CONFIG_INIT_STACKS=y
|
|
CONFIG_MAIN_STACK_SIZE=448
|
|
CONFIG_ISR_STACK_SIZE=1024
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
CONFIG_SHELL_STACK_SIZE=1728
|
|
|
|
CONFIG_CONSOLE_HANDLER=y
|
|
CONFIG_SHELL=y
|
|
CONFIG_SHELL_CMD_BUFF_SIZE=128
|
|
|
|
CONFIG_BT_SETTINGS=y
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_FCB=y
|
|
CONFIG_SETTINGS=y
|
|
CONFIG_SETTINGS_FCB=y
|
|
|
|
CONFIG_BT=y
|
|
CONFIG_BT_OBSERVER=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_TINYCRYPT_ECC=y
|
|
CONFIG_BT_DEVICE_NAME="Zephyr Mesh"
|
|
CONFIG_BT_GATT_CACHING=n
|
|
|
|
CONFIG_BT_CTLR_DUP_FILTER_LEN=0
|
|
CONFIG_BT_CTLR_LE_ENC=n
|
|
CONFIG_BT_CTLR_LE_PING=n
|
|
CONFIG_BT_DATA_LEN_UPDATE=n
|
|
CONFIG_BT_PHY_UPDATE=n
|
|
CONFIG_BT_CTLR_CHAN_SEL_2=n
|
|
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