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

sys/posix_sleep: add module to Kconfig

This commit is contained in:
MrKevinWeiss 2021-02-11 16:13:40 +01:00
parent bf7c697c8d
commit b8eb12d43b
3 changed files with 29 additions and 0 deletions

View File

@ -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
View 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
View 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