mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/{x,z}timer: add Kconfig configuration files
This commit is contained in:
parent
61a10db288
commit
ee3e3578d4
4
.murdock
4
.murdock
@ -8,6 +8,7 @@
|
||||
: ${TEST_BOARDS_LLVM_COMPILE:=""}
|
||||
|
||||
: ${TEST_KCONFIG_samr21_xpro:="examples/hello-world tests/periph_*
|
||||
tests/xtimer_* tests/ztimer_*
|
||||
tests/driver_ad7746 tests/driver_adcxx1c tests/driver_ads101x tests/driver_adt101x
|
||||
tests/driver_adt7310 tests/driver_adxl345 tests/driver_aip31068 tests/driver_apa102
|
||||
tests/driver_apds99xx tests/driver_apds99xx_full tests/driver_at tests/driver_at24cxxx
|
||||
@ -22,7 +23,8 @@ tests/driver_motor_driver tests/driver_mpl3115a2 tests/driver_mpu9x50
|
||||
tests/driver_mq3 tests/driver_my9221 tests/driver_nvram_spi tests/mtd_flashpage
|
||||
tests/mtd_mapper tests/driver_o* tests/driver_p* tests/driver_q*
|
||||
tests/driver_r*"}
|
||||
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*"}
|
||||
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*
|
||||
tests/xtimer_* tests/ztimer_*"}
|
||||
|
||||
export RIOT_CI_BUILD=1
|
||||
export CC_NOCOLOR=1
|
||||
|
3
tests/xtimer_drift/app.config.test
Normal file
3
tests/xtimer_drift/app.config.test
Normal file
@ -0,0 +1,3 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
6
tests/xtimer_hang/app.config.test
Normal file
6
tests/xtimer_hang/app.config.test
Normal file
@ -0,0 +1,6 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
CONFIG_MODULE_CORE_MSG=n
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
3
tests/xtimer_longterm/app.config.test
Normal file
3
tests/xtimer_longterm/app.config.test
Normal file
@ -0,0 +1,3 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
5
tests/xtimer_msg/app.config.test
Normal file
5
tests/xtimer_msg/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_msg_receive_timeout/app.config.test
Normal file
5
tests/xtimer_msg_receive_timeout/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
10
tests/xtimer_mutex_lock_timeout/app.config.test
Normal file
10
tests/xtimer_mutex_lock_timeout/app.config.test
Normal file
@ -0,0 +1,10 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
CONFIG_MODULE_SHELL=y
|
||||
|
||||
# for testing
|
||||
# CONFIG_MODULE_PS=y
|
||||
# CONFIG_MODULE_SHELL_COMMANDS=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
6
tests/xtimer_now32_overflow/app.config.test
Normal file
6
tests/xtimer_now32_overflow/app.config.test
Normal file
@ -0,0 +1,6 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
CONFIG_MODULE_AUTO_INIT_XTIMER=n
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
6
tests/xtimer_now64_continuity/app.config.test
Normal file
6
tests/xtimer_now64_continuity/app.config.test
Normal file
@ -0,0 +1,6 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
CONFIG_MODULE_FMT=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_now_irq/app.config.test
Normal file
5
tests/xtimer_now_irq/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_overhead/app.config.test
Normal file
5
tests/xtimer_overhead/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_periodic_wakeup/app.config.test
Normal file
5
tests/xtimer_periodic_wakeup/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_remove/app.config.test
Normal file
5
tests/xtimer_remove/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_reset/app.config.test
Normal file
5
tests/xtimer_reset/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
6
tests/xtimer_rmutex_lock_timeout/app.config.test
Normal file
6
tests/xtimer_rmutex_lock_timeout/app.config.test
Normal file
@ -0,0 +1,6 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
CONFIG_MODULE_SHELL=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_usleep/app.config.test
Normal file
5
tests/xtimer_usleep/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
5
tests/xtimer_usleep_short/app.config.test
Normal file
5
tests/xtimer_usleep_short/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_XTIMER=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
7
tests/ztimer_msg/app.config.test
Normal file
7
tests/ztimer_msg/app.config.test
Normal file
@ -0,0 +1,7 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_ZTIMER=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_TIMER=y
|
||||
CONFIG_MODULE_ZTIMER_USEC=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
7
tests/ztimer_mutex_lock_timeout/app.config.test
Normal file
7
tests/ztimer_mutex_lock_timeout/app.config.test
Normal file
@ -0,0 +1,7 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_ZTIMER=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_TIMER=y
|
||||
CONFIG_MODULE_ZTIMER_USEC=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
8
tests/ztimer_overhead/app.config.test
Normal file
8
tests/ztimer_overhead/app.config.test
Normal file
@ -0,0 +1,8 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_ZTIMER=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_TIMER=y
|
||||
CONFIG_MODULE_ZTIMER_USEC=y
|
||||
CONFIG_MODULE_ZTIMER_OVERHEAD=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
10
tests/ztimer_periodic/app.config.test
Normal file
10
tests/ztimer_periodic/app.config.test
Normal file
@ -0,0 +1,10 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_ZTIMER=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_TIMER=y
|
||||
CONFIG_MODULE_ZTIMER_USEC=y
|
||||
CONFIG_MODULE_ZTIMER_MSEC=y
|
||||
|
||||
CONFIG_MODULE_FMT=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
@ -7,6 +7,10 @@ USEMODULE += ztimer_usec
|
||||
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
|
||||
USEMODULE += ztimer_msec
|
||||
USEMODULE += ztimer_periph_rtt
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
|
||||
endif
|
||||
endif
|
||||
|
||||
CFLAGS += -DTEST_ZTIMER_CLOCK=$(TEST_ZTIMER_CLOCK)
|
||||
|
4
tests/ztimer_underflow/app.config.msec.test
Normal file
4
tests/ztimer_underflow/app.config.msec.test
Normal file
@ -0,0 +1,4 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_ZTIMER_MSEC=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_RTT=y
|
7
tests/ztimer_underflow/app.config.test
Normal file
7
tests/ztimer_underflow/app.config.test
Normal file
@ -0,0 +1,7 @@
|
||||
# this file enables modules defined in Kconfig. Do not use this file for
|
||||
# application configuration. This is only needed during migration.
|
||||
CONFIG_MODULE_ZTIMER=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_TIMER=y
|
||||
CONFIG_MODULE_ZTIMER_USEC=y
|
||||
|
||||
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
Loading…
Reference in New Issue
Block a user