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

core: Add modules to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-07-27 15:15:56 +02:00
parent 76709fa453
commit f5e57fbca4
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
2 changed files with 57 additions and 0 deletions

View File

@ -25,9 +25,18 @@ rsource "$(RIOTCPU)/Kconfig"
# The application may declare new symbols as well
osource "$(APPDIR)/Kconfig"
rsource "core/Kconfig"
rsource "drivers/Kconfig"
rsource "sys/Kconfig"
rsource "pkg/Kconfig"
comment "RIOT is in a migration phase."
comment "Some configuration options may not be here. Use CFLAGS instead."
config TEST_KCONFIG
bool
default y if '$(TEST_KCONFIG)' = '1'
help
This is used during the Kconfig migration to test the module dependency
modelling. Don't change the default value unless you know what you are
doing.

48
core/Kconfig Normal file
View File

@ -0,0 +1,48 @@
# Copyright (c) 2020 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.
#
menuconfig MOD_CORE
bool "RIOT Core"
default y
depends on TEST_KCONFIG
help
RIOT's core module. Only change this if you know what you are doing. If
unsure, say Y.
if MOD_CORE
config MOD_CORE_IDLE_THREAD
bool
prompt "Use Idle thread" if HAS_NO_IDLE_THREAD
default y if !HAS_NO_IDLE_THREAD
help
Select y to include the Idle thread. This is mandatory for some CPUs.
config MOD_CORE_INIT
bool "Kernel initialization module"
default y
config MOD_CORE_MBOX
bool "Kernel message box module"
config MOD_CORE_MSG
bool "Kernel messaging module"
default y
config MOD_CORE_MSG_BUS
bool "Messaging Bus module"
help
Messaging Bus API for inter process message broadcast.
config MOD_CORE_PANIC
bool "Kernel crash handling module"
default y
config MOD_CORE_THREAD_FLAGS
bool "Thread flags"
endif # MOD_CORE