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:
parent
5851db7c03
commit
6fa0279008
@ -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.
|
||||
|
6
tests/sys/shell_lock/app.config.test
Normal file
6
tests/sys/shell_lock/app.config.test
Normal 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
|
Loading…
Reference in New Issue
Block a user