mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #15984 from MrKevinWeiss/pr/posix_sleep/kconfig
sys/posix_sleep: Add Kconfig support
This commit is contained in:
commit
4172066ab3
3
.murdock
3
.murdock
@ -25,7 +25,8 @@ tests/mtd_mapper tests/driver_o* tests/driver_p* tests/driver_q*
|
||||
tests/driver_r* tests/driver_s* tests/driver_t* tests/driver_u*
|
||||
tests/driver_v*"}
|
||||
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_* tests/sys_crypto
|
||||
tests/prng_* tests/xtimer_* tests/ztimer_* tests/driver_ws281x"}
|
||||
tests/prng_* tests/xtimer_* tests/ztimer_* tests/driver_ws281x
|
||||
tests/posix_sleep"}
|
||||
|
||||
: ${TEST_WITH_CONFIG_SUPPORTED:="examples/suit_update tests/driver_at86rf2xx_aes"}
|
||||
|
||||
|
@ -27,6 +27,7 @@ rsource "net/Kconfig"
|
||||
rsource "Kconfig.newlib"
|
||||
rsource "Kconfig.stdio"
|
||||
rsource "od/Kconfig"
|
||||
rsource "posix/Kconfig"
|
||||
rsource "phydat/Kconfig"
|
||||
rsource "pm_layered/Kconfig"
|
||||
rsource "ps/Kconfig"
|
||||
|
16
sys/posix/Kconfig
Normal file
16
sys/posix/Kconfig
Normal file
@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
menu "Posix"
|
||||
depends on TEST_KCONFIG
|
||||
|
||||
config MODULE_POSIX_HEADERS
|
||||
bool
|
||||
|
||||
rsource "sleep/Kconfig"
|
||||
|
||||
endmenu # Posix
|
12
sys/posix/sleep/Kconfig
Normal file
12
sys/posix/sleep/Kconfig
Normal file
@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2021 HAW Hamburg
|
||||
#
|
||||
# This file is subject to the terms and conditions of the GNU Lesser
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
config MODULE_POSIX_SLEEP
|
||||
bool "Posix Sleep"
|
||||
depends on MODULE_ZTIMER_MSEC
|
||||
depends on MODULE_ZTIMER_USEC
|
||||
select MODULE_POSIX_HEADERS
|
5
tests/posix_sleep/app.config.test
Normal file
5
tests/posix_sleep/app.config.test
Normal file
@ -0,0 +1,5 @@
|
||||
CONFIG_MODULE_POSIX_SLEEP=y
|
||||
CONFIG_MODULE_ZTIMER=y
|
||||
CONFIG_MODULE_ZTIMER_PERIPH_TIMER=y
|
||||
CONFIG_MODULE_ZTIMER_USEC=y
|
||||
CONFIG_MODULE_ZTIMER_MSEC=y
|
Loading…
Reference in New Issue
Block a user