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>
48 lines
1.0 KiB
Plaintext
48 lines
1.0 KiB
Plaintext
CONFIG_TEST=y
|
|
#CONFIG_INIT_STACKS=y
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
|
|
CONFIG_BT=y
|
|
CONFIG_BT_DEBUG_LOG=y
|
|
CONFIG_BT_CENTRAL=y
|
|
CONFIG_BT_PERIPHERAL=y
|
|
CONFIG_BT_PRIVACY=y
|
|
CONFIG_BT_SMP=y
|
|
CONFIG_BT_SIGNING=y
|
|
CONFIG_BT_ATT_PREPARE_COUNT=2
|
|
CONFIG_BT_GATT_CLIENT=y
|
|
CONFIG_BT_L2CAP_DYNAMIC_CHANNEL=y
|
|
CONFIG_BT_TINYCRYPT_ECC=y
|
|
CONFIG_SHELL=y
|
|
CONFIG_BT_SHELL=y
|
|
CONFIG_BT_DEVICE_NAME="test shell"
|
|
CONFIG_BT_L2CAP_TX_BUF_COUNT=6
|
|
|
|
CONFIG_BT_RX_BUF_COUNT=30
|
|
CONFIG_BT_L2CAP_RX_MTU=69
|
|
CONFIG_BT_L2CAP_TX_MTU=69
|
|
|
|
CONFIG_BT_MESH=y
|
|
CONFIG_BT_MESH_SHELL=y
|
|
CONFIG_BT_MESH_RELAY=y
|
|
CONFIG_BT_MESH_LOW_POWER=y
|
|
CONFIG_BT_MESH_LPN_AUTO=n
|
|
CONFIG_BT_MESH_FRIEND=y
|
|
CONFIG_BT_MESH_FRIEND_QUEUE_SIZE=16
|
|
CONFIG_BT_MESH_ADV_BUF_COUNT=9
|
|
CONFIG_BT_MESH_CFG_CLI=y
|
|
CONFIG_BT_MESH_TX_SEG_MSG_COUNT=2
|
|
CONFIG_BT_MESH_RX_SEG_MSG_COUNT=2
|
|
|
|
CONFIG_BT_MESH_PB_GATT=y
|
|
CONFIG_BT_MESH_PB_ADV=y
|
|
CONFIG_BT_MESH_GATT_PROXY=y
|
|
|
|
CONFIG_BT_MESH_SUBNET_COUNT=2
|
|
CONFIG_BT_MESH_APP_KEY_COUNT=2
|
|
CONFIG_BT_MESH_MODEL_KEY_COUNT=2
|
|
CONFIG_BT_MESH_MODEL_GROUP_COUNT=2
|
|
|
|
CONFIG_BT_MESH_IV_UPDATE_TEST=y
|
|
CONFIG_BT_MESH_DEBUG=y
|