diff --git a/.murdock b/.murdock index 3f55f40018..825f0a5d42 100755 --- a/.murdock +++ b/.murdock @@ -16,8 +16,12 @@ tests/driver_b* tests/driver_ccs811 tests/driver_ccs811_full tests/driver_dcf77 tests/driver_dfplayer tests/driver_dht tests/driver_ds18 tests/driver_ds75lx tests/driver_ds1307 tests/driver_ds3231 tests/driver_ds3234 tests/driver_dsp0401 tests/driver_dynamixel tests/driver_edbg_eui tests/driver_f* tests/driver_g* -tests/driver_h* tests/driver_i* tests/driver_j* tests/driver_my9221 -tests/driver_o* tests/driver_p* tests/driver_q* tests/driver_r*"} +tests/driver_h* tests/driver_i* tests/driver_j* tests/driver_l* +tests/driver_mag3110 tests/driver_mhz19 tests/driver_mma7660 +tests/driver_motor_driver tests/driver_mpl3115a2 tests/driver_mpu9x50 +tests/driver_mq3 tests/driver_my9221 tests/driver_nvram_spi tests/mtd_flashpage +tests/mtd_mapper tests/driver_o* tests/driver_p* tests/driver_q* +tests/driver_r*"} : ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*"} export RIOT_CI_BUILD=1 diff --git a/cpu/lpc23xx/Kconfig b/cpu/lpc23xx/Kconfig index f53f470748..53951c9a7b 100644 --- a/cpu/lpc23xx/Kconfig +++ b/cpu/lpc23xx/Kconfig @@ -41,4 +41,5 @@ config CPU_MODEL config CPU default "lpc23xx" if CPU_FAM_LPC23XX +rsource "mci/Kconfig" source "$(RIOTCPU)/arm7_common/Kconfig" diff --git a/cpu/lpc23xx/mci/Kconfig b/cpu/lpc23xx/mci/Kconfig new file mode 100644 index 0000000000..22ae4d913b --- /dev/null +++ b/cpu/lpc23xx/mci/Kconfig @@ -0,0 +1,11 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MCI + bool "LPC23XX Multimedia Card Interface (MCI) driver" + depends on CPU_FAM_LPC23XX + depends on TEST_KCONFIG diff --git a/drivers/Kconfig b/drivers/Kconfig index edba6fd645..8a5e802827 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -78,9 +78,22 @@ rsource "isl29125/Kconfig" rsource "itg320x/Kconfig" rsource "jc42/Kconfig" rsource "l3g4200d/Kconfig" +rsource "lc709203f/Kconfig" +rsource "lis2dh12/Kconfig" +rsource "lis3dh/Kconfig" +rsource "lis3mdl/Kconfig" +rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" +rsource "lsm6dsl/Kconfig" +rsource "lsm303dlhc/Kconfig" +rsource "ltc4150/Kconfig" rsource "mag3110/Kconfig" +rsource "mhz19/Kconfig" rsource "mma8x5x/Kconfig" +rsource "mma7660/Kconfig" +rsource "mpl3115a2/Kconfig" +rsource "mpu9x50/Kconfig" +rsource "mq3/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/Kconfig" @@ -98,7 +111,13 @@ menu "Storage Device Drivers" rsource "at24cxxx/Kconfig" rsource "at25xxx/Kconfig" rsource "mtd/Kconfig" +rsource "mtd_flashpage/Kconfig" +rsource "mtd_mapper/Kconfig" +rsource "mtd_mci/Kconfig" rsource "mtd_sdcard/Kconfig" +rsource "mtd_spi_nor/Kconfig" +rsource "nvram/Kconfig" +rsource "nvram_spi/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index e85d0ba9c2..d3f719ba8d 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -10,7 +10,9 @@ rsource "ata8520e/Kconfig" rsource "can_trx/Kconfig" rsource "cc110x/Kconfig" rsource "dose/Kconfig" +rsource "mcp2515/Kconfig" rsource "mrf24j40/Kconfig" +rsource "ncv7356/Kconfig" rsource "pn532/Kconfig" rsource "rn2xx3/Kconfig" rsource "slipdev/Kconfig" diff --git a/drivers/l3g4200d/Kconfig b/drivers/l3g4200d/Kconfig index 80583f8e87..cf57c1caf3 100644 --- a/drivers/l3g4200d/Kconfig +++ b/drivers/l3g4200d/Kconfig @@ -1,9 +1,17 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_L3G4200D + bool "L3G4200D gyroscope" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + menuconfig KCONFIG_USEMODULE_L3G4200D bool "Configure L3G4200D driver" depends on USEMODULE_L3G4200D diff --git a/drivers/lc709203f/Kconfig b/drivers/lc709203f/Kconfig new file mode 100644 index 0000000000..e3bc874ddc --- /dev/null +++ b/drivers/lc709203f/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LC709203F + bool "LC709203F Battery Fuel Gauge" + depends on HAS_PERIPH_I2C + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ diff --git a/drivers/lis2dh12/Kconfig b/drivers/lis2dh12/Kconfig new file mode 100644 index 0000000000..57ab1d5c68 --- /dev/null +++ b/drivers/lis2dh12/Kconfig @@ -0,0 +1,36 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +menuconfig MODULE_LIS2DH12 + bool "LIS2DH12 Accelerometer" + depends on TEST_KCONFIG + +if MODULE_LIS2DH12 + +choice + bool "Device interface" + +config MODULE_LIS2DH12_I2C + bool "I2C" + depends on HAS_PERIPH_I2C + select MODULE_PERIPH_I2C + +config MODULE_LIS2DH12_SPI + bool "SPI" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_SPI + select MODULE_PERIPH_SPI + select MODULE_PERIPH_GPIO + +endchoice # Device interface + +config MODULE_LIS2DH12_INT + bool "Interrupt lines support" + depends on HAS_PERIPH_GPIO_IRQ + select MODULE_PERIPH_GPIO_IRQ + +endif # MODULE_LIS2DH12 diff --git a/drivers/lis3dh/Kconfig b/drivers/lis3dh/Kconfig new file mode 100644 index 0000000000..749b39329b --- /dev/null +++ b/drivers/lis3dh/Kconfig @@ -0,0 +1,14 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LIS3DH + bool "LIS3DH accelerometer" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_SPI diff --git a/drivers/lis3mdl/Kconfig b/drivers/lis3mdl/Kconfig new file mode 100644 index 0000000000..de0cd496ba --- /dev/null +++ b/drivers/lis3mdl/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LIS3MDL + bool "LIS3MDL 3-axis magnetometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER diff --git a/drivers/lpd8808/Kconfig b/drivers/lpd8808/Kconfig new file mode 100644 index 0000000000..2435f70f7b --- /dev/null +++ b/drivers/lpd8808/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LPD8808 + bool "LPD8808 based LED Strip" + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_COLOR diff --git a/drivers/lpsxxx/Kconfig b/drivers/lpsxxx/Kconfig index e5e0157bb0..f00a54b213 100644 --- a/drivers/lpsxxx/Kconfig +++ b/drivers/lpsxxx/Kconfig @@ -1,9 +1,40 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +choice + bool "LPSXXX Pressure Sensors" + optional + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + help + Device driver for the LPSXXX pressure sensor family + (LPS331AP/LPS25HB/LPS22HB). Select a model. + +config MODULE_LPS331AP + bool "LPS331AP" + select MODULE_LPSXXX + +config MODULE_LPS22HB + bool "LPS22HB" + select MODULE_LPSXXX + +config MODULE_LPS25HB + bool "LPS25HB" + select MODULE_LPSXXX + +endchoice + +config MODULE_LPSXXX + bool + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + menuconfig KCONFIG_USEMODULE_LPSXXX bool "Configure LPSXXX driver" depends on USEMODULE_LPSXXX diff --git a/drivers/lsm303dlhc/Kconfig b/drivers/lsm303dlhc/Kconfig new file mode 100644 index 0000000000..ee38830f4a --- /dev/null +++ b/drivers/lsm303dlhc/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LSM303DLHC + bool "LSM303DLHC 3D accelerometer/magnetometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C diff --git a/drivers/lsm6dsl/Kconfig b/drivers/lsm6dsl/Kconfig new file mode 100644 index 0000000000..9cfc920094 --- /dev/null +++ b/drivers/lsm6dsl/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LSM6DSL + bool "LSM6DSL 3D accelerometer/gyroscope" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER diff --git a/drivers/ltc4150/Kconfig b/drivers/ltc4150/Kconfig new file mode 100644 index 0000000000..f16a1f0ffb --- /dev/null +++ b/drivers/ltc4150/Kconfig @@ -0,0 +1,18 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_LTC4150 + bool "LTC4150 coulomb counter" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + select MODULE_XTIMER + help + Driver for the Linear Tech LTC4150 Coulomb Counter (a.k.a. battery + gauge sensor or power consumption sensor). diff --git a/drivers/mag3110/Kconfig b/drivers/mag3110/Kconfig index 0e74d34360..484cf3b0e5 100644 --- a/drivers/mag3110/Kconfig +++ b/drivers/mag3110/Kconfig @@ -1,9 +1,17 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_MAG3110 + bool "MAG3110 3-Axis Digital Magnetometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + menuconfig KCONFIG_USEMODULE_MAG3110 bool "Configure MAG3110 driver" depends on USEMODULE_MAG3110 diff --git a/drivers/mcp2515/Kconfig b/drivers/mcp2515/Kconfig new file mode 100644 index 0000000000..0fa4dfc29c --- /dev/null +++ b/drivers/mcp2515/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MCP2515 + bool "MCP2515 CAN controller" + depends on HAS_PERIPH_GPIO + depends on HAS_PERIPH_GPIO_IRQ + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_PERIPH_GPIO_IRQ + select MODULE_PERIPH_SPI + select MODULE_XTIMER diff --git a/drivers/mhz19/Kconfig b/drivers/mhz19/Kconfig new file mode 100644 index 0000000000..3b1f7c34b2 --- /dev/null +++ b/drivers/mhz19/Kconfig @@ -0,0 +1,32 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +if TEST_KCONFIG + +menu "MH-Z19 CO2 sensor" + depends on HAS_PERIPH_GPIO || HAS_PERIPH_UART + +config MODULE_MHZ19_UART + bool "MH-Z19 over UART" + depends on HAS_PERIPH_UART + select MODULE_PERIPH_UART + select MODULE_MHZ19 + select MODULE_XTIMER + +config MODULE_MHZ19_PWM + bool "MH-Z19 over PWM" + depends on HAS_PERIPH_GPIO + select MODULE_PERIPH_GPIO + select MODULE_MHZ19 + select MODULE_XTIMER + +config MODULE_MHZ19 + bool + +endmenu # MH-Z19 CO2 sensor + +endif # TEST_KCONFIG diff --git a/drivers/mma7660/Kconfig b/drivers/mma7660/Kconfig new file mode 100644 index 0000000000..48b2838439 --- /dev/null +++ b/drivers/mma7660/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MMA7660 + bool "MMA7660 Accelerometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C diff --git a/drivers/mma8x5x/Kconfig b/drivers/mma8x5x/Kconfig index 83a62a9708..01ba402447 100644 --- a/drivers/mma8x5x/Kconfig +++ b/drivers/mma8x5x/Kconfig @@ -1,9 +1,17 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_MMA8X5X + bool "MMA8x5x Accelerometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + menuconfig KCONFIG_USEMODULE_MMA8X5X bool "Configure MMA8X5X driver" depends on USEMODULE_MMA8X5X diff --git a/drivers/motor_driver/Kconfig b/drivers/motor_driver/Kconfig index 63c7dc2fca..4a0e4c987f 100644 --- a/drivers/motor_driver/Kconfig +++ b/drivers/motor_driver/Kconfig @@ -1,9 +1,18 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_MOTOR_DRIVER + bool "High-level driver for DC motors" + depends on HAS_PERIPH_PWM + depends on HAS_MOTOR_DRIVER + depends on TEST_KCONFIG + select MODULE_PERIPH_PWM + menuconfig KCONFIG_USEMODULE_MOTOR_DRIVER bool "Configure the DC Motor driver" depends on USEMODULE_MOTOR_DRIVER diff --git a/drivers/mpl3115a2/Kconfig b/drivers/mpl3115a2/Kconfig new file mode 100644 index 0000000000..6424d7d60d --- /dev/null +++ b/drivers/mpl3115a2/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MPL3115A2 + bool "MPL3115A2 Pressure Sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C diff --git a/drivers/mpu9x50/Kconfig b/drivers/mpu9x50/Kconfig new file mode 100644 index 0000000000..27d2c7ffa9 --- /dev/null +++ b/drivers/mpu9x50/Kconfig @@ -0,0 +1,33 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +if TEST_KCONFIG + +choice + bool "MPU-9X50 accelerometer/magnetometer/gyroscope" + optional + depends on HAS_PERIPH_I2C + help + This driver supports both MPU9150 and MPU9250. Choose one model. + +config MODULE_MPU9150 + bool "MPU-9150" + select MODULE_MPU9X50 + +config MODULE_MPU9250 + bool "MPU-9250" + select MODULE_MPU9X50 + +endchoice + +config MODULE_MPU9X50 + bool + depends on HAS_PERIPH_I2C + select MODULE_PERIPH_I2C + select MODULE_XTIMER + +endif # TEST_KCONFIG diff --git a/drivers/mq3/Kconfig b/drivers/mq3/Kconfig new file mode 100644 index 0000000000..6affb935cc --- /dev/null +++ b/drivers/mq3/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MQ3 + bool "MQ-3 Alcohol Tester" + depends on HAS_PERIPH_ADC + depends on TEST_KCONFIG + select MODULE_PERIPH_ADC diff --git a/drivers/mtd_flashpage/Kconfig b/drivers/mtd_flashpage/Kconfig new file mode 100644 index 0000000000..cb3262976b --- /dev/null +++ b/drivers/mtd_flashpage/Kconfig @@ -0,0 +1,17 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MTD_FLASHPAGE + bool "MTD interface for Flashpage" + depends on HAS_PERIPH_FLASHPAGE + depends on HAS_PERIPH_FLASHPAGE_PAGEWISE + depends on TEST_KCONFIG + select MODULE_PERIPH_FLASHPAGE + select MODULE_PERIPH_FLASHPAGE_PAGEWISE + select MODULE_MTD + help + Driver for internal flash devices implementing flashpage interface. diff --git a/drivers/mtd_mapper/Kconfig b/drivers/mtd_mapper/Kconfig new file mode 100644 index 0000000000..87a1fb6dab --- /dev/null +++ b/drivers/mtd_mapper/Kconfig @@ -0,0 +1,18 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MTD_MAPPER + bool "MTD address mapper" + depends on TEST_KCONFIG + select MODULE_MTD + help + Driver for address remap for flash devices. + + This MTD module allows for remapping multiple different regions on a single + MTD device and present them as separate MTD devices. This is similar to + partitions on a hard drive, although this system only allows hardcoded + partitions and lacks a partition table. diff --git a/drivers/mtd_mci/Kconfig b/drivers/mtd_mci/Kconfig new file mode 100644 index 0000000000..626cacb76a --- /dev/null +++ b/drivers/mtd_mci/Kconfig @@ -0,0 +1,12 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MTD_MCI + bool "MTD interface for LPC23XX MCI" + depends on TEST_KCONFIG + depends on MODULE_MCI + select MODULE_MTD diff --git a/drivers/mtd_sdcard/Kconfig b/drivers/mtd_sdcard/Kconfig index bcd3d3ea13..2265bfe774 100644 --- a/drivers/mtd_sdcard/Kconfig +++ b/drivers/mtd_sdcard/Kconfig @@ -1,9 +1,17 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 2020 HAW Hamburg # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +config MODULE_MTD_SDCARD + bool "MTD interface for SPI SD-Card" + depends on MODULE_SDCARD_SPI + depends on TEST_KCONFIG + select MODULE_MTD + menuconfig KCONFIG_USEMODULE_MTD_SDCARD bool "Configure MTD_SDCARD driver" depends on USEMODULE_MTD_SDCARD diff --git a/drivers/mtd_spi_nor/Kconfig b/drivers/mtd_spi_nor/Kconfig new file mode 100644 index 0000000000..a633b76312 --- /dev/null +++ b/drivers/mtd_spi_nor/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_MTD_SPI_NOR + bool "MTD interface for SPI NOR Flash" + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_PERIPH_SPI + select MODULE_MTD diff --git a/drivers/ncv7356/Kconfig b/drivers/ncv7356/Kconfig new file mode 100644 index 0000000000..ddb14f8492 --- /dev/null +++ b/drivers/ncv7356/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_NCV7356 + bool "NCV7356 Single Wire CAN Transceiver" + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_CAN_TRX diff --git a/drivers/nvram/Kconfig b/drivers/nvram/Kconfig new file mode 100644 index 0000000000..7bbbe4c1d7 --- /dev/null +++ b/drivers/nvram/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_NVRAM + bool "Non-volatile RAM" + depends on TEST_KCONFIG + help + This API is designed around non-volatile memories which do not need + blockwise erase, such as ferro-electric RAM (FRAM) or magneto-resistive + RAM (MRAM). + + This interface is not suitable for flash memories. diff --git a/drivers/nvram_spi/Kconfig b/drivers/nvram_spi/Kconfig new file mode 100644 index 0000000000..49aa0041de --- /dev/null +++ b/drivers/nvram_spi/Kconfig @@ -0,0 +1,14 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_NVRAM_SPI + bool "Interface for various SPI NVRAM" + depends on HAS_PERIPH_SPI + depends on TEST_KCONFIG + select MODULE_NVRAM + select MODULE_PERIPH_SPI + select MODULE_XTIMER diff --git a/tests/driver_l3g4200d/app.config.test b/tests/driver_l3g4200d/app.config.test new file mode 100644 index 0000000000..7761831e46 --- /dev/null +++ b/tests/driver_l3g4200d/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_L3G4200D=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lc709203f/app.config.test b/tests/driver_lc709203f/app.config.test new file mode 100644 index 0000000000..979a86c1b4 --- /dev/null +++ b/tests/driver_lc709203f/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_LC709203F=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lis2dh12/app.config.test b/tests/driver_lis2dh12/app.config.test new file mode 100644 index 0000000000..0f24ddbf00 --- /dev/null +++ b/tests/driver_lis2dh12/app.config.test @@ -0,0 +1,9 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_FMT=y +CONFIG_MODULE_XTIMER=y +CONFIG_MODULE_LIS2DH12=y +CONFIG_MODULE_LIS2DH12_SPI=y + +# for using lis2dh12 with interrupt function +CONFIG_MODULE_LIS2DH12_INT=y diff --git a/tests/driver_lis3dh/app.config.test b/tests/driver_lis3dh/app.config.test new file mode 100644 index 0000000000..21a787e8f0 --- /dev/null +++ b/tests/driver_lis3dh/app.config.test @@ -0,0 +1,5 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_PERIPH_GPIO_IRQ=y +CONFIG_MODULE_LIS3DH=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lis3mdl/app.config.test b/tests/driver_lis3mdl/app.config.test new file mode 100644 index 0000000000..7bc65954ba --- /dev/null +++ b/tests/driver_lis3mdl/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_LIS3MDL=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lpd8808/app.config.test b/tests/driver_lpd8808/app.config.test new file mode 100644 index 0000000000..743d7c0f48 --- /dev/null +++ b/tests/driver_lpd8808/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_LPD8808=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lpsxxx/app.config.test b/tests/driver_lpsxxx/app.config.test new file mode 100644 index 0000000000..6c29310b0a --- /dev/null +++ b/tests/driver_lpsxxx/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_LPS331AP=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lsm303dlhc/app.config.test b/tests/driver_lsm303dlhc/app.config.test new file mode 100644 index 0000000000..c51566c9f6 --- /dev/null +++ b/tests/driver_lsm303dlhc/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_LSM303DLHC=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_lsm6dsl/app.config.test b/tests/driver_lsm6dsl/app.config.test new file mode 100644 index 0000000000..341a6372fd --- /dev/null +++ b/tests/driver_lsm6dsl/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_LSM6DSL=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_ltc4150/app.config.test b/tests/driver_ltc4150/app.config.test new file mode 100644 index 0000000000..970177b103 --- /dev/null +++ b/tests/driver_ltc4150/app.config.test @@ -0,0 +1,5 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_FMT=y +CONFIG_MODULE_FMT_TABLE=y +CONFIG_MODULE_LTC4150=y diff --git a/tests/driver_mag3110/app.config.test b/tests/driver_mag3110/app.config.test new file mode 100644 index 0000000000..00013faf95 --- /dev/null +++ b/tests/driver_mag3110/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MAG3110=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_mhz19/app.config.test b/tests/driver_mhz19/app.config.test new file mode 100644 index 0000000000..c53768432f --- /dev/null +++ b/tests/driver_mhz19/app.config.test @@ -0,0 +1,7 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_XTIMER=y + +# Use UART mode by default +CONFIG_MODULE_MHZ19_UART=y +#CONFIG_MODULE_MHZ19_PWM=y diff --git a/tests/driver_mma7660/app.config.test b/tests/driver_mma7660/app.config.test new file mode 100644 index 0000000000..e111f52b9d --- /dev/null +++ b/tests/driver_mma7660/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MMA7660=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_mma8x5x/app.config.test b/tests/driver_mma8x5x/app.config.test new file mode 100644 index 0000000000..f9d324d3c6 --- /dev/null +++ b/tests/driver_mma8x5x/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MMA8X5X=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_motor_driver/app.config.test b/tests/driver_motor_driver/app.config.test new file mode 100644 index 0000000000..da65f95c55 --- /dev/null +++ b/tests/driver_motor_driver/app.config.test @@ -0,0 +1,7 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MOTOR_DRIVER=y +CONFIG_MODULE_SHELL=y +CONFIG_MODULE_SHELL_COMMANDS=y +CONFIG_MODULE_XTIMER=y +CONFIG_MODULE_PERIPH_QDEC=y diff --git a/tests/driver_mpl3115a2/app.config.test b/tests/driver_mpl3115a2/app.config.test new file mode 100644 index 0000000000..528ec2d1b8 --- /dev/null +++ b/tests/driver_mpl3115a2/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MPL3115A2=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_mpu9x50/app.config.test b/tests/driver_mpu9x50/app.config.test new file mode 100644 index 0000000000..7ae4813113 --- /dev/null +++ b/tests/driver_mpu9x50/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MPU9150=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_mq3/app.config.test b/tests/driver_mq3/app.config.test new file mode 100644 index 0000000000..420a16be0a --- /dev/null +++ b/tests/driver_mq3/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_MQ3=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/driver_nvram_spi/app.config.test b/tests/driver_nvram_spi/app.config.test new file mode 100644 index 0000000000..a56d76d65f --- /dev/null +++ b/tests/driver_nvram_spi/app.config.test @@ -0,0 +1,4 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_NVRAM_SPI=y +CONFIG_MODULE_XTIMER=y diff --git a/tests/mtd_flashpage/app.config.test b/tests/mtd_flashpage/app.config.test new file mode 100644 index 0000000000..a6bff3edf4 --- /dev/null +++ b/tests/mtd_flashpage/app.config.test @@ -0,0 +1,5 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y +CONFIG_MODULE_MTD_FLASHPAGE=y +CONFIG_MODULE_EMBUNIT=y diff --git a/tests/mtd_mapper/app.config.test b/tests/mtd_mapper/app.config.test new file mode 100644 index 0000000000..b3c52ae0ca --- /dev/null +++ b/tests/mtd_mapper/app.config.test @@ -0,0 +1,5 @@ +# this file enables modules defined in Kconfig. Do not use this file for +# application configuration. This is only needed during migration. +CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y +CONFIG_MODULE_MTD_MAPPER=y +CONFIG_MODULE_EMBUNIT=y