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

treewide: change prefix for generated Kconfig symbols.

This changes the prefixes of the symbols generated from USEMODULE and
USEPKG variables. The changes are as follow:

   KCONFIG_MODULE_ => KCONFIG_USEMODULE_
   KCONFIG_PKG_ => KCONFIG_USEPKG_
   MODULE_ => USEMODULE_
   PKG_ => USEPKG_
This commit is contained in:
Leandro Lanzieri 2020-08-31 09:33:35 +02:00
parent 029ae8c7d2
commit d25fc243c4
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5
74 changed files with 290 additions and 290 deletions

View File

@ -8,4 +8,4 @@ config BOARD_COMMON_NRF52
bool bool
select HAS_PERIPH_RTT select HAS_PERIPH_RTT
select HAS_PERIPH_TIMER select HAS_PERIPH_TIMER
select HAS_RIOTBOOT if !PKG_NORDIC_SOFTDEVICE_BLE select HAS_RIOTBOOT if !USEPKG_NORDIC_SOFTDEVICE_BLE

View File

@ -13,7 +13,7 @@ config BOARD_ESP32_OLIMEX_EVB
select BOARD_COMMON_ESP32 select BOARD_COMMON_ESP32
select CPU_MODEL_ESP32_WROOM_32 select CPU_MODEL_ESP32_WROOM_32
select HAS_ARDUINO select HAS_ARDUINO
select HAS_PERIPH_ADC if MODULE_OLIMEX_ESP32_GATEWAY select HAS_PERIPH_ADC if USEMODULE_OLIMEX_ESP32_GATEWAY
select HAS_PERIPH_I2C select HAS_PERIPH_I2C
select HAS_PERIPH_PWM select HAS_PERIPH_PWM
select HAS_PERIPH_SPI select HAS_PERIPH_SPI

View File

@ -34,4 +34,4 @@ config HAS_ARCH_MSP430
## Specific default configuration values ## Specific default configuration values
config GNRC_PKTBUF_SIZE config GNRC_PKTBUF_SIZE
default 2560 default 2560
depends on KCONFIG_MODULE_GNRC_PKTBUF_STATIC depends on KCONFIG_USEMODULE_GNRC_PKTBUF_STATIC

View File

@ -46,6 +46,6 @@ config HAS_CPU_NRF51
## Platform-specific defaults ## Platform-specific defaults
config GNRC_PKTBUF_SIZE config GNRC_PKTBUF_SIZE
default 2048 default 2048
depends on KCONFIG_MODULE_GNRC_PKTBUF_STATIC depends on KCONFIG_USEMODULE_GNRC_PKTBUF_STATIC
source "$(RIOTCPU)/nrf5x_common/Kconfig" source "$(RIOTCPU)/nrf5x_common/Kconfig"

View File

@ -4,13 +4,13 @@
# 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.
menuconfig KCONFIG_MODULE_NRF802154 menuconfig KCONFIG_USEMODULE_NRF802154
bool "Configure nRF802154" bool "Configure nRF802154"
depends on MODULE_NRF802154 depends on USEMODULE_NRF802154
help help
Configure nRF802154 module using Kconfig. Configure nRF802154 module using Kconfig.
if KCONFIG_MODULE_NRF802154 if KCONFIG_USEMODULE_NRF802154
config NRF802154_CCA_THRESH_DEFAULT config NRF802154_CCA_THRESH_DEFAULT
hex "Default CCA threshold value" hex "Default CCA threshold value"
@ -19,7 +19,7 @@ config NRF802154_CCA_THRESH_DEFAULT
help help
Default CCA threshold value for the CCACTRL register. Default CCA threshold value for the CCACTRL register.
endif # KCONFIG_MODULE_NRF802154 endif # KCONFIG_USEMODULE_NRF802154
## Related features ## Related features
config HAS_RADIO_NRF802154 config HAS_RADIO_NRF802154

View File

@ -5,7 +5,7 @@
# directory for more details. # directory for more details.
config WDT_WARNING_PERIOD config WDT_WARNING_PERIOD
depends on HAS_PERIPH_WDT_WARNING_PERIOD && KCONFIG_MODULE_PERIPH_WDT depends on HAS_PERIPH_WDT_WARNING_PERIOD && KCONFIG_USEMODULE_PERIPH_WDT
default 1 default 1
config MOD_SAM0_COMMON_PERIPH config MOD_SAM0_COMMON_PERIPH

View File

@ -454,10 +454,10 @@ reserved for the cases described bellow:
| `CPU_FAM_` | Models a family of CPUs | | `CPU_FAM_` | Models a family of CPUs |
| `CPU_MODEL_` | Models a particular model of CPU | | `CPU_MODEL_` | Models a particular model of CPU |
| `HAS_` | Models a [feature](build-system-basics.html#features) | | `HAS_` | Models a [feature](build-system-basics.html#features) |
| `KCONFIG_MODULE_` | Used during transition to enable configuration of a module via Kconfig | | `KCONFIG_USEMODULE_` | Used during transition to enable configuration of a module via Kconfig |
| `KCONFIG_PKG_` | Used during transition to enable configuration of a package via Kconfig | | `KCONFIG_USEPKG_` | Used during transition to enable configuration of a package via Kconfig |
| `MODULE_` | Models a [RIOT module](creating-modules.html#creating-modules) | | `USEMODULE_` | Models a [RIOT module](creating-modules.html#creating-modules). Generated from `USEMODULE` variable |
| `PKG_` | Models an [external package](group__pkg.html) | | `USEPKG_` | Models an [external package](group__pkg.html). Generated from `USEPKG` variable |
--- ---
# Appendixes {#kconfig-appendixes} # Appendixes {#kconfig-appendixes}

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_ADS101X menuconfig KCONFIG_USEMODULE_ADS101X
bool "Configure ADS101X driver" bool "Configure ADS101X driver"
depends on MODULE_ADS101X depends on USEMODULE_ADS101X
help help
Configure the ADS101X driver using Kconfig. Configure the ADS101X driver using Kconfig.
if KCONFIG_MODULE_ADS101X if KCONFIG_USEMODULE_ADS101X
config ADS101X_I2C_ADDRESS config ADS101X_I2C_ADDRESS
hex "Default I2C address" hex "Default I2C address"
@ -21,4 +21,4 @@ config ADS101X_I2C_ADDRESS
the state of ADDR Pin. Default value (0x48) corresponds to ADDR pin tied the state of ADDR Pin. Default value (0x48) corresponds to ADDR pin tied
to GND. For more information refer I2C Address Selection in Datasheet. to GND. For more information refer I2C Address Selection in Datasheet.
endif # KCONFIG_MODULE_ADS101X endif # KCONFIG_USEMODULE_ADS101X

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_AT menuconfig KCONFIG_USEMODULE_AT
bool "Configure AT driver" bool "Configure AT driver"
depends on MODULE_AT depends on USEMODULE_AT
help help
Configure the AT driver using Kconfig. Configure the AT driver using Kconfig.
if KCONFIG_MODULE_AT if KCONFIG_USEMODULE_AT
choice choice
bool "End of line character" bool "End of line character"
@ -53,11 +53,11 @@ config AT_BUF_SIZE_EXP
int "Exponent for the buffer size (resulting in the queue size 2^n)" int "Exponent for the buffer size (resulting in the queue size 2^n)"
range 0 31 range 0 31
default 7 default 7
depends on MODULE_AT_URC depends on USEMODULE_AT_URC
help help
Size of buffer used to process unsolicited result code data. (as Size of buffer used to process unsolicited result code data. (as
exponent of 2^n). As the buffer size ALWAYS needs to be power of two, exponent of 2^n). As the buffer size ALWAYS needs to be power of two,
this option represents the exponent of 2^n, which will be used as the this option represents the exponent of 2^n, which will be used as the
size of the buffer. size of the buffer.
endif # KCONFIG_MODULE_AT endif # KCONFIG_USEMODULE_AT

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_AT86RF215 menuconfig KCONFIG_USEMODULE_AT86RF215
bool "Configure AT86RF215 driver" bool "Configure AT86RF215 driver"
depends on MODULE_AT86RF215 depends on USEMODULE_AT86RF215
help help
Configure the AT86RF215 driver using Kconfig. Configure the AT86RF215 driver using Kconfig.
if KCONFIG_MODULE_AT86RF215 if KCONFIG_USEMODULE_AT86RF215
config AT86RF215_USE_CLOCK_OUTPUT config AT86RF215_USE_CLOCK_OUTPUT
bool "Enable clock output" bool "Enable clock output"
@ -143,4 +143,4 @@ config AT86RF215_DEFAULT_MR_OFDM_MCS
endmenu endmenu
endif # KCONFIG_MODULE_AT86RF215 endif # KCONFIG_USEMODULE_AT86RF215

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_BMX055 menuconfig KCONFIG_USEMODULE_BMX055
bool "Configure BMX055 driver" bool "Configure BMX055 driver"
depends on MODULE_BMX055 depends on USEMODULE_BMX055
help help
Configure the BMX055 driver using Kconfig. Configure the BMX055 driver using Kconfig.
if KCONFIG_MODULE_BMX055 if KCONFIG_USEMODULE_BMX055
config BMX055_MAG_ADDR_DEFAULT config BMX055_MAG_ADDR_DEFAULT
hex "I2C Address of magnetometer" hex "I2C Address of magnetometer"
@ -39,4 +39,4 @@ config BMX055_GYRO_ADDR_DEFAULT
For more information refer to the section 'Inter-Integrated For more information refer to the section 'Inter-Integrated
Circuit (I²C)' in the datasheet. Circuit (I²C)' in the datasheet.
endif # KCONFIG_MODULE_BMX055 endif # KCONFIG_USEMODULE_BMX055

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_CC110X menuconfig KCONFIG_USEMODULE_CC110X
bool "Configure CC110X driver" bool "Configure CC110X driver"
depends on MODULE_CC110X depends on USEMODULE_CC110X
help help
Configure the CC110X driver using Kconfig. Configure the CC110X driver using Kconfig.
if KCONFIG_MODULE_CC110X if KCONFIG_USEMODULE_CC110X
config CC110X_DEFAULT_CHANNEL config CC110X_DEFAULT_CHANNEL
int "Configure default channel" int "Configure default channel"
@ -21,4 +21,4 @@ config CC110X_DEFAULT_CHANNEL
maximum of 8 (0-7) Channels. maximum of 8 (0-7) Channels.
Default channel is 0. Default channel is 0.
endif # KCONFIG_MODULE_CC110X endif # KCONFIG_USEMODULE_CC110X

View File

@ -4,14 +4,14 @@
# 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.
# #
menuconfig KCONFIG_MODULE_DOSE menuconfig KCONFIG_USEMODULE_DOSE
bool "Configure DOSE driver" bool "Configure DOSE driver"
depends on MODULE_DOSE depends on USEMODULE_DOSE
help help
Configure the Differentially Operated Serial Ethernet (DOSE) Configure the Differentially Operated Serial Ethernet (DOSE)
driver using Kconfig. driver using Kconfig.
if KCONFIG_MODULE_DOSE if KCONFIG_USEMODULE_DOSE
config DOSE_TIMEOUT_USEC config DOSE_TIMEOUT_USEC
int "Transaction timeout in microseconds [us]" int "Transaction timeout in microseconds [us]"
@ -20,4 +20,4 @@ config DOSE_TIMEOUT_USEC
Timeout, in microseconds, to bring the driver back into idle state if Timeout, in microseconds, to bring the driver back into idle state if
the remote side died within a transaction. the remote side died within a transaction.
endif # KCONFIG_MODULE_DOSE endif # KCONFIG_USEMODULE_DOSE

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_FXOS8700 menuconfig KCONFIG_USEMODULE_FXOS8700
bool "Configure FXOS8700 driver" bool "Configure FXOS8700 driver"
depends on MODULE_FXOS8700 depends on USEMODULE_FXOS8700
help help
Configure the FXOS8700 driver using Kconfig. Configure the FXOS8700 driver using Kconfig.
if KCONFIG_MODULE_FXOS8700 if KCONFIG_USEMODULE_FXOS8700
config FXOS8700_USE_ACC_RAW_VALUES config FXOS8700_USE_ACC_RAW_VALUES
bool "Enable raw ADC readings" bool "Enable raw ADC readings"
@ -18,4 +18,4 @@ config FXOS8700_USE_ACC_RAW_VALUES
Enable this to return raw ADC readings. Enable this to return raw ADC readings.
By default measurements are converted to mg. By default measurements are converted to mg.
endif # KCONFIG_MODULE_FXOS8700 endif # KCONFIG_USEMODULE_FXOS8700

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_HDC1000 menuconfig KCONFIG_USEMODULE_HDC1000
bool "Configure HDC1000 driver" bool "Configure HDC1000 driver"
depends on MODULE_HDC1000 depends on USEMODULE_HDC1000
help help
Configure the HDC1000 driver using Kconfig. Configure the HDC1000 driver using Kconfig.
if KCONFIG_MODULE_HDC1000 if KCONFIG_USEMODULE_HDC1000
config HDC1000_I2C_ADDRESS config HDC1000_I2C_ADDRESS
hex "I2C default address" hex "I2C default address"
@ -29,4 +29,4 @@ config HDC1000_CONVERSION_TIME
conversions (worst case) to allow for timer imprecision: conversions (worst case) to allow for timer imprecision:
(convert temp + convert hum) * 2 -> (6.5ms + 6.5ms) * 2 := 26ms. (convert temp + convert hum) * 2 -> (6.5ms + 6.5ms) * 2 := 26ms.
endif # KCONFIG_MODULE_HDC1000 endif # KCONFIG_USEMODULE_HDC1000

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_ISL29020 menuconfig KCONFIG_USEMODULE_ISL29020
bool "Configure ISL29020 driver" bool "Configure ISL29020 driver"
depends on MODULE_ISL29020 depends on USEMODULE_ISL29020
help help
Configure the ISL29020 driver using Kconfig. Configure the ISL29020 driver using Kconfig.
if KCONFIG_MODULE_ISL29020 if KCONFIG_USEMODULE_ISL29020
config ISL29020_DEFAULT_ADDRESS config ISL29020_DEFAULT_ADDRESS
hex "Default I2C address" hex "Default I2C address"
@ -21,4 +21,4 @@ config ISL29020_DEFAULT_ADDRESS
corresponds to A0 connected to GND. For more information refer to the corresponds to A0 connected to GND. For more information refer to the
section 'I2C Interface' in the datasheet. section 'I2C Interface' in the datasheet.
endif # KCONFIG_MODULE_ISL29020 endif # KCONFIG_USEMODULE_ISL29020

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_L3G4200D menuconfig KCONFIG_USEMODULE_L3G4200D
bool "Configure L3G4200D driver" bool "Configure L3G4200D driver"
depends on MODULE_L3G4200D depends on USEMODULE_L3G4200D
help help
Configure the L3G4200D driver using Kconfig. Configure the L3G4200D driver using Kconfig.
if KCONFIG_MODULE_L3G4200D if KCONFIG_USEMODULE_L3G4200D
config L3G4200D_DEFAULT_ADDRESS config L3G4200D_DEFAULT_ADDRESS
hex "Default I2C address" hex "Default I2C address"
@ -22,4 +22,4 @@ config L3G4200D_DEFAULT_ADDRESS
information refer to the section 'I2C Operation' in information refer to the section 'I2C Operation' in
the datasheet. the datasheet.
endif # KCONFIG_MODULE_L3G4200D endif # KCONFIG_USEMODULE_L3G4200D

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_LPSXXX menuconfig KCONFIG_USEMODULE_LPSXXX
bool "Configure LPSXXX driver" bool "Configure LPSXXX driver"
depends on MODULE_LPSXXX depends on USEMODULE_LPSXXX
help help
Configure the LPSXXX driver using Kconfig. Configure the LPSXXX driver using Kconfig.
if KCONFIG_MODULE_LPSXXX if KCONFIG_USEMODULE_LPSXXX
config LPSXXX_DEFAULT_ADDRESS config LPSXXX_DEFAULT_ADDRESS
hex "Default I2C address" hex "Default I2C address"
@ -22,4 +22,4 @@ config LPSXXX_DEFAULT_ADDRESS
information refer to the section 'I2C operation' in the information refer to the section 'I2C operation' in the
datasheet. datasheet.
endif # KCONFIG_MODULE_LPSXXX endif # KCONFIG_USEMODULE_LPSXXX

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_MAG3110 menuconfig KCONFIG_USEMODULE_MAG3110
bool "Configure MAG3110 driver" bool "Configure MAG3110 driver"
depends on MODULE_MAG3110 depends on USEMODULE_MAG3110
help help
Configure the MAG3110 driver using Kconfig. Configure the MAG3110 driver using Kconfig.
if KCONFIG_MODULE_MAG3110 if KCONFIG_USEMODULE_MAG3110
config MAG3110_I2C_ADDRESS config MAG3110_I2C_ADDRESS
hex "I2C default address" hex "I2C default address"
@ -20,4 +20,4 @@ config MAG3110_I2C_ADDRESS
The address depends on part number of MAG3110. The address depends on part number of MAG3110.
For more information refer to the datasheet. For more information refer to the datasheet.
endif # KCONFIG_MODULE_MAG3110 endif # KCONFIG_USEMODULE_MAG3110

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_MMA8X5X menuconfig KCONFIG_USEMODULE_MMA8X5X
bool "Configure MMA8X5X driver" bool "Configure MMA8X5X driver"
depends on MODULE_MMA8X5X depends on USEMODULE_MMA8X5X
help help
Configure the MMA8X5X driver using Kconfig. Configure the MMA8X5X driver using Kconfig.
if KCONFIG_MODULE_MMA8X5X if KCONFIG_USEMODULE_MMA8X5X
config MMA8X5X_I2C_ADDRESS config MMA8X5X_I2C_ADDRESS
hex "Default I2C address" hex "Default I2C address"
@ -23,4 +23,4 @@ config MMA8X5X_I2C_ADDRESS
(MMA8451Q/MMA8452Q/MMA8453Q) (MMA8451Q/MMA8452Q/MMA8453Q)
Default value corresponds to SA0 connected to VCC. Default value corresponds to SA0 connected to VCC.
endif # KCONFIG_MODULE_MMA8X5X endif # KCONFIG_USEMODULE_MMA8X5X

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_MOTOR_DRIVER menuconfig KCONFIG_USEMODULE_MOTOR_DRIVER
bool "Configure the DC Motor driver" bool "Configure the DC Motor driver"
depends on MODULE_MOTOR_DRIVER depends on USEMODULE_MOTOR_DRIVER
help help
Configure the DC Motor driver using Kconfig. Configure the DC Motor driver using Kconfig.
if KCONFIG_MODULE_MOTOR_DRIVER if KCONFIG_USEMODULE_MOTOR_DRIVER
config MOTOR_DRIVER_MAX config MOTOR_DRIVER_MAX
int "Maximum number of motors" int "Maximum number of motors"
@ -20,4 +20,4 @@ config MOTOR_DRIVER_MAX
The value should not exceed the number of PWM channels The value should not exceed the number of PWM channels
Default value is set to 2. Default value is set to 2.
endif # KCONFIG_MODULE_MOTOR_DRIVER endif # KCONFIG_USEMODULE_MOTOR_DRIVER

View File

@ -4,18 +4,18 @@
# 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.
# #
menuconfig KCONFIG_MODULE_MRF24J40 menuconfig KCONFIG_USEMODULE_MRF24J40
bool "Configure MRF24J40 driver" bool "Configure MRF24J40 driver"
depends on MODULE_MRF24J40 depends on USEMODULE_MRF24J40
help help
Configure the MRF24J40 driver using Kconfig. Configure the MRF24J40 driver using Kconfig.
if KCONFIG_MODULE_MRF24J40 if KCONFIG_USEMODULE_MRF24J40
config MRF24J40_USE_EXT_PA_LNA config MRF24J40_USE_EXT_PA_LNA
bool "Enable external PA/LNA control" bool "Enable external PA/LNA control"
default y default y
depends on !MODULE_MRF24J40MA depends on !USEMODULE_MRF24J40MA
help help
Increase RSSI for MRF24J40MC/MD/ME devices. No effect on MRF24J40MA. Increase RSSI for MRF24J40MC/MD/ME devices. No effect on MRF24J40MA.
For more information, please refer to section 4.2 of MRF24J40 datasheet. For more information, please refer to section 4.2 of MRF24J40 datasheet.
@ -27,4 +27,4 @@ config MRF24J40_TEST_SPI_CONNECTION
device is connected. Enable this if you want the boot not to hang if the device is connected. Enable this if you want the boot not to hang if the
device is not connected / there are SPI errors. device is not connected / there are SPI errors.
endif # KCONFIG_MODULE_MRF24J40 endif # KCONFIG_USEMODULE_MRF24J40

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_MTD_SDCARD menuconfig KCONFIG_USEMODULE_MTD_SDCARD
bool "Configure MTD_SDCARD driver" bool "Configure MTD_SDCARD driver"
depends on MODULE_MTD_SDCARD depends on USEMODULE_MTD_SDCARD
help help
Configure the MTD_SDCARD driver using Kconfig. Configure the MTD_SDCARD driver using Kconfig.
if KCONFIG_MODULE_MTD_SDCARD if KCONFIG_USEMODULE_MTD_SDCARD
config MTD_SDCARD_ERASE config MTD_SDCARD_ERASE
bool "Enable SD card erase" bool "Enable SD card erase"
@ -20,4 +20,4 @@ config MTD_SDCARD_ERASE
possible to directly write to the card without erasing possible to directly write to the card without erasing
the sector first hence this feature is disabled by default. the sector first hence this feature is disabled by default.
endif # KCONFIG_MODULE_MTD_SDCARD endif # KCONFIG_USEMODULE_MTD_SDCARD

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_OPT3001 menuconfig KCONFIG_USEMODULE_OPT3001
bool "Configure OPT3001 driver" bool "Configure OPT3001 driver"
depends on MODULE_OPT3001 depends on USEMODULE_OPT3001
help help
Configure the OPT3001 driver using Kconfig. Configure the OPT3001 driver using Kconfig.
if KCONFIG_MODULE_OPT3001 if KCONFIG_USEMODULE_OPT3001
config OPT3001_I2C_ADDRESS config OPT3001_I2C_ADDRESS
hex "Default I2C address" hex "Default I2C address"
@ -38,4 +38,4 @@ config OPT3001_CONVERSION_TIME_800
endchoice endchoice
endif # KCONFIG_MODULE_OPT3001 endif # KCONFIG_USEMODULE_OPT3001

View File

@ -4,13 +4,13 @@
# 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.
menuconfig KCONFIG_MODULE_PERIPH_WDT menuconfig KCONFIG_USEMODULE_PERIPH_WDT
bool "Configure Watchdog peripheral" bool "Configure Watchdog peripheral"
depends on MODULE_PERIPH_WDT depends on USEMODULE_PERIPH_WDT
help help
Configure Watchdog peripheral using Kconfig. Configure Watchdog peripheral using Kconfig.
if KCONFIG_MODULE_PERIPH_WDT if KCONFIG_USEMODULE_PERIPH_WDT
config WDT_WARNING_PERIOD config WDT_WARNING_PERIOD
int "Warning period (in ms)" int "Warning period (in ms)"
@ -18,7 +18,7 @@ config WDT_WARNING_PERIOD
help help
Period in ms before reboot where wdt_cb() is executed. Period in ms before reboot where wdt_cb() is executed.
endif # KCONFIG_MODULE_PERIPH_WDT endif # KCONFIG_USEMODULE_PERIPH_WDT
config HAS_PERIPH_WDT_WARNING_PERIOD config HAS_PERIPH_WDT_WARNING_PERIOD
bool bool

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_PN532 menuconfig KCONFIG_USEMODULE_PN532
bool "Configure PN532 driver" bool "Configure PN532 driver"
depends on MODULE_PN532 depends on USEMODULE_PN532
help help
Configure the PN532 driver using Kconfig. Configure the PN532 driver using Kconfig.
if KCONFIG_MODULE_PN532 if KCONFIG_USEMODULE_PN532
config PN532_BUFFER_LEN config PN532_BUFFER_LEN
int "Internal buffer size" int "Internal buffer size"
@ -20,4 +20,4 @@ config PN532_BUFFER_LEN
For large NDEF files, the buffer size may be increased. For large NDEF files, the buffer size may be increased.
Otherwise the files may be written in chunks. Otherwise the files may be written in chunks.
endif # KCONFIG_MODULE_PN532 endif # KCONFIG_USEMODULE_PN532

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_RN2XX3 menuconfig KCONFIG_USEMODULE_RN2XX3
bool "Configure RN2XX3 driver" bool "Configure RN2XX3 driver"
depends on MODULE_RN2XX3 depends on USEMODULE_RN2XX3
help help
Configure the RN2XX3 driver using Kconfig. Configure the RN2XX3 driver using Kconfig.
if KCONFIG_MODULE_RN2XX3 if KCONFIG_USEMODULE_RN2XX3
config RN2XX3_DEFAULT_SLEEP config RN2XX3_DEFAULT_SLEEP
int "Sleep duration in milliseconds [ms]" int "Sleep duration in milliseconds [ms]"
@ -20,4 +20,4 @@ config RN2XX3_DEFAULT_SLEEP
Set the sleep duration (in ms). Set the sleep duration (in ms).
The value should be greater than RN2XX3_SLEEP_MIN (100 ms) The value should be greater than RN2XX3_SLEEP_MIN (100 ms)
endif # KCONFIG_MODULE_RN2XX3 endif # KCONFIG_USEMODULE_RN2XX3

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_SLIPDEV menuconfig KCONFIG_USEMODULE_SLIPDEV
bool "Configure SLIPDEV driver" bool "Configure SLIPDEV driver"
depends on MODULE_SLIPDEV depends on USEMODULE_SLIPDEV
help help
Configure the SLIPDEV driver using Kconfig. Configure the SLIPDEV driver using Kconfig.
if KCONFIG_MODULE_SLIPDEV if KCONFIG_USEMODULE_SLIPDEV
config SLIPDEV_BUFSIZE_EXP config SLIPDEV_BUFSIZE_EXP
int "Buffer size (as exponent of 2^n)" int "Buffer size (as exponent of 2^n)"
@ -22,4 +22,4 @@ config SLIPDEV_BUFSIZE_EXP
not include full IPv6 MTU. not include full IPv6 MTU.
Value represents the exponent n of 2^n. Value represents the exponent n of 2^n.
endif # KCONFIG_MODULE_SLIPDEV endif # KCONFIG_USEMODULE_SLIPDEV

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_SPS30 menuconfig KCONFIG_USEMODULE_SPS30
bool "Configure SPS30 driver" bool "Configure SPS30 driver"
depends on MODULE_SPS30 depends on USEMODULE_SPS30
help help
Configure the SPS30 driver using Kconfig. Configure the SPS30 driver using Kconfig.
if KCONFIG_MODULE_SPS30 if KCONFIG_USEMODULE_SPS30
config SPS30_ERROR_RETRY config SPS30_ERROR_RETRY
int "Maximum number of error retries" int "Maximum number of error retries"
@ -21,4 +21,4 @@ config SPS30_ERROR_RETRY
The value may be increased if the device is connected over The value may be increased if the device is connected over
suboptimal wiring. suboptimal wiring.
endif # KCONFIG_MODULE_SPS30 endif # KCONFIG_USEMODULE_SPS30

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_TCS37727 menuconfig KCONFIG_USEMODULE_TCS37727
bool "Configure TCS37727 driver" bool "Configure TCS37727 driver"
depends on MODULE_TCS37727 depends on USEMODULE_TCS37727
help help
Configure the TCS37727 driver using Kconfig. Configure the TCS37727 driver using Kconfig.
if KCONFIG_MODULE_TCS37727 if KCONFIG_USEMODULE_TCS37727
config TCS37727_ATIME_DEFAULT config TCS37727_ATIME_DEFAULT
int "RGBC integration time in microseconds" int "RGBC integration time in microseconds"
@ -21,4 +21,4 @@ config TCS37727_ATIME_DEFAULT
of the RGBC reading. Refer to the section "RGBC Time Register" in the of the RGBC reading. Refer to the section "RGBC Time Register" in the
datasheet for more information. datasheet for more information.
endif # KCONFIG_MODULE_TCS37727 endif # KCONFIG_USEMODULE_TCS37727

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_TMP00X menuconfig KCONFIG_USEMODULE_TMP00X
bool "Configure TMP00X driver" bool "Configure TMP00X driver"
depends on MODULE_TMP00X depends on USEMODULE_TMP00X
help help
Configure the TMP00X driver using Kconfig. Configure the TMP00X driver using Kconfig.
if KCONFIG_MODULE_TMP00X if KCONFIG_USEMODULE_TMP00X
config TMP00X_I2C_ADDRESS config TMP00X_I2C_ADDRESS
hex "Default I2C Address" hex "Default I2C Address"
@ -61,4 +61,4 @@ config TMP00X_USE_RAW_VALUES
Enable this to return raw ADC readings. By default measurements are Enable this to return raw ADC readings. By default measurements are
converted to Celsius. converted to Celsius.
endif # KCONFIG_MODULE_TMP00X endif # KCONFIG_USEMODULE_TMP00X

View File

@ -1,10 +1,10 @@
if MODULE_ETHOS if USEMODULE_ETHOS
config GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE config GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE
default y default y
depends on MODULE_GNRC_DHCPV6_CLIENT_6LBR && KCONFIG_MODULE_GNRC_DHCPV6 depends on USEMODULE_GNRC_DHCPV6_CLIENT_6LBR && KCONFIG_USEMODULE_GNRC_DHCPV6
config GNRC_NETIF_IPV6_ADDRS_NUMOF config GNRC_NETIF_IPV6_ADDRS_NUMOF
# CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE=1 requires one more address # CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE=1 requires one more address
# for `fe80::2`. # for `fe80::2`.
default 3 default 3
depends on KCONFIG_MODULE_GNRC_NETIF depends on KCONFIG_USEMODULE_GNRC_NETIF
endif # MODULE_ETHOS endif # USEMODULE_ETHOS

View File

@ -93,8 +93,8 @@ BUILDDEPS += $(KCONFIG_GENERATED_AUTOCONF_HEADER_C) $(FIXDEP)
# Include configuration header when building # Include configuration header when building
CFLAGS += -imacros '$(KCONFIG_GENERATED_AUTOCONF_HEADER_C)' CFLAGS += -imacros '$(KCONFIG_GENERATED_AUTOCONF_HEADER_C)'
USEMODULE_W_PREFIX = $(addprefix MODULE_,$(USEMODULE)) USEMODULE_W_PREFIX = $(addprefix USEMODULE_,$(USEMODULE))
USEPKG_W_PREFIX = $(addprefix PKG_,$(USEPKG)) USEPKG_W_PREFIX = $(addprefix USEPKG_,$(USEPKG))
.PHONY: menuconfig .PHONY: menuconfig
@ -116,7 +116,7 @@ endif
ifneq (clean, $(MAKECMDGOALS)) ifneq (clean, $(MAKECMDGOALS))
# Build a Kconfig file defining all used modules and packages. This is done by # Build a Kconfig file defining all used modules and packages. This is done by
# defining symbols like 'MODULE_<MODULE_NAME>' or PKG_<PACKAGE_NAME> which # defining symbols like 'USEMODULE_<MODULE_NAME>' or USEPKG_<PACKAGE_NAME> which
# default to 'y'. Then, every module and package Kconfig menu will depend on # default to 'y'. Then, every module and package Kconfig menu will depend on
# that symbol being set to show its options. # that symbol being set to show its options.
# Do nothing when testing Kconfig module dependency modelling. # Do nothing when testing Kconfig module dependency modelling.

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_PKG_TINYDTLS menuconfig KCONFIG_USEPKG_TINYDTLS
bool "Configure tinydtls" bool "Configure tinydtls"
depends on PKG_TINYDTLS depends on USEPKG_TINYDTLS
help help
Configure tinydtls package via Kconfig. Configure tinydtls package via Kconfig.
if KCONFIG_PKG_TINYDTLS if KCONFIG_USEPKG_TINYDTLS
# TODO change to multiple choice after DTLS application support enabling more than one types of cypher suites # TODO change to multiple choice after DTLS application support enabling more than one types of cypher suites
choice choice
@ -48,4 +48,4 @@ config DTLS_HANDSHAKE_MAX
help help
The maximum number of concurrent DTLS handshakes. The maximum number of concurrent DTLS handshakes.
endif # KCONFIG_PKG_TINYDTLS endif # KCONFIG_USEPKG_TINYDTLS

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_PKG_WAKAAMA menuconfig KCONFIG_USEPKG_WAKAAMA
bool "Configure Wakaama LwM2M" bool "Configure Wakaama LwM2M"
depends on PKG_WAKAAMA depends on USEPKG_WAKAAMA
help help
Configure Wakaama package via Kconfig. Configure Wakaama package via Kconfig.
if KCONFIG_PKG_WAKAAMA if KCONFIG_USEPKG_WAKAAMA
menu "Remote server" menu "Remote server"
@ -126,4 +126,4 @@ config LWM2M_TLSF_BUFFER
int "Allocation buffer size" int "Allocation buffer size"
default 5120 default 5120
endif # KCONFIG_PKG_WAKAAMA endif # KCONFIG_USEPKG_WAKAAMA

View File

@ -4,9 +4,9 @@
# 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.
# #
menuconfig KCONFIG_MODULE_ASYMCUTE menuconfig KCONFIG_USEMODULE_ASYMCUTE
bool "Configure Asymcute" bool "Configure Asymcute"
depends on MODULE_ASYMCUTE depends on USEMODULE_ASYMCUTE
help help
Configure Asymcute using Kconfig.`Asymcute` is a asynchronous MQTT-SN Configure Asymcute using Kconfig.`Asymcute` is a asynchronous MQTT-SN
client implementation, aiming at providing the user a high degree of client implementation, aiming at providing the user a high degree of
@ -14,7 +14,7 @@ menuconfig KCONFIG_MODULE_ASYMCUTE
any number of concurrent requests to one or more different gateways any number of concurrent requests to one or more different gateways
simultaneously. simultaneously.
if KCONFIG_MODULE_ASYMCUTE if KCONFIG_USEMODULE_ASYMCUTE
config ASYMCUTE_BUFSIZE_EXP config ASYMCUTE_BUFSIZE_EXP
int "Exponent for the buffer size (resulting in the buffer size 2^n)" int "Exponent for the buffer size (resulting in the buffer size 2^n)"
@ -85,4 +85,4 @@ config ASYMCUTE_N_RETRY
information, see MQTT-SN Spec v1.2, section 6.13. For default values, information, see MQTT-SN Spec v1.2, section 6.13. For default values,
see section 7.2 -> Nretry: 3-5. see section 7.2 -> Nretry: 3-5.
endif # KCONFIG_MODULE_ASYMCUTE endif # KCONFIG_USEMODULE_ASYMCUTE

View File

@ -4,16 +4,16 @@
# 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.
# #
menuconfig KCONFIG_MODULE_DHCPV6 menuconfig KCONFIG_USEMODULE_DHCPV6
bool "Configure DHCPv6" bool "Configure DHCPv6"
depends on MODULE_DHCPV6 depends on USEMODULE_DHCPV6
help help
Configure DHCPv6 client using Kconfig. Configure DHCPv6 client using Kconfig.
if KCONFIG_MODULE_DHCPV6 if KCONFIG_USEMODULE_DHCPV6
config DHCPV6_CLIENT_PFX_LEASE_MAX config DHCPV6_CLIENT_PFX_LEASE_MAX
int "Maximum number of prefix leases to be stored" int "Maximum number of prefix leases to be stored"
default 1 default 1
endif # KCONFIG_MODULE_DHCPv6 endif # KCONFIG_USEMODULE_DHCPv6

View File

@ -4,14 +4,14 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GCOAP menuconfig KCONFIG_USEMODULE_GCOAP
bool "Configure Gcoap" bool "Configure Gcoap"
depends on MODULE_GCOAP depends on USEMODULE_GCOAP
help help
Configure Gcoap module using Kconfig. If not set default values and Configure Gcoap module using Kconfig. If not set default values and
CFLAGS will be used. CFLAGS will be used.
if KCONFIG_MODULE_GCOAP if KCONFIG_USEMODULE_GCOAP
config GCOAP_PDU_BUF_SIZE config GCOAP_PDU_BUF_SIZE
int "Request or response buffer size" int "Request or response buffer size"
@ -113,4 +113,4 @@ config GCOAP_NO_AUTO_INIT
Disable gcoap startup during system auto init. If disabled, Disable gcoap startup during system auto init. If disabled,
gcoap_init() must be called by some other means. gcoap_init() must be called by some other means.
endif # KCONFIG_MODULE_GCOAP endif # KCONFIG_USEMODULE_GCOAP

View File

@ -6,15 +6,15 @@
# #
# Nanocoap provides CoAP functionalities # Nanocoap provides CoAP functionalities
config MODULE_NANOCOAP config USEMODULE_NANOCOAP
bool bool
select HAS_PROTOCOL_COAP select HAS_PROTOCOL_COAP
menuconfig KCONFIG_MODULE_NANOCOAP menuconfig KCONFIG_USEMODULE_NANOCOAP
bool "Configure Nanocoap module" bool "Configure Nanocoap module"
depends on MODULE_NANOCOAP depends on USEMODULE_NANOCOAP
if KCONFIG_MODULE_NANOCOAP if KCONFIG_USEMODULE_NANOCOAP
config NANOCOAP_NOPTS_MAX config NANOCOAP_NOPTS_MAX
int "Maximum number of options in a message" int "Maximum number of options in a message"
@ -35,4 +35,4 @@ config NANOCOAP_QS_MAX
int "Maximum length of a query string written to a message" int "Maximum length of a query string written to a message"
default 64 default 64
endif # KCONFIG_MODULE_NANOCOAP endif # KCONFIG_USEMODULE_NANOCOAP

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_SKALD menuconfig KCONFIG_USEMODULE_SKALD
bool "Configure SKALD" bool "Configure SKALD"
depends on MODULE_SKALD depends on USEMODULE_SKALD
help help
Configure Skald, BLE advertising stack, using Kconfig. Configure Skald, BLE advertising stack, using Kconfig.
if KCONFIG_MODULE_SKALD if KCONFIG_USEMODULE_SKALD
config SKALD_INTERVAL config SKALD_INTERVAL
int "Advertising interval in microseconds" int "Advertising interval in microseconds"
@ -28,4 +28,4 @@ config ADV_CH_38_DISABLE
config ADV_CH_39_DISABLE config ADV_CH_39_DISABLE
bool "Disable advertising on channel 39" bool "Disable advertising on channel 39"
endif # KCONFIG_MODULE_SKALD endif # KCONFIG_USEMODULE_SKALD

View File

@ -4,14 +4,14 @@
# 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.
# #
menuconfig KCONFIG_MODULE_CREDMAN menuconfig KCONFIG_USEMODULE_CREDMAN
bool "Configure CREDMAN" bool "Configure CREDMAN"
depends on MODULE_CREDMAN depends on USEMODULE_CREDMAN
help help
Configure CREDMAN, Credentials management module for (D)TLS, using Configure CREDMAN, Credentials management module for (D)TLS, using
Kconfig. Kconfig.
if KCONFIG_MODULE_CREDMAN if KCONFIG_USEMODULE_CREDMAN
config CREDMAN_MAX_CREDENTIALS config CREDMAN_MAX_CREDENTIALS
int "MAX number of credentials in credential pool" int "MAX number of credentials in credential pool"
@ -20,4 +20,4 @@ config CREDMAN_MAX_CREDENTIALS
Configure 'CONFIG_CREDMAN_MAX_CREDENTIALS', the maximum number of Configure 'CONFIG_CREDMAN_MAX_CREDENTIALS', the maximum number of
allowed credentials in the credential pool. allowed credentials in the credential pool.
endif # KCONFIG_MODULE_CREDMAN endif # KCONFIG_USEMODULE_CREDMAN

View File

@ -5,7 +5,7 @@
# directory for more details. # directory for more details.
# #
menu "GNRC Network stack" menu "GNRC Network stack"
depends on MODULE_GNRC depends on USEMODULE_GNRC
rsource "application_layer/dhcpv6/Kconfig" rsource "application_layer/dhcpv6/Kconfig"
rsource "link_layer/gomach/Kconfig" rsource "link_layer/gomach/Kconfig"

View File

@ -1,12 +1,12 @@
menuconfig KCONFIG_MODULE_GNRC_DHCPV6 menuconfig KCONFIG_USEMODULE_GNRC_DHCPV6
bool "Configure GNRC-part of DHCPv6" bool "Configure GNRC-part of DHCPv6"
depends on MODULE_GNRC_DHCPV6 depends on USEMODULE_GNRC_DHCPV6
help help
Configure GNRC-part of DHCPv6 via Kconfig. Configure GNRC-part of DHCPv6 via Kconfig.
if KCONFIG_MODULE_GNRC_DHCPV6 if KCONFIG_USEMODULE_GNRC_DHCPV6
if MODULE_GNRC_DHCPV6_CLIENT_6LBR if USEMODULE_GNRC_DHCPV6_CLIENT_6LBR
config GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM config GNRC_DHCPV6_CLIENT_6LBR_UPSTREAM
int "Identifier for the upstream interface of the 6LoWPAN border router" int "Identifier for the upstream interface of the 6LoWPAN border router"
default 0 default 0
@ -29,6 +29,6 @@ config GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE
that the upstream router can set a static route for the delegated that the upstream router can set a static route for the delegated
prefix via that address. It is recommended to increase at least @ref prefix via that address. It is recommended to increase at least @ref
CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF to that end. CONFIG_GNRC_NETIF_IPV6_ADDRS_NUMOF to that end.
endif # MODULE_GNRC_DHCPV6_CLIENT_6LBR endif # USEMODULE_GNRC_DHCPV6_CLIENT_6LBR
endif # KCONFIG_MODULE_GNRC_DHCPV6 endif # KCONFIG_USEMODULE_GNRC_DHCPV6

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_GOMACH menuconfig KCONFIG_USEMODULE_GNRC_GOMACH
bool "Configure GNRC GOMACH" bool "Configure GNRC GOMACH"
depends on MODULE_GNRC_GOMACH depends on USEMODULE_GNRC_GOMACH
help help
Configure the GNRC GOMACH using Kconfig. Configure the GNRC GOMACH using Kconfig.
if KCONFIG_MODULE_GNRC_GOMACH if KCONFIG_USEMODULE_GNRC_GOMACH
config GNRC_GOMACH_CP_DURATION_US config GNRC_GOMACH_CP_DURATION_US
int "Wake-up period (WP) duration in microseconds" int "Wake-up period (WP) duration in microseconds"
@ -224,4 +224,4 @@ config GNRC_GOMACH_MAX_T2U_RETYR_THRESHOLD
then we re-initiate the radio, trying to re-calibrate the radio for then we re-initiate the radio, trying to re-calibrate the radio for
bringing it back to normal condition. bringing it back to normal condition.
endif # KCONFIG_MODULE_GNRC_GOMACH endif # KCONFIG_USEMODULE_GNRC_GOMACH

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_LORAWAN menuconfig KCONFIG_USEMODULE_GNRC_LORAWAN
bool "Configure GNRC LoRaWAN" bool "Configure GNRC LoRaWAN"
depends on MODULE_GNRC_LORAWAN depends on USEMODULE_GNRC_LORAWAN
help help
Configure GNRC LoRaWAN module using Kconfig. Configure GNRC LoRaWAN module using Kconfig.
if KCONFIG_MODULE_GNRC_LORAWAN if KCONFIG_USEMODULE_GNRC_LORAWAN
config GNRC_LORAWAN_TIMER_DRIFT config GNRC_LORAWAN_TIMER_DRIFT
int "Maximum timer drift" int "Maximum timer drift"
@ -27,4 +27,4 @@ config GNRC_LORAWAN_MIN_SYMBOLS_TIMEOUT
default 30 default 30
range 0 1024 range 0 1024
endif # KCONFIG_MODULE_GNRC_LORAWAN endif # KCONFIG_USEMODULE_GNRC_LORAWAN

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_LWMAC menuconfig KCONFIG_USEMODULE_GNRC_LWMAC
bool "Configure GNRC LWMAC" bool "Configure GNRC LWMAC"
depends on MODULE_GNRC_LWMAC depends on USEMODULE_GNRC_LWMAC
help help
Configure the GNRC LWMAC using Kconfig. Configure the GNRC LWMAC using Kconfig.
if KCONFIG_MODULE_GNRC_LWMAC if KCONFIG_USEMODULE_GNRC_LWMAC
config GNRC_LWMAC_WAKEUP_INTERVAL_US config GNRC_LWMAC_WAKEUP_INTERVAL_US
int "Time between consecutive wake-ups in microseconds" int "Time between consecutive wake-ups in microseconds"
@ -150,4 +150,4 @@ config GNRC_LWMAC_RADIO_REINIT_THRESHOLD
then we re-initialize the radio, trying to re-calibrate the radio for bringing then we re-initialize the radio, trying to re-calibrate the radio for bringing
it back to normal condition. it back to normal condition.
endif # KCONFIG_MODULE_GNRC_LWMAC endif # KCONFIG_USEMODULE_GNRC_LWMAC

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_MAC menuconfig KCONFIG_USEMODULE_GNRC_MAC
bool "Configure GNRC MAC" bool "Configure GNRC MAC"
depends on MODULE_GNRC_MAC depends on USEMODULE_GNRC_MAC
help help
Configure the GNRC MAC using Kconfig. Configure the GNRC MAC using Kconfig.
if KCONFIG_MODULE_GNRC_MAC if KCONFIG_USEMODULE_GNRC_MAC
config GNRC_MAC_RX_QUEUE_SIZE_EXP config GNRC_MAC_RX_QUEUE_SIZE_EXP
int "Exponent for the RX queue size (resulting in the queue size 2^n)" int "Exponent for the RX queue size (resulting in the queue size 2^n)"
@ -43,4 +43,4 @@ config GNRC_MAC_TX_QUEUE_SIZE_EXP
config GNRC_MAC_DISABLE_DUTYCYCLE_RECORD config GNRC_MAC_DISABLE_DUTYCYCLE_RECORD
bool "Disable MAC radio duty-cycle recording and displaying" bool "Disable MAC radio duty-cycle recording and displaying"
endif # KCONFIG_MODULE_GNRC_MAC endif # KCONFIG_USEMODULE_GNRC_MAC

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_NETIF menuconfig KCONFIG_USEMODULE_GNRC_NETIF
bool "Configure GNRC network interface" bool "Configure GNRC network interface"
depends on MODULE_GNRC_NETIF depends on USEMODULE_GNRC_NETIF
help help
Configure GNRC network interface using Kconfig. Configure GNRC network interface using Kconfig.
if KCONFIG_MODULE_GNRC_NETIF if KCONFIG_USEMODULE_GNRC_NETIF
config GNRC_NETIF_MSG_QUEUE_SIZE_EXP config GNRC_NETIF_MSG_QUEUE_SIZE_EXP
int "Exponent for the message queue size for network interface threads (as 2^n)" int "Exponent for the message queue size for network interface threads (as 2^n)"
@ -42,10 +42,10 @@ config GNRC_NETIF_MIN_WAIT_AFTER_SEND_US
config GNRC_NETIF_NONSTANDARD_6LO_MTU config GNRC_NETIF_NONSTANDARD_6LO_MTU
bool "Enable usage of non standard MTU for 6LoWPAN network interfaces" bool "Enable usage of non standard MTU for 6LoWPAN network interfaces"
depends on MODULE_GNRC_NETIF_6LO depends on USEMODULE_GNRC_NETIF_6LO
help help
Enables the usage of non standard MTU for 6LoWPAN network interfaces. Enables the usage of non standard MTU for 6LoWPAN network interfaces.
This is non compliant with RFC 4944 and might not be supported by other This is non compliant with RFC 4944 and might not be supported by other
implementations. implementations.
endif # KCONFIG_MODULE_GNRC_NETIF endif # KCONFIG_USEMODULE_GNRC_NETIF

View File

@ -6,13 +6,13 @@
# #
menu "IPv6" menu "IPv6"
menuconfig KCONFIG_MODULE_GNRC_IPV6 menuconfig KCONFIG_USEMODULE_GNRC_IPV6
bool "Configure GNRC IPv6 module" bool "Configure GNRC IPv6 module"
depends on MODULE_GNRC_IPV6 depends on USEMODULE_GNRC_IPV6
help help
Configure GNRC IPv6 module using Kconfig. Configure GNRC IPv6 module using Kconfig.
if KCONFIG_MODULE_GNRC_IPV6 if KCONFIG_USEMODULE_GNRC_IPV6
config GNRC_IPV6_MSG_QUEUE_SIZE_EXP config GNRC_IPV6_MSG_QUEUE_SIZE_EXP
int "Exponent for the message queue size used for the IPv6 thread (as 2^n)" int "Exponent for the message queue size used for the IPv6 thread (as 2^n)"
@ -22,7 +22,7 @@ config GNRC_IPV6_MSG_QUEUE_SIZE_EXP
represents the exponent of 2^n, which will be used as the size of represents the exponent of 2^n, which will be used as the size of
the queue. the queue.
endif # KCONFIG_MODULE_GNRC_IPV6 endif # KCONFIG_USEMODULE_GNRC_IPV6
rsource "blacklist/Kconfig" rsource "blacklist/Kconfig"
rsource "ext/frag/Kconfig" rsource "ext/frag/Kconfig"

View File

@ -4,16 +4,16 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_IPV6_BLACKLIST menuconfig KCONFIG_USEMODULE_GNRC_IPV6_BLACKLIST
bool "Configure GNRC IPv6 Blacklisting" bool "Configure GNRC IPv6 Blacklisting"
depends on MODULE_GNRC_IPV6_BLACKLIST depends on USEMODULE_GNRC_IPV6_BLACKLIST
help help
Configure GNRC IPv6 Blacklisting module using Kconfig. Configure GNRC IPv6 Blacklisting module using Kconfig.
if KCONFIG_MODULE_GNRC_IPV6_BLACKLIST if KCONFIG_USEMODULE_GNRC_IPV6_BLACKLIST
config GNRC_IPV6_BLACKLIST_SIZE config GNRC_IPV6_BLACKLIST_SIZE
int "Maximum size of the blacklist" int "Maximum size of the blacklist"
default 8 default 8
endif # KCONFIG_MODULE_GNRC_IPV6_BLACKLIST endif # KCONFIG_USEMODULE_GNRC_IPV6_BLACKLIST

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_IPV6_EXT_FRAG menuconfig KCONFIG_USEMODULE_GNRC_IPV6_EXT_FRAG
bool "Configure GNRC IPv6 fragmentation and reassembly" bool "Configure GNRC IPv6 fragmentation and reassembly"
depends on MODULE_GNRC_IPV6_EXT_FRAG depends on USEMODULE_GNRC_IPV6_EXT_FRAG
help help
Configure GNRC IPv6 fragmentation and reassembly via Kconfig. Configure GNRC IPv6 fragmentation and reassembly via Kconfig.
if KCONFIG_MODULE_GNRC_IPV6_EXT_FRAG if KCONFIG_USEMODULE_GNRC_IPV6_EXT_FRAG
config GNRC_IPV6_EXT_FRAG_SEND_SIZE config GNRC_IPV6_EXT_FRAG_SEND_SIZE
int "Number of entries IPv6 in the send buffer" int "Number of entries IPv6 in the send buffer"
@ -47,4 +47,4 @@ config GNRC_IPV6_EXT_FRAG_RBUF_DO_NOT_OVERRIDE
entry when a fragment for a new datagram is received. When set to 1, no entry when a fragment for a new datagram is received. When set to 1, no
entry will be overwritten (they will still timeout normally) entry will be overwritten (they will still timeout normally)
endif # KCONFIG_MODULE_GNRC_IPV6_EXT_FRAG endif # KCONFIG_USEMODULE_GNRC_IPV6_EXT_FRAG

View File

@ -4,55 +4,55 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_IPV6_NIB menuconfig KCONFIG_USEMODULE_GNRC_IPV6_NIB
bool "Configure GNRC IPv6 NIB" bool "Configure GNRC IPv6 NIB"
if KCONFIG_MODULE_GNRC_IPV6_NIB if KCONFIG_USEMODULE_GNRC_IPV6_NIB
config GNRC_IPV6_NIB_6LBR config GNRC_IPV6_NIB_6LBR
bool "6LoWPAN border router features" bool "6LoWPAN border router features"
default y if MODULE_GNRC_IPV6_NIB_6LBR default y if USEMODULE_GNRC_IPV6_NIB_6LBR
help help
Enable 6LoWPAN Border Router (6LBR) features. Enable 6LoWPAN Border Router (6LBR) features.
@see https://tools.ietf.org/html/rfc6775#section-2 @see https://tools.ietf.org/html/rfc6775#section-2
config GNRC_IPV6_NIB_6LR config GNRC_IPV6_NIB_6LR
bool "6LoWPAN router features" bool "6LoWPAN router features"
default y if MODULE_GNRC_IPV6_NIB_6LR || GNRC_IPV6_NIB_6LBR default y if USEMODULE_GNRC_IPV6_NIB_6LR || GNRC_IPV6_NIB_6LBR
help help
Enable 6LoWPAN Router (6LR) features. Enable 6LoWPAN Router (6LR) features.
@see https://tools.ietf.org/html/rfc6775#section-2 @see https://tools.ietf.org/html/rfc6775#section-2
config GNRC_IPV6_NIB_6LN config GNRC_IPV6_NIB_6LN
bool "6LoWPAN node features" bool "6LoWPAN node features"
default y if MODULE_GNRC_IPV6_NIB_6LN || GNRC_IPV6_NIB_6LR default y if USEMODULE_GNRC_IPV6_NIB_6LN || GNRC_IPV6_NIB_6LR
help help
Enable 6LoWPAN Node (6LN) features. Enable 6LoWPAN Node (6LN) features.
@see https://tools.ietf.org/html/rfc6775#section-2 @see https://tools.ietf.org/html/rfc6775#section-2
config GNRC_IPV6_NIB_ROUTER config GNRC_IPV6_NIB_ROUTER
bool "Router features" bool "Router features"
default y if MODULE_GNRC_IPV6_NIB_ROUTER || GNRC_IPV6_NIB_6LR default y if USEMODULE_GNRC_IPV6_NIB_ROUTER || GNRC_IPV6_NIB_6LR
config GNRC_IPV6_NIB_SLAAC config GNRC_IPV6_NIB_SLAAC
bool "Stateless address auto-configuration" bool "Stateless address auto-configuration"
default y if MODULE_GNRC_IPV6_NIB_6LBR default y if USEMODULE_GNRC_IPV6_NIB_6LBR
default n if MODULE_GNRC_IPV6_NIB_6LR || MODULE_GNRC_IPV6_NIB_6LN default n if USEMODULE_GNRC_IPV6_NIB_6LR || USEMODULE_GNRC_IPV6_NIB_6LN
default y default y
config GNRC_IPV6_NIB_QUEUE_PKT config GNRC_IPV6_NIB_QUEUE_PKT
bool "Use packet queue with address resolution" bool "Use packet queue with address resolution"
default n if MODULE_GNRC_IPV6_NIB_6LN || GNRC_IPV6_NIB_6LN default n if USEMODULE_GNRC_IPV6_NIB_6LN || GNRC_IPV6_NIB_6LN
default y default y
config GNRC_IPV6_NIB_ARSM config GNRC_IPV6_NIB_ARSM
bool "Use classic NDP address resolution state-machine" bool "Use classic NDP address resolution state-machine"
default n if MODULE_GNRC_IPV6_NIB_6LN && !GNRC_IPV6_NIB_6LR default n if USEMODULE_GNRC_IPV6_NIB_6LN && !GNRC_IPV6_NIB_6LR
default y default y
config GNRC_IPV6_NIB_DNS config GNRC_IPV6_NIB_DNS
bool "Support for DNS configuration options" bool "Support for DNS configuration options"
default y if MODULE_GNRC_IPV6_NIB_DNS default y if USEMODULE_GNRC_IPV6_NIB_DNS
config GNRC_IPV6_NIB_ADV_ROUTER config GNRC_IPV6_NIB_ADV_ROUTER
bool "Activate router advertising at interface start-up" bool "Activate router advertising at interface start-up"
@ -78,8 +78,8 @@ endif
config GNRC_IPV6_NIB_NUMOF config GNRC_IPV6_NIB_NUMOF
int "Number of entries in NIB" int "Number of entries in NIB"
default 16 if MODULE_GNRC_IPV6_NIB_6LBR default 16 if USEMODULE_GNRC_IPV6_NIB_6LBR
default 1 if MODULE_GNRC_IPV6_NIB_6LN && !GNRC_IPV6_NIB_6LR default 1 if USEMODULE_GNRC_IPV6_NIB_6LN && !GNRC_IPV6_NIB_6LR
default 4 default 4
config GNRC_IPV6_NIB_REACH_TIME_RESET config GNRC_IPV6_NIB_REACH_TIME_RESET
@ -118,4 +118,4 @@ comment "Warning: Behavior for more than 2 Authoritative Border Router entries"
comment "is currently not specified or tested." comment "is currently not specified or tested."
endif endif
endif # KCONFIG_MODULE_GNRC_IPV6_NIB endif # KCONFIG_USEMODULE_GNRC_IPV6_NIB

View File

@ -4,16 +4,16 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_IPV6_WHITELIST menuconfig KCONFIG_USEMODULE_GNRC_IPV6_WHITELIST
bool "Configure GNRC IPv6 Whitelisting" bool "Configure GNRC IPv6 Whitelisting"
depends on MODULE_GNRC_IPV6_WHITELIST depends on USEMODULE_GNRC_IPV6_WHITELIST
help help
Configure GNRC IPv6 Whitelisting module using Kconfig. Configure GNRC IPv6 Whitelisting module using Kconfig.
if KCONFIG_MODULE_GNRC_IPV6_WHITELIST if KCONFIG_USEMODULE_GNRC_IPV6_WHITELIST
config GNRC_IPV6_WHITELIST_SIZE config GNRC_IPV6_WHITELIST_SIZE
int "Maximum size of the whitelist" int "Maximum size of the whitelist"
default 8 default 8
endif # KCONFIG_MODULE_GNRC_IPV6_WHITELIST endif # KCONFIG_USEMODULE_GNRC_IPV6_WHITELIST

View File

@ -5,13 +5,13 @@
# directory for more details. # directory for more details.
# #
menuconfig KCONFIG_MODULE_GNRC_SIXLOWPAN menuconfig KCONFIG_USEMODULE_GNRC_SIXLOWPAN
bool "Configure GNRC 6LoWPAN" bool "Configure GNRC 6LoWPAN"
depends on MODULE_GNRC_SIXLOWPAN depends on USEMODULE_GNRC_SIXLOWPAN
help help
Configure GNRC 6LoWPAN module using Kconfig. Configure GNRC 6LoWPAN module using Kconfig.
if KCONFIG_MODULE_GNRC_SIXLOWPAN if KCONFIG_USEMODULE_GNRC_SIXLOWPAN
rsource "frag/Kconfig" rsource "frag/Kconfig"
rsource "nd/Kconfig" rsource "nd/Kconfig"
@ -24,4 +24,4 @@ config GNRC_SIXLOWPAN_MSG_QUEUE_SIZE_EXP
represents the exponent of 2^n, which will be used as the size of represents the exponent of 2^n, which will be used as the size of
the queue. the queue.
endif # KCONFIG_MODULE_GNRC_SIXLOWPAN endif # KCONFIG_USEMODULE_GNRC_SIXLOWPAN

View File

@ -5,10 +5,10 @@
# directory for more details. # directory for more details.
# #
if MODULE_GNRC_SIXLOWPAN_FRAG if USEMODULE_GNRC_SIXLOWPAN_FRAG
rsource "fb/Kconfig" rsource "fb/Kconfig"
rsource "rb/Kconfig" rsource "rb/Kconfig"
rsource "vrb/Kconfig" rsource "vrb/Kconfig"
endif # MODULE_GNRC_SIXLOWPAN_FRAG endif # USEMODULE_GNRC_SIXLOWPAN_FRAG

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_FB menuconfig KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_FB
bool "Configure GNRC 6LoWPAN Fragmentation buffer" bool "Configure GNRC 6LoWPAN Fragmentation buffer"
depends on MODULE_GNRC_SIXLOWPAN_FRAG_FB depends on USEMODULE_GNRC_SIXLOWPAN_FRAG_FB
help help
Configure GNRC 6LoWPAN Fragmentation buffer using Kconfig. Configure GNRC 6LoWPAN Fragmentation buffer using Kconfig.
if KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_FB if KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_FB
config GNRC_SIXLOWPAN_FRAG_FB_SIZE config GNRC_SIXLOWPAN_FRAG_FB_SIZE
int "Number of datagrams that can be fragmented simultaneously" int "Number of datagrams that can be fragmented simultaneously"
@ -19,4 +19,4 @@ config GNRC_SIXLOWPAN_FRAG_FB_SIZE
This determines the number of @ref gnrc_sixlowpan_frag_fb_t instances This determines the number of @ref gnrc_sixlowpan_frag_fb_t instances
available. available.
endif # KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_FB endif # KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_FB

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_RB menuconfig KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_RB
bool "Configure GNRC 6LoWPAN Reassembly buffer" bool "Configure GNRC 6LoWPAN Reassembly buffer"
depends on MODULE_GNRC_SIXLOWPAN_FRAG_RB depends on USEMODULE_GNRC_SIXLOWPAN_FRAG_RB
help help
Configure GNRC 6LoWPAN Reassembly buffer using Kconfig. Configure GNRC 6LoWPAN Reassembly buffer using Kconfig.
if KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_RB if KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_RB
config GNRC_SIXLOWPAN_FRAG_RBUF_SIZE config GNRC_SIXLOWPAN_FRAG_RBUF_SIZE
int "Size of the reassembly buffer" int "Size of the reassembly buffer"
@ -39,4 +39,4 @@ config GNRC_SIXLOWPAN_FRAG_RBUF_DEL_TIMER
of a reassembly buffer entry on late arriving link-layer of a reassembly buffer entry on late arriving link-layer
uplicates. uplicates.
endif # KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_RB endif # KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_RB

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_VRB menuconfig KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_VRB
bool "Configure GNRC 6LoWPAN Virtual reassembly buffer" bool "Configure GNRC 6LoWPAN Virtual reassembly buffer"
depends on MODULE_GNRC_SIXLOWPAN_FRAG_VRB depends on USEMODULE_GNRC_SIXLOWPAN_FRAG_VRB
help help
Configure GNRC 6LoWPAN Virtual reassembly buffer module using Kconfig. Configure GNRC 6LoWPAN Virtual reassembly buffer module using Kconfig.
if KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_VRB if KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_VRB
config GNRC_SIXLOWPAN_FRAG_VRB_SIZE config GNRC_SIXLOWPAN_FRAG_VRB_SIZE
int "Size of the virtual reassembly buffer" int "Size of the virtual reassembly buffer"
@ -23,4 +23,4 @@ config GNRC_SIXLOWPAN_FRAG_VRB_TIMEOUT_US
int "Timeout for a virtual reassembly buffer entry in microseconds" int "Timeout for a virtual reassembly buffer entry in microseconds"
default 3000000 default 3000000
endif # KCONFIG_MODULE_GNRC_SIXLOWPAN_FRAG_VRB endif # KCONFIG_USEMODULE_GNRC_SIXLOWPAN_FRAG_VRB

View File

@ -4,21 +4,21 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_SIXLOWPAN_ND menuconfig KCONFIG_USEMODULE_GNRC_SIXLOWPAN_ND
bool "Configure GNRC 6LoWPAN Neighbor Discovery" bool "Configure GNRC 6LoWPAN Neighbor Discovery"
depends on MODULE_GNRC_SIXLOWPAN_ND depends on USEMODULE_GNRC_SIXLOWPAN_ND
help help
Configure GNRC 6LoWPAN Neighbor Discovery module using Kconfig. Configure GNRC 6LoWPAN Neighbor Discovery module using Kconfig.
if KCONFIG_MODULE_GNRC_SIXLOWPAN_ND if KCONFIG_USEMODULE_GNRC_SIXLOWPAN_ND
config GNRC_SIXLOWPAN_ND_AR_LTIME config GNRC_SIXLOWPAN_ND_AR_LTIME
int "Registration lifetime for the address registration option in minutes" int "Registration lifetime for the address registration option in minutes"
depends on MODULE_GNRC_IPV6_NIB depends on USEMODULE_GNRC_IPV6_NIB
default 15 default 15
help help
This value should be adapted to the devices power-lifecycle so that it is This value should be adapted to the devices power-lifecycle so that it is
greater than the time the device spends sleeping. See RFC 6775, section greater than the time the device spends sleeping. See RFC 6775, section
5.8.1. 5.8.1.
endif # KCONFIG_MODULE_GNRC_SIXLOWPAN_ND endif # KCONFIG_USEMODULE_GNRC_SIXLOWPAN_ND

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_PKTBUF_STATIC menuconfig KCONFIG_USEMODULE_GNRC_PKTBUF_STATIC
bool "Configure the GNRC Packet Buffer" bool "Configure the GNRC Packet Buffer"
depends on MODULE_GNRC_PKTBUF_STATIC depends on USEMODULE_GNRC_PKTBUF_STATIC
help help
Configure the GNRC_PKTBUF using Kconfig. Configure the GNRC_PKTBUF using Kconfig.
if KCONFIG_MODULE_GNRC_PKTBUF_STATIC if KCONFIG_USEMODULE_GNRC_PKTBUF_STATIC
config GNRC_PKTBUF_SIZE config GNRC_PKTBUF_SIZE
int "Maximum size of the static packet buffer" int "Maximum size of the static packet buffer"
@ -21,4 +21,4 @@ config GNRC_PKTBUF_SIZE
packets (2 incoming, 2 outgoing; 2 * 2 * 1280 B = 5 KiB) + Meta-Data packets (2 incoming, 2 outgoing; 2 * 2 * 1280 B = 5 KiB) + Meta-Data
(roughly estimated to 1 KiB; might be smaller). (roughly estimated to 1 KiB; might be smaller).
endif # KCONFIG_MODULE_GNRC_PKTBUF_STATIC endif # KCONFIG_USEMODULE_GNRC_PKTBUF_STATIC

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_PKTDUMP menuconfig KCONFIG_USEMODULE_GNRC_PKTDUMP
bool "Configure GNRC Packet Dump" bool "Configure GNRC Packet Dump"
depends on MODULE_GNRC_PKTDUMP depends on USEMODULE_GNRC_PKTDUMP
help help
Configure the GNRC_PKTDUMP using Kconfig. Configure the GNRC_PKTDUMP using Kconfig.
if KCONFIG_MODULE_GNRC_PKTDUMP if KCONFIG_USEMODULE_GNRC_PKTDUMP
config GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP config GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP
int "Exponent for the queue size (resulting in the queue size 2^n)" int "Exponent for the queue size (resulting in the queue size 2^n)"
@ -20,4 +20,4 @@ config GNRC_PKTDUMP_MSG_QUEUE_SIZE_EXP
represents the exponent of 2^n, which will be used as the size of represents the exponent of 2^n, which will be used as the size of
the queue. the queue.
endif # KCONFIG_MODULE_GNRC_PKTDUMP endif # KCONFIG_USEMODULE_GNRC_PKTDUMP

View File

@ -5,11 +5,11 @@
# directory for more details. # directory for more details.
# #
menuconfig KCONFIG_MODULE_GNRC_RPL menuconfig KCONFIG_USEMODULE_GNRC_RPL
bool "Configure RPL routing protocol" bool "Configure RPL routing protocol"
depends on MODULE_GNRC_RPL depends on USEMODULE_GNRC_RPL
if KCONFIG_MODULE_GNRC_RPL if KCONFIG_USEMODULE_GNRC_RPL
menu "Trickle parameters" menu "Trickle parameters"
@ -141,7 +141,7 @@ config GNRC_RPL_PARENT_TIMEOUT_DIS_RETRIES
config GNRC_RPL_DEFAULT_NETIF config GNRC_RPL_DEFAULT_NETIF
int "Default network interface to run the protocol on" int "Default network interface to run the protocol on"
default 0 default 0
depends on MODULE_AUTO_INIT_GNRC_RPL depends on USEMODULE_AUTO_INIT_GNRC_RPL
config GNRC_RPL_MSG_QUEUE_SIZE_EXP config GNRC_RPL_MSG_QUEUE_SIZE_EXP
int "Exponent for the thread's message queue size (as 2^n)" int "Exponent for the thread's message queue size (as 2^n)"
@ -151,4 +151,4 @@ config GNRC_RPL_MSG_QUEUE_SIZE_EXP
represents the exponent of 2^n, which will be used as the size of represents the exponent of 2^n, which will be used as the size of
the queue. the queue.
endif # KCONFIG_MODULE_GNRC_RPL endif # KCONFIG_USEMODULE_GNRC_RPL

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_GNRC_TCP menuconfig KCONFIG_USEMODULE_GNRC_TCP
bool "Configure GNRC_TCP" bool "Configure GNRC_TCP"
depends on MODULE_GNRC_TCP depends on USEMODULE_GNRC_TCP
help help
Configure the GNRC_TCP using Kconfig. Configure the GNRC_TCP using Kconfig.
if KCONFIG_MODULE_GNRC_TCP if KCONFIG_USEMODULE_GNRC_TCP
config GNRC_TCP_CONNECTION_TIMEOUT_DURATION config GNRC_TCP_CONNECTION_TIMEOUT_DURATION
int "Timeout duration for user calls in microseconds" int "Timeout duration for user calls in microseconds"
@ -28,7 +28,7 @@ config GNRC_TCP_MSL
config GNRC_TCP_MSS config GNRC_TCP_MSS
int "Maximum Segment Size (MSS)" int "Maximum Segment Size (MSS)"
default 1220 if MODULE_GNRC_IPV6 default 1220 if USEMODULE_GNRC_IPV6
default 576 default 576
config GNRC_TCP_MSS_MULTIPLICATOR config GNRC_TCP_MSS_MULTIPLICATOR
@ -48,7 +48,7 @@ config GNRC_TCP_DEFAULT_WINDOW_EN
config GNRC_TCP_DEFAULT_WINDOW config GNRC_TCP_DEFAULT_WINDOW
int "TCP receive window size" int "TCP receive window size"
default 1220 if MODULE_GNRC_IPV6 default 1220 if USEMODULE_GNRC_IPV6
default 576 default 576
depends on GNRC_TCP_DEFAULT_WINDOW_EN depends on GNRC_TCP_DEFAULT_WINDOW_EN
help help
@ -126,4 +126,4 @@ config GNRC_TCP_EVENTLOOP_MSG_QUEUE_SIZE_SIZE_EXP
The number of elements in a message queue must be always a power of two. The number of elements in a message queue must be always a power of two.
This value defines the exponent of 2^n. This value defines the exponent of 2^n.
endif # KCONFIG_MODULE_GNRC_TCP endif # KCONFIG_USEMODULE_GNRC_TCP

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_CSMA_SENDER menuconfig KCONFIG_USEMODULE_CSMA_SENDER
bool "Configure CSMA sender" bool "Configure CSMA sender"
depends on MODULE_CSMA_SENDER depends on USEMODULE_CSMA_SENDER
help help
Configure the CSMA_SENDER using Kconfig. Configure the CSMA_SENDER using Kconfig.
if KCONFIG_MODULE_CSMA_SENDER if KCONFIG_USEMODULE_CSMA_SENDER
config CSMA_SENDER_MIN_BE_DEFAULT config CSMA_SENDER_MIN_BE_DEFAULT
int "Exponent for minimum CSMA/CA backoff time" int "Exponent for minimum CSMA/CA backoff time"
@ -39,4 +39,4 @@ config CSMA_SENDER_BACKOFF_PERIOD_UNIT
Configure 'CONFIG_CSMA_SENDER_BACKOFF_PERIOD_UNIT'. Maximum and Minimum Configure 'CONFIG_CSMA_SENDER_BACKOFF_PERIOD_UNIT'. Maximum and Minimum
CSMA backoff time depends on unit times the value of this configuration. CSMA backoff time depends on unit times the value of this configuration.
endif # KCONFIG_MODULE_CSMA_SENDER endif # KCONFIG_USEMODULE_CSMA_SENDER

View File

@ -4,13 +4,13 @@
# 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.
menuconfig KCONFIG_MODULE_IEEE802154 menuconfig KCONFIG_USEMODULE_IEEE802154
bool "Configure IEEE802.15.4" bool "Configure IEEE802.15.4"
depends on MODULE_IEEE802154 depends on USEMODULE_IEEE802154
help help
Configure IEEE802.15.4 module using Kconfig Configure IEEE802.15.4 module using Kconfig
if KCONFIG_MODULE_IEEE802154 if KCONFIG_USEMODULE_IEEE802154
config IEEE802154_DEFAULT_SUBGHZ_CHANNEL config IEEE802154_DEFAULT_SUBGHZ_CHANNEL
int "IEEE802.15.4 default sub-GHZ channel" int "IEEE802.15.4 default sub-GHZ channel"
@ -33,4 +33,4 @@ if KCONFIG_MODULE_IEEE802154
int "IEEE802.15.4 default TX power (in dBm)" int "IEEE802.15.4 default TX power (in dBm)"
default 0 default 0
endif # KCONFIG_MODULE_IEEE802154 endif # KCONFIG_USEMODULE_IEEE802154

View File

@ -4,14 +4,14 @@
# 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.
# #
menuconfig KCONFIG_MODULE_L2FILTER menuconfig KCONFIG_USEMODULE_L2FILTER
bool "Configure L2filter" bool "Configure L2filter"
depends on MODULE_L2FILTER depends on USEMODULE_L2FILTER
help help
Configure L2filter using Kconfig. This module is used for filtering Configure L2filter using Kconfig. This module is used for filtering
(allowlisting or denylisting) link layer addresses. (allowlisting or denylisting) link layer addresses.
if KCONFIG_MODULE_L2FILTER if KCONFIG_USEMODULE_L2FILTER
config L2FILTER_ADDR_MAXLEN config L2FILTER_ADDR_MAXLEN
int "Maximum length of addresses that can be stored in the filter list" int "Maximum length of addresses that can be stored in the filter list"
@ -21,4 +21,4 @@ config L2FILTER_LISTSIZE
int "Number of slots in each filter list (filter entries per device)" int "Number of slots in each filter list (filter entries per device)"
default 8 default 8
endif # KCONFIG_MODULE_L2FILTER endif # KCONFIG_USEMODULE_L2FILTER

View File

@ -4,16 +4,16 @@
# 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.
# #
menuconfig KCONFIG_MODULE_NETIF menuconfig KCONFIG_USEMODULE_NETIF
bool "Configure Network Interfaces" bool "Configure Network Interfaces"
depends on MODULE_NETIF depends on USEMODULE_NETIF
help help
Configure Network Interfaces (NETIF) using Kconfig. Configure Network Interfaces (NETIF) using Kconfig.
if KCONFIG_MODULE_NETIF if KCONFIG_USEMODULE_NETIF
config NETIF_NAMELENMAX config NETIF_NAMELENMAX
int "Maximum length for an interface name" int "Maximum length for an interface name"
default 8 default 8
endif # KCONFIG_MODULE_NETIF endif # KCONFIG_USEMODULE_NETIF

View File

@ -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.
# #
menuconfig KCONFIG_MODULE_SOCK_UTIL menuconfig KCONFIG_USEMODULE_SOCK_UTIL
bool "Configure SOCK utility functions" bool "Configure SOCK utility functions"
depends on MODULE_SOCK_UTIL depends on USEMODULE_SOCK_UTIL
if KCONFIG_MODULE_SOCK_UTIL if KCONFIG_USEMODULE_SOCK_UTIL
config SOCK_SCHEME_MAXLEN config SOCK_SCHEME_MAXLEN
int "Maximum length of the scheme part" int "Maximum length of the scheme part"
@ -28,4 +28,4 @@ config SOCK_URLPATH_MAXLEN
help help
This value is used in sock_urlsplit(). This value is used in sock_urlsplit().
endif # KCONFIG_MODULE_SOCK_UTIL endif # KCONFIG_USEMODULE_SOCK_UTIL

View File

@ -6,7 +6,7 @@
# #
menuconfig KCONFIG_USB menuconfig KCONFIG_USB
bool "Configure USB" bool "Configure USB"
depends on MODULE_USBUS depends on USEMODULE_USBUS
help help
Configure the USB peripheral via Kconfig. Configure the USB peripheral via Kconfig.

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_USBUS menuconfig KCONFIG_USEMODULE_USBUS
bool "Configure USB Unified Stack (USBUS)" bool "Configure USB Unified Stack (USBUS)"
depends on MODULE_USBUS depends on USEMODULE_USBUS
help help
Configure the USBUS module via Kconfig. Configure the USBUS module via Kconfig.
if KCONFIG_MODULE_USBUS if KCONFIG_USEMODULE_USBUS
config USBUS_AUTO_ATTACH config USBUS_AUTO_ATTACH
bool "Auto attach" bool "Auto attach"
@ -44,4 +44,4 @@ endchoice
rsource "cdc/Kconfig" rsource "cdc/Kconfig"
endif # KCONFIG_MODULE_USBUS endif # KCONFIG_USEMODULE_USBUS

View File

@ -4,19 +4,19 @@
# 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.
# #
menuconfig KCONFIG_MODULE_USBUS_CDC_ACM menuconfig KCONFIG_USEMODULE_USBUS_CDC_ACM
bool "Configure USBUS CDC ACM" bool "Configure USBUS CDC ACM"
depends on MODULE_USBUS_CDC_ACM depends on USEMODULE_USBUS_CDC_ACM
help help
Configure the USBUS CDC ACM module via Kconfig. Configure the USBUS CDC ACM module via Kconfig.
if KCONFIG_MODULE_USBUS_CDC_ACM if KCONFIG_USEMODULE_USBUS_CDC_ACM
config USBUS_CDC_ACM_STDIO_BUF_SIZE_EXP config USBUS_CDC_ACM_STDIO_BUF_SIZE_EXP
int "Buffer size for STDIN and STDOUT data (as exponent of 2^n)" int "Buffer size for STDIN and STDOUT data (as exponent of 2^n)"
default 7 default 7
range 0 31 range 0 31
depends on MODULE_STDIO_CDC_ACM depends on USEMODULE_STDIO_CDC_ACM
help help
As buffer size ALWAYS needs to be power of two, this changes this option As buffer size ALWAYS needs to be power of two, this changes this option
represents the exponent of 2^n, which will be used as the size of the represents the exponent of 2^n, which will be used as the size of the
@ -43,4 +43,4 @@ config USBUS_CDC_ACM_BULK_EP_SIZE_64
endchoice endchoice
endif # KCONFIG_MODULE_USBUS_CDC_ACM endif # KCONFIG_USEMODULE_USBUS_CDC_ACM

View File

@ -4,13 +4,13 @@
# 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.
# #
menuconfig KCONFIG_MODULE_USBUS_CDC_ECM menuconfig KCONFIG_USEMODULE_USBUS_CDC_ECM
bool "Configure USBUS CDC ECM" bool "Configure USBUS CDC ECM"
depends on MODULE_USBUS_CDC_ECM depends on USEMODULE_USBUS_CDC_ECM
help help
Configure the USBUS CDC ECM module via Kconfig. Configure the USBUS CDC ECM module via Kconfig.
if KCONFIG_MODULE_USBUS_CDC_ECM if KCONFIG_USEMODULE_USBUS_CDC_ECM
config USBUS_CDC_ECM_CONFIG_SPEED_IND config USBUS_CDC_ECM_CONFIG_SPEED_IND
bool "Configure upload and download speeds independently" bool "Configure upload and download speeds independently"
@ -40,4 +40,4 @@ config USBUS_CDC_ECM_CONFIG_SPEED_UPSTREAM
This is the link upload speed, defined in bits/second, that the USB This is the link upload speed, defined in bits/second, that the USB
peripheral will report to the host. peripheral will report to the host.
endif # KCONFIG_MODULE_USBUS_CDC_ECM endif # KCONFIG_USEMODULE_USBUS_CDC_ECM

View File

@ -1,10 +1,10 @@
if MODULE_ETHOS if USEMODULE_ETHOS
config GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE config GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE
default y default y
depends on MODULE_GNRC_DHCPV6_CLIENT_6LBR && KCONFIG_MODULE_GNRC_DHCPV6 depends on USEMODULE_GNRC_DHCPV6_CLIENT_6LBR && KCONFIG_USEMODULE_GNRC_DHCPV6
config GNRC_NETIF_IPV6_ADDRS_NUMOF config GNRC_NETIF_IPV6_ADDRS_NUMOF
# CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE=1 requires one more address # CONFIG_GNRC_DHCPV6_CLIENT_6LBR_STATIC_ROUTE=1 requires one more address
# for `fe80::2`. # for `fe80::2`.
default 3 default 3
depends on KCONFIG_MODULE_GNRC_NETIF depends on KCONFIG_USEMODULE_GNRC_NETIF
endif # MODULE_ETHOS endif # USEMODULE_ETHOS

View File

@ -1,3 +1,3 @@
# This test fails if the pool size is less than 3 # This test fails if the pool size is less than 3
CONFIG_KCONFIG_MODULE_GNRC_IPV6_EXT_FRAG=y CONFIG_KCONFIG_USEMODULE_GNRC_IPV6_EXT_FRAG=y
CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE=3 CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE=3