treewide: change Kconfig prefix for module symbols
This changes the prefix used for the symbols that reprensent modules (not the ones generated from USEMODULE). MOD_ => MODULE_
This commit is contained in:
parent
d25fc243c4
commit
2e79e00ca7
@ -370,7 +370,7 @@ include $(RIOTMAKE)/kconfig.mk
|
|||||||
# For testing, use TEST_KCONFIG as a switch between Makefile.dep and Kconfig
|
# For testing, use TEST_KCONFIG as a switch between Makefile.dep and Kconfig
|
||||||
ifeq (1,$(TEST_KCONFIG))
|
ifeq (1,$(TEST_KCONFIG))
|
||||||
$(info === [ATTENTION] Testing Kconfig dependency modelling ===)
|
$(info === [ATTENTION] Testing Kconfig dependency modelling ===)
|
||||||
KCONFIG_MODULES := $(call lowercase,$(patsubst CONFIG_MOD_%,%,$(filter CONFIG_MOD_%,$(.VARIABLES))))
|
KCONFIG_MODULES := $(call lowercase,$(patsubst CONFIG_MODULE_%,%,$(filter CONFIG_MODULE_%,$(.VARIABLES))))
|
||||||
USEMODULE := $(KCONFIG_MODULES)
|
USEMODULE := $(KCONFIG_MODULES)
|
||||||
else
|
else
|
||||||
# handle removal of default modules
|
# handle removal of default modules
|
||||||
|
|||||||
@ -9,7 +9,7 @@ config BOARD
|
|||||||
help
|
help
|
||||||
Name of the currently selected board.
|
Name of the currently selected board.
|
||||||
|
|
||||||
config MOD_BOARD
|
config MODULE_BOARD
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
20
core/Kconfig
20
core/Kconfig
@ -5,7 +5,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_CORE
|
menuconfig MODULE_CORE
|
||||||
bool "RIOT Core"
|
bool "RIOT Core"
|
||||||
default y
|
default y
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
@ -13,36 +13,36 @@ menuconfig MOD_CORE
|
|||||||
RIOT's core module. Only change this if you know what you are doing. If
|
RIOT's core module. Only change this if you know what you are doing. If
|
||||||
unsure, say Y.
|
unsure, say Y.
|
||||||
|
|
||||||
if MOD_CORE
|
if MODULE_CORE
|
||||||
|
|
||||||
config MOD_CORE_IDLE_THREAD
|
config MODULE_CORE_IDLE_THREAD
|
||||||
bool
|
bool
|
||||||
prompt "Use Idle thread" if HAS_NO_IDLE_THREAD
|
prompt "Use Idle thread" if HAS_NO_IDLE_THREAD
|
||||||
default y if !HAS_NO_IDLE_THREAD
|
default y if !HAS_NO_IDLE_THREAD
|
||||||
help
|
help
|
||||||
Select y to include the Idle thread. This is mandatory for some CPUs.
|
Select y to include the Idle thread. This is mandatory for some CPUs.
|
||||||
|
|
||||||
config MOD_CORE_INIT
|
config MODULE_CORE_INIT
|
||||||
bool "Kernel initialization module"
|
bool "Kernel initialization module"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config MOD_CORE_MBOX
|
config MODULE_CORE_MBOX
|
||||||
bool "Kernel message box module"
|
bool "Kernel message box module"
|
||||||
|
|
||||||
config MOD_CORE_MSG
|
config MODULE_CORE_MSG
|
||||||
bool "Kernel messaging module"
|
bool "Kernel messaging module"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config MOD_CORE_MSG_BUS
|
config MODULE_CORE_MSG_BUS
|
||||||
bool "Messaging Bus module"
|
bool "Messaging Bus module"
|
||||||
help
|
help
|
||||||
Messaging Bus API for inter process message broadcast.
|
Messaging Bus API for inter process message broadcast.
|
||||||
|
|
||||||
config MOD_CORE_PANIC
|
config MODULE_CORE_PANIC
|
||||||
bool "Kernel crash handling module"
|
bool "Kernel crash handling module"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config MOD_CORE_THREAD_FLAGS
|
config MODULE_CORE_THREAD_FLAGS
|
||||||
bool "Thread flags"
|
bool "Thread flags"
|
||||||
|
|
||||||
endif # MOD_CORE
|
endif # MODULE_CORE
|
||||||
|
|||||||
@ -52,14 +52,14 @@ config CPU_ARCH
|
|||||||
help
|
help
|
||||||
Architecture of the currently selected CPU.
|
Architecture of the currently selected CPU.
|
||||||
|
|
||||||
config MOD_CPU
|
config MODULE_CPU
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
help
|
help
|
||||||
Module which holds all CPU-specific files.
|
Module which holds all CPU-specific files.
|
||||||
|
|
||||||
config MOD_PERIPH
|
config MODULE_PERIPH
|
||||||
bool
|
bool
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
help
|
help
|
||||||
|
|||||||
@ -4,11 +4,11 @@
|
|||||||
# General Public License v2.1. See the file LICENSE in the top level
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
|
|
||||||
config MOD_CORTEXM_COMMON
|
config MODULE_CORTEXM_COMMON
|
||||||
bool
|
bool
|
||||||
default y if CPU_CORE_CORTEX_M
|
default y if CPU_CORE_CORTEX_M
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
select MOD_PERIPH
|
select MODULE_PERIPH
|
||||||
help
|
help
|
||||||
Common code for Cortex-M cores.
|
Common code for Cortex-M cores.
|
||||||
|
|
||||||
@ -112,7 +112,7 @@ config HAS_CORTEXM_SVC
|
|||||||
help
|
help
|
||||||
Indicates that ARM Cortex-M Supervisor Calls are available.
|
Indicates that ARM Cortex-M Supervisor Calls are available.
|
||||||
|
|
||||||
config MOD_CORTEXM_FPU
|
config MODULE_CORTEXM_FPU
|
||||||
bool "Cortex-M Floating Point Unit (FPU) support"
|
bool "Cortex-M Floating Point Unit (FPU) support"
|
||||||
default y
|
default y
|
||||||
depends on HAS_CORTEXM_FPU
|
depends on HAS_CORTEXM_FPU
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# all cortex MCU's use newlib as libc
|
# all cortex MCU's use newlib as libc
|
||||||
CONFIG_MOD_NEWLIB=y
|
CONFIG_MODULE_NEWLIB=y
|
||||||
|
|
||||||
# use the nano-specs of Newlib when available
|
# use the nano-specs of Newlib when available
|
||||||
CONFIG_MOD_NEWLIB_NANO=y
|
CONFIG_MODULE_NEWLIB_NANO=y
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
config MOD_CORTEXM_COMMON_PERIPH
|
config MODULE_CORTEXM_COMMON_PERIPH
|
||||||
bool
|
bool
|
||||||
default y if CPU_CORE_CORTEX_M
|
default y if CPU_CORE_CORTEX_M
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
@ -8,7 +8,7 @@ config WDT_WARNING_PERIOD
|
|||||||
depends on HAS_PERIPH_WDT_WARNING_PERIOD && KCONFIG_USEMODULE_PERIPH_WDT
|
depends on HAS_PERIPH_WDT_WARNING_PERIOD && KCONFIG_USEMODULE_PERIPH_WDT
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
config MOD_SAM0_COMMON_PERIPH
|
config MODULE_SAM0_COMMON_PERIPH
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
CONFIG_MOD_PM_LAYERED=y
|
CONFIG_MODULE_PM_LAYERED=y
|
||||||
|
|||||||
@ -28,134 +28,134 @@ config HAS_PERIPH_WDT_WARNING_PERIOD
|
|||||||
menu "Peripheral drivers"
|
menu "Peripheral drivers"
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
config MOD_PERIPH_COMMON
|
config MODULE_PERIPH_COMMON
|
||||||
bool
|
bool
|
||||||
help
|
help
|
||||||
Common peripherals module.
|
Common peripherals module.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT
|
config MODULE_PERIPH_INIT
|
||||||
bool "Peripherals auto-initialization"
|
bool "Peripherals auto-initialization"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Auto-initialization of all used peripherals.
|
Auto-initialization of all used peripherals.
|
||||||
|
|
||||||
# Common peripheral modules and auto-init
|
# Common peripheral modules and auto-init
|
||||||
config MOD_PERIPH_ADC
|
config MODULE_PERIPH_ADC
|
||||||
bool "ADC peripheral driver"
|
bool "ADC peripheral driver"
|
||||||
depends on HAS_PERIPH_ADC
|
depends on HAS_PERIPH_ADC
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_ADC
|
config MODULE_PERIPH_INIT_ADC
|
||||||
bool "Auto initialize ADC peripheral"
|
bool "Auto initialize ADC peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_ADC
|
depends on MODULE_PERIPH_ADC
|
||||||
|
|
||||||
config MOD_PERIPH_CPUID
|
config MODULE_PERIPH_CPUID
|
||||||
bool "CPU unique ID"
|
bool "CPU unique ID"
|
||||||
depends on HAS_PERIPH_CPUID
|
depends on HAS_PERIPH_CPUID
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_CPUID
|
config MODULE_PERIPH_INIT_CPUID
|
||||||
bool "Auto initialize CPU unique ID driver"
|
bool "Auto initialize CPU unique ID driver"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_CPUID
|
depends on MODULE_PERIPH_CPUID
|
||||||
|
|
||||||
config MOD_PERIPH_DAC
|
config MODULE_PERIPH_DAC
|
||||||
bool "DAC peripheral driver"
|
bool "DAC peripheral driver"
|
||||||
depends on HAS_PERIPH_DAC
|
depends on HAS_PERIPH_DAC
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_DAC
|
config MODULE_PERIPH_INIT_DAC
|
||||||
bool "Auto initialize DAC peripheral"
|
bool "Auto initialize DAC peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_DAC
|
depends on MODULE_PERIPH_DAC
|
||||||
|
|
||||||
config MOD_PERIPH_DMA
|
config MODULE_PERIPH_DMA
|
||||||
bool "DMA peripheral driver"
|
bool "DMA peripheral driver"
|
||||||
depends on HAS_PERIPH_DMA
|
depends on HAS_PERIPH_DMA
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_DMA
|
config MODULE_PERIPH_INIT_DMA
|
||||||
bool "Auto initialize DMA peripheral"
|
bool "Auto initialize DMA peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_DMA
|
depends on MODULE_PERIPH_DMA
|
||||||
|
|
||||||
config MOD_PERIPH_EEPROM
|
config MODULE_PERIPH_EEPROM
|
||||||
bool "EEPROM peripheral driver"
|
bool "EEPROM peripheral driver"
|
||||||
depends on HAS_PERIPH_EEPROM
|
depends on HAS_PERIPH_EEPROM
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_EEPROM
|
config MODULE_PERIPH_INIT_EEPROM
|
||||||
bool "Auto initialize EEPROM peripheral"
|
bool "Auto initialize EEPROM peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_EEPROM
|
depends on MODULE_PERIPH_EEPROM
|
||||||
|
|
||||||
rsource "Kconfig.flashpage"
|
rsource "Kconfig.flashpage"
|
||||||
|
|
||||||
rsource "Kconfig.gpio"
|
rsource "Kconfig.gpio"
|
||||||
|
|
||||||
config MOD_PERIPH_HWRNG
|
config MODULE_PERIPH_HWRNG
|
||||||
bool "HWRNG peripheral driver"
|
bool "HWRNG peripheral driver"
|
||||||
depends on HAS_PERIPH_HWRNG
|
depends on HAS_PERIPH_HWRNG
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_HWRNG
|
config MODULE_PERIPH_INIT_HWRNG
|
||||||
bool "Auto initialize HWRNG peripheral"
|
bool "Auto initialize HWRNG peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_HWRNG
|
depends on MODULE_PERIPH_HWRNG
|
||||||
|
|
||||||
rsource "Kconfig.i2c"
|
rsource "Kconfig.i2c"
|
||||||
|
|
||||||
config MOD_PERIPH_PWM
|
config MODULE_PERIPH_PWM
|
||||||
bool "PWM peripheral driver"
|
bool "PWM peripheral driver"
|
||||||
depends on HAS_PERIPH_PWM
|
depends on HAS_PERIPH_PWM
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_PWM
|
config MODULE_PERIPH_INIT_PWM
|
||||||
bool "Auto initialize PWM peripheral"
|
bool "Auto initialize PWM peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_PWM
|
depends on MODULE_PERIPH_PWM
|
||||||
|
|
||||||
config MOD_PERIPH_PM
|
config MODULE_PERIPH_PM
|
||||||
bool "Power Management (PM) peripheral driver"
|
bool "Power Management (PM) peripheral driver"
|
||||||
default y
|
default y
|
||||||
depends on HAS_PERIPH_PM
|
depends on HAS_PERIPH_PM
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_PM
|
config MODULE_PERIPH_INIT_PM
|
||||||
bool "Auto initialize Power Management (PM) peripheral"
|
bool "Auto initialize Power Management (PM) peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_PM
|
depends on MODULE_PERIPH_PM
|
||||||
|
|
||||||
config MOD_PERIPH_QDEC
|
config MODULE_PERIPH_QDEC
|
||||||
bool "Quadrature Decoder (QDEC) peripheral driver"
|
bool "Quadrature Decoder (QDEC) peripheral driver"
|
||||||
depends on HAS_PERIPH_QDEC
|
depends on HAS_PERIPH_QDEC
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_QDEC
|
config MODULE_PERIPH_INIT_QDEC
|
||||||
bool "Auto initialize Quadrature Decoder (QDEC) peripheral"
|
bool "Auto initialize Quadrature Decoder (QDEC) peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_QDEC
|
depends on MODULE_PERIPH_QDEC
|
||||||
|
|
||||||
config MOD_PERIPH_RTC
|
config MODULE_PERIPH_RTC
|
||||||
bool "RTC peripheral driver"
|
bool "RTC peripheral driver"
|
||||||
depends on HAS_PERIPH_RTC
|
depends on HAS_PERIPH_RTC
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_RTC
|
config MODULE_PERIPH_INIT_RTC
|
||||||
bool "Auto initialize RTC peripheral"
|
bool "Auto initialize RTC peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_RTC
|
depends on MODULE_PERIPH_RTC
|
||||||
|
|
||||||
config MOD_PERIPH_RTT
|
config MODULE_PERIPH_RTT
|
||||||
bool "RTT peripheral driver"
|
bool "RTT peripheral driver"
|
||||||
depends on HAS_PERIPH_RTT
|
depends on HAS_PERIPH_RTT
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_RTT
|
config MODULE_PERIPH_INIT_RTT
|
||||||
bool "Auto initialize RTT peripheral"
|
bool "Auto initialize RTT peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_RTT
|
depends on MODULE_PERIPH_RTT
|
||||||
|
|
||||||
rsource "Kconfig.spi"
|
rsource "Kconfig.spi"
|
||||||
|
|
||||||
@ -163,24 +163,24 @@ rsource "Kconfig.timer"
|
|||||||
|
|
||||||
rsource "Kconfig.uart"
|
rsource "Kconfig.uart"
|
||||||
|
|
||||||
config MOD_PERIPH_USBDEV
|
config MODULE_PERIPH_USBDEV
|
||||||
bool "USBDEV peripheral driver"
|
bool "USBDEV peripheral driver"
|
||||||
depends on HAS_PERIPH_USBDEV
|
depends on HAS_PERIPH_USBDEV
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_USBDEV
|
config MODULE_PERIPH_INIT_USBDEV
|
||||||
bool "Auto initialize USBDEV peripheral"
|
bool "Auto initialize USBDEV peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_USBDEV
|
depends on MODULE_PERIPH_USBDEV
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_WDT
|
menuconfig MODULE_PERIPH_WDT
|
||||||
bool "Watchdog Timer peripheral driver"
|
bool "Watchdog Timer peripheral driver"
|
||||||
depends on HAS_PERIPH_WDT
|
depends on HAS_PERIPH_WDT
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_WDT
|
config MODULE_PERIPH_INIT_WDT
|
||||||
bool "Auto initialize the Watchdog Timer peripheral"
|
bool "Auto initialize the Watchdog Timer peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_WDT
|
depends on MODULE_PERIPH_WDT
|
||||||
|
|
||||||
endmenu # Peripheral drivers
|
endmenu # Peripheral drivers
|
||||||
|
|||||||
@ -5,36 +5,36 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_FLASHPAGE
|
menuconfig MODULE_PERIPH_FLASHPAGE
|
||||||
bool "Flashpage peripheral driver"
|
bool "Flashpage peripheral driver"
|
||||||
depends on HAS_PERIPH_FLASHPAGE
|
depends on HAS_PERIPH_FLASHPAGE
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
# TODO: the 'init' modules are actually just artifacts from the way
|
# TODO: the 'init' modules are actually just artifacts from the way
|
||||||
# periph_init_% modules are handled in Makefile. We need to define them to keep
|
# periph_init_% modules are handled in Makefile. We need to define them to keep
|
||||||
# the list the same for now. We should be able to remove them later on.
|
# the list the same for now. We should be able to remove them later on.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_FLASHPAGE
|
config MODULE_PERIPH_INIT_FLASHPAGE
|
||||||
bool "Auto initialize Flashpage peripheral"
|
bool "Auto initialize Flashpage peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_FLASHPAGE
|
depends on MODULE_PERIPH_FLASHPAGE
|
||||||
|
|
||||||
config MOD_PERIPH_FLASHPAGE_RAW
|
config MODULE_PERIPH_FLASHPAGE_RAW
|
||||||
bool "Raw writing support"
|
bool "Raw writing support"
|
||||||
depends on HAS_PERIPH_FLASHPAGE_RAW
|
depends on HAS_PERIPH_FLASHPAGE_RAW
|
||||||
depends on MOD_PERIPH_FLASHPAGE
|
depends on MODULE_PERIPH_FLASHPAGE
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_FLASHPAGE_RAW
|
config MODULE_PERIPH_INIT_FLASHPAGE_RAW
|
||||||
bool "Auto initialize Flashpage raw"
|
bool "Auto initialize Flashpage raw"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_FLASHPAGE_RAW
|
depends on MODULE_PERIPH_FLASHPAGE_RAW
|
||||||
|
|
||||||
config MOD_PERIPH_FLASHPAGE_RWEE
|
config MODULE_PERIPH_FLASHPAGE_RWEE
|
||||||
bool "Read while Write support"
|
bool "Read while Write support"
|
||||||
depends on HAS_PERIPH_FLASHPAGE_RWEE
|
depends on HAS_PERIPH_FLASHPAGE_RWEE
|
||||||
depends on MOD_PERIPH_FLASHPAGE
|
depends on MODULE_PERIPH_FLASHPAGE
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_FLASHPAGE_RWEE
|
config MODULE_PERIPH_INIT_FLASHPAGE_RWEE
|
||||||
bool "Auto initialize Flashpage RWEE"
|
bool "Auto initialize Flashpage RWEE"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_FLASHPAGE_RWEE
|
depends on MODULE_PERIPH_FLASHPAGE_RWEE
|
||||||
|
|||||||
@ -5,30 +5,30 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_GPIO
|
menuconfig MODULE_PERIPH_GPIO
|
||||||
bool "GPIO peripheral driver"
|
bool "GPIO peripheral driver"
|
||||||
default y
|
default y
|
||||||
depends on HAS_PERIPH_GPIO
|
depends on HAS_PERIPH_GPIO
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
if MOD_PERIPH_GPIO
|
if MODULE_PERIPH_GPIO
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_GPIO
|
config MODULE_PERIPH_INIT_GPIO
|
||||||
bool "Auto initialize GPIO peripheral"
|
bool "Auto initialize GPIO peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
config MOD_PERIPH_GPIO_IRQ
|
config MODULE_PERIPH_GPIO_IRQ
|
||||||
bool "GPIO interrupt peripheral driver"
|
bool "GPIO interrupt peripheral driver"
|
||||||
depends on HAS_PERIPH_GPIO_IRQ
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
# TODO: this module is actually just an artifact from the way periph_init_%
|
# TODO: this module is actually just an artifact from the way periph_init_%
|
||||||
# modules are handled in Makefile. We need to define it to keep the list the
|
# modules are handled in Makefile. We need to define it to keep the list the
|
||||||
# same for now. We should be able to remove it later on.
|
# same for now. We should be able to remove it later on.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_GPIO_IRQ
|
config MODULE_PERIPH_INIT_GPIO_IRQ
|
||||||
bool "Auto initialize GPIO interrupt peripheral"
|
bool "Auto initialize GPIO interrupt peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_GPIO_IRQ
|
depends on MODULE_PERIPH_GPIO_IRQ
|
||||||
|
|
||||||
endif # MOD_PERIPH_GPIO
|
endif # MODULE_PERIPH_GPIO
|
||||||
|
|||||||
@ -5,18 +5,18 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_I2C
|
menuconfig MODULE_PERIPH_I2C
|
||||||
bool "I2C peripheral driver"
|
bool "I2C peripheral driver"
|
||||||
depends on HAS_PERIPH_I2C
|
depends on HAS_PERIPH_I2C
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
if MOD_PERIPH_I2C
|
if MODULE_PERIPH_I2C
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_I2C
|
config MODULE_PERIPH_INIT_I2C
|
||||||
bool "Auto initialize I2C peripheral"
|
bool "Auto initialize I2C peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
config MOD_PERIPH_I2C_RECONFIGURE
|
config MODULE_PERIPH_I2C_RECONFIGURE
|
||||||
bool "Pin reconfiguration support"
|
bool "Pin reconfiguration support"
|
||||||
depends on HAS_PERIPH_I2C_RECONFIGURE
|
depends on HAS_PERIPH_I2C_RECONFIGURE
|
||||||
|
|
||||||
@ -24,9 +24,9 @@ config MOD_PERIPH_I2C_RECONFIGURE
|
|||||||
# modules are handled in Makefile. We need to define it to keep the list the
|
# modules are handled in Makefile. We need to define it to keep the list the
|
||||||
# same for now. We should be able to remove it later on.
|
# same for now. We should be able to remove it later on.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_I2C_RECONFIGURE
|
config MODULE_PERIPH_INIT_I2C_RECONFIGURE
|
||||||
bool "Auto initialize I2C pin reconfiguration support"
|
bool "Auto initialize I2C pin reconfiguration support"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_I2C_RECONFIGURE
|
depends on MODULE_PERIPH_I2C_RECONFIGURE
|
||||||
|
|
||||||
endif # MOD_PERIPH_I2C
|
endif # MODULE_PERIPH_I2C
|
||||||
|
|||||||
@ -5,18 +5,18 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_SPI
|
menuconfig MODULE_PERIPH_SPI
|
||||||
bool "SPI peripheral driver"
|
bool "SPI peripheral driver"
|
||||||
depends on HAS_PERIPH_SPI
|
depends on HAS_PERIPH_SPI
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
if MOD_PERIPH_SPI
|
if MODULE_PERIPH_SPI
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_SPI
|
config MODULE_PERIPH_INIT_SPI
|
||||||
bool "Auto initialize SPI peripheral"
|
bool "Auto initialize SPI peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
config MOD_PERIPH_SPI_RECONFIGURE
|
config MODULE_PERIPH_SPI_RECONFIGURE
|
||||||
bool "Pin reconfiguration support"
|
bool "Pin reconfiguration support"
|
||||||
depends on HAS_PERIPH_SPI_RECONFIGURE
|
depends on HAS_PERIPH_SPI_RECONFIGURE
|
||||||
|
|
||||||
@ -24,9 +24,9 @@ config MOD_PERIPH_SPI_RECONFIGURE
|
|||||||
# modules are handled in Makefile. We need to define it to keep the list the
|
# modules are handled in Makefile. We need to define it to keep the list the
|
||||||
# same for now. We should be able to remove it later on.
|
# same for now. We should be able to remove it later on.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_SPI_RECONFIGURE
|
config MODULE_PERIPH_INIT_SPI_RECONFIGURE
|
||||||
bool "Auto initialize SPI pin reconfiguration support"
|
bool "Auto initialize SPI pin reconfiguration support"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
depends on MOD_PERIPH_SPI_RECONFIGURE
|
depends on MODULE_PERIPH_SPI_RECONFIGURE
|
||||||
|
|
||||||
endif # MOD_PERIPH_SPI
|
endif # MODULE_PERIPH_SPI
|
||||||
|
|||||||
@ -5,28 +5,28 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_TIMER
|
menuconfig MODULE_PERIPH_TIMER
|
||||||
bool "Timer peripheral driver"
|
bool "Timer peripheral driver"
|
||||||
depends on HAS_PERIPH_TIMER
|
depends on HAS_PERIPH_TIMER
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
if MOD_PERIPH_TIMER
|
if MODULE_PERIPH_TIMER
|
||||||
|
|
||||||
# TODO: the 'init' modules are actually just artifacts from the way
|
# TODO: the 'init' modules are actually just artifacts from the way
|
||||||
# periph_init_% modules are handled in Makefile. We need to define them to keep
|
# periph_init_% modules are handled in Makefile. We need to define them to keep
|
||||||
# the list the same for now. We should be able to remove them later on.
|
# the list the same for now. We should be able to remove them later on.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_TIMER
|
config MODULE_PERIPH_INIT_TIMER
|
||||||
bool "Auto initialize Timer peripheral"
|
bool "Auto initialize Timer peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
config MOD_PERIPH_TIMER_PERIODIC
|
config MODULE_PERIPH_TIMER_PERIODIC
|
||||||
bool "Periodic timeout support"
|
bool "Periodic timeout support"
|
||||||
depends on HAS_PERIPH_TIMER_PERIODIC
|
depends on HAS_PERIPH_TIMER_PERIODIC
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_TIMER_PERIODIC
|
config MODULE_PERIPH_INIT_TIMER_PERIODIC
|
||||||
bool
|
bool
|
||||||
depends on MOD_PERIPH_TIMER_PERIODIC
|
depends on MODULE_PERIPH_TIMER_PERIODIC
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
endif # MOD_PERIPH_TIMER
|
endif # MODULE_PERIPH_TIMER
|
||||||
|
|||||||
@ -5,37 +5,37 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_PERIPH_UART
|
menuconfig MODULE_PERIPH_UART
|
||||||
bool "UART peripheral driver"
|
bool "UART peripheral driver"
|
||||||
depends on HAS_PERIPH_UART
|
depends on HAS_PERIPH_UART
|
||||||
select MOD_PERIPH_COMMON
|
select MODULE_PERIPH_COMMON
|
||||||
|
|
||||||
if MOD_PERIPH_UART
|
if MODULE_PERIPH_UART
|
||||||
|
|
||||||
# TODO: the 'init' modules are actually just artifacts from the way
|
# TODO: the 'init' modules are actually just artifacts from the way
|
||||||
# periph_init_% modules are handled in Makefile. We need to define them to keep
|
# periph_init_% modules are handled in Makefile. We need to define them to keep
|
||||||
# the list the same for now. We should be able to remove them later on.
|
# the list the same for now. We should be able to remove them later on.
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_UART
|
config MODULE_PERIPH_INIT_UART
|
||||||
bool "Auto initialize UART peripheral"
|
bool "Auto initialize UART peripheral"
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
config MOD_PERIPH_UART_MODECFG
|
config MODULE_PERIPH_UART_MODECFG
|
||||||
bool "Mode configuration support"
|
bool "Mode configuration support"
|
||||||
depends on HAS_PERIPH_UART_MODECFG
|
depends on HAS_PERIPH_UART_MODECFG
|
||||||
|
|
||||||
config MOD_PERIPH_UART_NONBLOCKING
|
config MODULE_PERIPH_UART_NONBLOCKING
|
||||||
bool "Non-blocking support"
|
bool "Non-blocking support"
|
||||||
depends on HAS_PERIPH_UART_NONBLOCKING
|
depends on HAS_PERIPH_UART_NONBLOCKING
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_UART_MODECFG
|
config MODULE_PERIPH_INIT_UART_MODECFG
|
||||||
bool
|
bool
|
||||||
depends on MOD_PERIPH_UART_MODECFG
|
depends on MODULE_PERIPH_UART_MODECFG
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
config MOD_PERIPH_INIT_UART_NONBLOCKING
|
config MODULE_PERIPH_INIT_UART_NONBLOCKING
|
||||||
bool
|
bool
|
||||||
depends on MOD_PERIPH_UART_NONBLOCKING
|
depends on MODULE_PERIPH_UART_NONBLOCKING
|
||||||
default y if MOD_PERIPH_INIT
|
default y if MODULE_PERIPH_INIT
|
||||||
|
|
||||||
endif # MOD_PERIPH_UART
|
endif # MODULE_PERIPH_UART
|
||||||
|
|||||||
@ -13,7 +13,7 @@ rsource "Kconfig.stdio"
|
|||||||
rsource "pm_layered/Kconfig"
|
rsource "pm_layered/Kconfig"
|
||||||
rsource "usb/Kconfig"
|
rsource "usb/Kconfig"
|
||||||
|
|
||||||
config MOD_SYS
|
config MODULE_SYS
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
@ -5,24 +5,24 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig MOD_NEWLIB
|
menuconfig MODULE_NEWLIB
|
||||||
bool "NewLib"
|
bool "NewLib"
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
if MOD_NEWLIB
|
if MODULE_NEWLIB
|
||||||
|
|
||||||
config MOD_NEWLIB_NANO
|
config MODULE_NEWLIB_NANO
|
||||||
bool "NewLib Nano"
|
bool "NewLib Nano"
|
||||||
|
|
||||||
config MOD_NEWLIB_GNU_SOURCE
|
config MODULE_NEWLIB_GNU_SOURCE
|
||||||
bool "NewLib GNU source"
|
bool "NewLib GNU source"
|
||||||
|
|
||||||
config MOD_NEWLIB_SYSCALLS_DEFAULT
|
config MODULE_NEWLIB_SYSCALLS_DEFAULT
|
||||||
bool "NewLib Syscalls default implementation"
|
bool "NewLib Syscalls default implementation"
|
||||||
default y
|
default y
|
||||||
depends on !HAVE_CUSTOM_NEWLIB_SYSCALLS
|
depends on !HAVE_CUSTOM_NEWLIB_SYSCALLS
|
||||||
|
|
||||||
endif # MOD_NEWLIB
|
endif # MODULE_NEWLIB
|
||||||
|
|
||||||
config HAVE_CUSTOM_NEWLIB_SYSCALLS
|
config HAVE_CUSTOM_NEWLIB_SYSCALLS
|
||||||
bool
|
bool
|
||||||
|
|||||||
@ -10,20 +10,20 @@ menu "Standard Input/Ouput (STDIO)"
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
bool "STDIO implementation"
|
bool "STDIO implementation"
|
||||||
default MOD_STDIO_UART
|
default MODULE_STDIO_UART
|
||||||
|
|
||||||
# TODO: Add MOD_STDIO_CDC_ACM, MOD_STDIO_RTT, MOD_SLIPDEV_STDIO,
|
# TODO: Add MODULE_STDIO_CDC_ACM, MODULE_STDIO_RTT, MODULE_SLIPDEV_STDIO,
|
||||||
# MOD_STDIO_NATIVE and MOD_STDIO_ETHOS
|
# MODULE_STDIO_NATIVE and MODULE_STDIO_ETHOS
|
||||||
|
|
||||||
config MOD_STDIO_NULL
|
config MODULE_STDIO_NULL
|
||||||
bool "Null"
|
bool "Null"
|
||||||
help
|
help
|
||||||
Empty implementation.
|
Empty implementation.
|
||||||
|
|
||||||
config MOD_STDIO_UART
|
config MODULE_STDIO_UART
|
||||||
bool "UART"
|
bool "UART"
|
||||||
depends on HAS_PERIPH_UART
|
depends on HAS_PERIPH_UART
|
||||||
select MOD_PERIPH_UART
|
select MODULE_PERIPH_UART
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
config MOD_AUTO_INIT
|
config MODULE_AUTO_INIT
|
||||||
bool "Auto-initialization system"
|
bool "Auto-initialization system"
|
||||||
default y
|
default y
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
config MOD_PM_LAYERED
|
config MODULE_PM_LAYERED
|
||||||
bool "Platform-independent Power Management"
|
bool "Platform-independent Power Management"
|
||||||
depends on MOD_PERIPH_PM
|
depends on MODULE_PERIPH_PM
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user