1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/sys/shell_lock: add Kconfig config

This commit is contained in:
Alexandre Abadie 2023-05-20 18:34:27 +02:00
parent 5851db7c03
commit 6fa0279008
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 8 additions and 0 deletions

View File

@ -7,8 +7,10 @@ USEMODULE += shell_cmds_default
USEMODULE += shell_lock
USEMODULE += shell_lock_auto_locking
ifneq (1,$(TEST_KCONFIG))
CFLAGS += -DCONFIG_SHELL_LOCK_PASSWORD=\"password\"
CFLAGS += -DCONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS=7000
endif
# This config defaults to 1 on native, such that pm_off() would be called as soon as
# shell_run_once is terminated in shell_run_forever. We do not want this behavior for this test.

View File

@ -0,0 +1,6 @@
CONFIG_MODULE_SHELL=y
CONFIG_MODULE_SHELL_CMDS_DEFAULT=y
CONFIG_MODULE_SHELL_LOCK=y
CONFIG_MODULE_SHELL_LOCK_AUTO_LOCKING=y
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC_SHELL=n
CONFIG_SHELL_SHUTDOWN_ON_EXIT=n