2019-07-12 18:29:21 +02:00
|
|
|
# Copyright (c) 2019 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.
|
|
|
|
#
|
|
|
|
mainmenu "RIOT Configuration"
|
|
|
|
|
2020-04-27 17:41:53 +02:00
|
|
|
# Load macro definitions
|
2020-05-28 10:39:43 +02:00
|
|
|
rsource "kconfigs/Kconfig.consts"
|
2020-04-27 17:41:53 +02:00
|
|
|
|
2020-05-26 19:47:48 +02:00
|
|
|
# Load feature declarations
|
2020-05-28 10:39:43 +02:00
|
|
|
rsource "kconfigs/Kconfig.features"
|
2020-05-26 19:47:48 +02:00
|
|
|
|
2020-09-24 15:21:07 +02:00
|
|
|
# Load error symbols
|
|
|
|
rsource "kconfigs/Kconfig.errors"
|
|
|
|
|
2019-07-12 18:29:21 +02:00
|
|
|
# For now, get used modules as macros from this file (see kconfig.mk)
|
|
|
|
osource "$(KCONFIG_GENERATED_DEPENDENCIES)"
|
|
|
|
|
2020-02-18 14:22:31 +01:00
|
|
|
# Load first board configurations, which might override CPU's
|
2020-05-14 13:51:53 +02:00
|
|
|
orsource "$(BOARDDIR)/Kconfig"
|
2020-03-23 13:48:56 +01:00
|
|
|
orsource "$(RIOTCPU)/$(CPU)/Kconfig"
|
|
|
|
|
2020-02-18 14:23:35 +01:00
|
|
|
rsource "$(RIOTBOARD)/Kconfig"
|
2020-02-18 14:25:57 +01:00
|
|
|
rsource "$(RIOTCPU)/Kconfig"
|
2020-02-18 14:23:35 +01:00
|
|
|
|
2019-07-12 18:29:21 +02:00
|
|
|
# The application may declare new symbols as well
|
|
|
|
osource "$(APPDIR)/Kconfig"
|
|
|
|
|
2020-07-27 15:15:56 +02:00
|
|
|
rsource "core/Kconfig"
|
2020-02-19 14:23:00 +01:00
|
|
|
rsource "drivers/Kconfig"
|
|
|
|
rsource "sys/Kconfig"
|
2019-12-19 14:36:32 +01:00
|
|
|
rsource "pkg/Kconfig"
|
2020-02-19 14:23:00 +01:00
|
|
|
|
2019-07-12 18:29:21 +02:00
|
|
|
comment "RIOT is in a migration phase."
|
|
|
|
comment "Some configuration options may not be here. Use CFLAGS instead."
|
2020-07-27 15:15:56 +02:00
|
|
|
|
2020-09-24 15:21:07 +02:00
|
|
|
comment "!! ERROR: There are conflicting modules active !!"
|
|
|
|
depends on ERROR_MODULES_CONFLICT != ""
|
|
|
|
|
2020-07-27 15:15:56 +02:00
|
|
|
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.
|