From 24968e71eb083c6fcac63d433e993af8c74b8e19 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 3 Dec 2020 17:25:29 +0100 Subject: [PATCH 01/29] drivers/l3g4200d: add module to Kconfig --- drivers/l3g4200d/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) 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 From 5d487d60b701ea6ce30d4ab86f827452afe91f0b Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 3 Dec 2020 17:29:08 +0100 Subject: [PATCH 02/29] drivers/lc709203f: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lc709203f/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 drivers/lc709203f/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index edba6fd645..ed9b46ae4f 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -78,6 +78,7 @@ rsource "isl29125/Kconfig" rsource "itg320x/Kconfig" rsource "jc42/Kconfig" rsource "l3g4200d/Kconfig" +rsource "lc709203f/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" 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 From ffc7764ef92cea527efefd9f24d3a8435e5cc361 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 4 Dec 2020 11:30:42 +0100 Subject: [PATCH 03/29] drivers/lis2dh12: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lis2dh12/Kconfig | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 drivers/lis2dh12/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index ed9b46ae4f..46ce5e6ce2 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -79,6 +79,7 @@ rsource "itg320x/Kconfig" rsource "jc42/Kconfig" rsource "l3g4200d/Kconfig" rsource "lc709203f/Kconfig" +rsource "lis2dh12/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" 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 From 29f4c7b6786823c28b8b3d16bc7667e9d270cecc Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 13:00:21 +0100 Subject: [PATCH 04/29] drivers/lis3dh: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lis3dh/Kconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 drivers/lis3dh/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 46ce5e6ce2..f71c3432fd 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -80,6 +80,7 @@ rsource "jc42/Kconfig" rsource "l3g4200d/Kconfig" rsource "lc709203f/Kconfig" rsource "lis2dh12/Kconfig" +rsource "lis3dh/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" 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 From c58f64a23b60dfb0046174f4ea3cb3e87e348931 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 13:03:36 +0100 Subject: [PATCH 05/29] drivers/lis3mdl: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lis3mdl/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/lis3mdl/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index f71c3432fd..094fabbff4 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -81,6 +81,7 @@ rsource "l3g4200d/Kconfig" rsource "lc709203f/Kconfig" rsource "lis2dh12/Kconfig" rsource "lis3dh/Kconfig" +rsource "lis3mdl/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" 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 From 51cf04da0986a2923ecab2c09df530a9adb860cd Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 13:06:43 +0100 Subject: [PATCH 06/29] drivers/lpd8808: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lpd8808/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/lpd8808/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 094fabbff4..e91459c41c 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -82,6 +82,7 @@ rsource "lc709203f/Kconfig" rsource "lis2dh12/Kconfig" rsource "lis3dh/Kconfig" rsource "lis3mdl/Kconfig" +rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" 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 From d037a5a949a91b5d78c8f9e67533118e3328efeb Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 17:18:57 +0100 Subject: [PATCH 07/29] drivers/lpsxxx: add modules to Kconfig --- drivers/lpsxxx/Kconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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 From deaf97465096d37ccd6cefe8b5513ada5fee23d1 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 17:23:08 +0100 Subject: [PATCH 08/29] drivers/lsm6dsl: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lsm6dsl/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/lsm6dsl/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index e91459c41c..e5790ffc00 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -84,6 +84,7 @@ rsource "lis3dh/Kconfig" rsource "lis3mdl/Kconfig" rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" +rsource "lsm6dsl/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" 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 From a8d6e2757ef27a1588f46b1cbcebd9322fb0fe24 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 17:25:57 +0100 Subject: [PATCH 09/29] drivers/lsm303dlhc: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lsm303dlhc/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/lsm303dlhc/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index e5790ffc00..a8708af51b 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -85,6 +85,7 @@ rsource "lis3mdl/Kconfig" rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" rsource "lsm6dsl/Kconfig" +rsource "lsm303dlhc/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" 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 From ab150978aee4c6680c101e8f0d03269d8151b566 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 15:24:32 +0100 Subject: [PATCH 10/29] drivers/ltc4150: add module to Kconfig --- drivers/Kconfig | 1 + drivers/ltc4150/Kconfig | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 drivers/ltc4150/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index a8708af51b..4f92a4f76a 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -86,6 +86,7 @@ rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" rsource "lsm6dsl/Kconfig" rsource "lsm303dlhc/Kconfig" +rsource "ltc4150/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" 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). From 22bc6a7935f8da1b056017f4adeef2b1684692ac Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 15:28:07 +0100 Subject: [PATCH 11/29] drivers/mag3110: add module to Kconfig --- drivers/mag3110/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) 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 From a155b3f28e3074dfb25d3585fde1d1e2640247ce Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 15:40:59 +0100 Subject: [PATCH 12/29] drivers/mcp2515: add module to Kconfig --- drivers/Kconfig.net | 1 + drivers/mcp2515/Kconfig | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 drivers/mcp2515/Kconfig diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index e85d0ba9c2..76c44d1b62 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -10,6 +10,7 @@ rsource "ata8520e/Kconfig" rsource "can_trx/Kconfig" rsource "cc110x/Kconfig" rsource "dose/Kconfig" +rsource "mcp2515/Kconfig" rsource "mrf24j40/Kconfig" rsource "pn532/Kconfig" rsource "rn2xx3/Kconfig" 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 From e977dec8fbbb8c1d265edab812f377fb1bec424b Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 15:57:22 +0100 Subject: [PATCH 13/29] drivers/mhz19: add modules to Kconfig --- drivers/Kconfig | 1 + drivers/mhz19/Kconfig | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 drivers/mhz19/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 4f92a4f76a..ddd620b3ab 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -88,6 +88,7 @@ rsource "lsm6dsl/Kconfig" rsource "lsm303dlhc/Kconfig" rsource "ltc4150/Kconfig" rsource "mag3110/Kconfig" +rsource "mhz19/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" 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 From d22ef9087d3019c7eed6bbb446991c7b08264468 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 16:02:17 +0100 Subject: [PATCH 14/29] drivers/mma8x5x: add module to Kconfig --- drivers/mma8x5x/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) 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 From 245a04b612c96f0b87ad1a3ef241d600ab40313b Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 16:05:17 +0100 Subject: [PATCH 15/29] drivers/mma7660: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mma7660/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/mma7660/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index ddd620b3ab..da568e9cbf 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -90,6 +90,7 @@ rsource "ltc4150/Kconfig" rsource "mag3110/Kconfig" rsource "mhz19/Kconfig" rsource "mma8x5x/Kconfig" +rsource "mma7660/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/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 From a69b854b17cb9052c2f86c235d538079cb2a6097 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 17:16:43 +0100 Subject: [PATCH 16/29] drivers/motor_driver: add module to Kconfig --- drivers/motor_driver/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) 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 From b959e3a11ed2930b07a6effda7ca044fb03da7f1 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 17:20:25 +0100 Subject: [PATCH 17/29] drivers/mpl3115a2: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mpl3115a2/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/mpl3115a2/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index da568e9cbf..f1670d584c 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -91,6 +91,7 @@ rsource "mag3110/Kconfig" rsource "mhz19/Kconfig" rsource "mma8x5x/Kconfig" rsource "mma7660/Kconfig" +rsource "mpl3115a2/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/Kconfig" 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 From 91e88522af0c7a6b1aee835b5b4d710bc1bd722c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 17:26:37 +0100 Subject: [PATCH 18/29] drivers/mpu9x50: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mpu9x50/Kconfig | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 drivers/mpu9x50/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index f1670d584c..bef453bff8 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -92,6 +92,7 @@ rsource "mhz19/Kconfig" rsource "mma8x5x/Kconfig" rsource "mma7660/Kconfig" rsource "mpl3115a2/Kconfig" +rsource "mpu9x50/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/Kconfig" 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 From c574ac999e6c3c0405f27bb9c86de946cec3e7b2 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 17:51:14 +0100 Subject: [PATCH 19/29] drivers/mq3: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mq3/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/mq3/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index bef453bff8..77010b6fc9 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -93,6 +93,7 @@ rsource "mma8x5x/Kconfig" rsource "mma7660/Kconfig" rsource "mpl3115a2/Kconfig" rsource "mpu9x50/Kconfig" +rsource "mq3/Kconfig" rsource "opt3001/Kconfig" rsource "pca9633/Kconfig" rsource "pca9685/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 From 105001a977bdf3daaec23233292e8eadca236f69 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 9 Dec 2020 15:45:37 +0100 Subject: [PATCH 20/29] drivers/mtd_flashpage: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mtd_flashpage/Kconfig | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 drivers/mtd_flashpage/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 77010b6fc9..1bcf6af3f5 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -111,6 +111,7 @@ menu "Storage Device Drivers" rsource "at24cxxx/Kconfig" rsource "at25xxx/Kconfig" rsource "mtd/Kconfig" +rsource "mtd_flashpage/Kconfig" rsource "mtd_sdcard/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers 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. From 1950f5a532ed8983e370714b61832899efd92fd7 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 9 Dec 2020 16:17:46 +0100 Subject: [PATCH 21/29] drivers/mtd_mapper: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mtd_mapper/Kconfig | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 drivers/mtd_mapper/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 1bcf6af3f5..113aea2249 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -112,6 +112,7 @@ rsource "at24cxxx/Kconfig" rsource "at25xxx/Kconfig" rsource "mtd/Kconfig" rsource "mtd_flashpage/Kconfig" +rsource "mtd_mapper/Kconfig" rsource "mtd_sdcard/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers 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. From 63407b5e5b7fbef874f97a4e4aa1aaebcd6f1221 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 9 Dec 2020 16:30:49 +0100 Subject: [PATCH 22/29] cpu/lpc23xx/mci: add module to Kconfig --- cpu/lpc23xx/Kconfig | 1 + cpu/lpc23xx/mci/Kconfig | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 cpu/lpc23xx/mci/Kconfig 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 From db3349d0522337139306aba1e30191add65dd629 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 9 Dec 2020 16:31:33 +0100 Subject: [PATCH 23/29] drivers/mtd_mci: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mtd_mci/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/mtd_mci/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 113aea2249..0a383b5783 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -113,6 +113,7 @@ rsource "at25xxx/Kconfig" rsource "mtd/Kconfig" rsource "mtd_flashpage/Kconfig" rsource "mtd_mapper/Kconfig" +rsource "mtd_mci/Kconfig" rsource "mtd_sdcard/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers 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 From b3df3cf931246b970841884cb65c35d494cf5176 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 9 Dec 2020 17:38:47 +0100 Subject: [PATCH 24/29] drivers/mtd_sdcard: add module to Kconfig --- drivers/mtd_sdcard/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) 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 From 4ada286f8928b67b886e2310edbd6e0b3f30fd1c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 10 Dec 2020 09:23:06 +0100 Subject: [PATCH 25/29] drivers/mtd_spi_nor: add module to Kconfig --- drivers/Kconfig | 1 + drivers/mtd_spi_nor/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/mtd_spi_nor/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 0a383b5783..5f0bb4b96f 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -115,6 +115,7 @@ rsource "mtd_flashpage/Kconfig" rsource "mtd_mapper/Kconfig" rsource "mtd_mci/Kconfig" rsource "mtd_sdcard/Kconfig" +rsource "mtd_spi_nor/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers 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 From 52b838b8777df14249de5c1b42125f0014b54393 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 10 Dec 2020 10:29:32 +0100 Subject: [PATCH 26/29] drivers/ncv7356: add module to Kconfig --- drivers/Kconfig.net | 1 + drivers/ncv7356/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/ncv7356/Kconfig diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 76c44d1b62..d3f719ba8d 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -12,6 +12,7 @@ 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/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 From bfacb78f319e3c9a0de1c3682e99ca8282b6a16d Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 10 Dec 2020 11:54:11 +0100 Subject: [PATCH 27/29] drivers/nvram: add module to Kconfig --- drivers/Kconfig | 1 + drivers/nvram/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 drivers/nvram/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 5f0bb4b96f..54b2159e36 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -116,6 +116,7 @@ rsource "mtd_mapper/Kconfig" rsource "mtd_mci/Kconfig" rsource "mtd_sdcard/Kconfig" rsource "mtd_spi_nor/Kconfig" +rsource "nvram/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers 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. From d8cf1c9440deaf1ff692882a621810166405c1d5 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 10 Dec 2020 11:59:42 +0100 Subject: [PATCH 28/29] drivers/nvram_spi: add module to Kconfig --- drivers/Kconfig | 1 + drivers/nvram_spi/Kconfig | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 drivers/nvram_spi/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 54b2159e36..8a5e802827 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -117,6 +117,7 @@ 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/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 From 20c5552920b21a19559939a00b8d53b4774b460d Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 10 Dec 2020 12:05:10 +0100 Subject: [PATCH 29/29] tests: add Kconfig configuration files for multiple driver tests Configurations for the following applications have been added: l3g4200d lc709203f lis2dh12 lis3dh lis3mdl lpd8808 lpsxxx lsm303dlhc lsm6dsl ltc4150 mag3110 mhz19 mma7660 mma8x5x motor_driver mpl3115a2 mpu9x50 mq3 nvram_spi mtd_flashpage mtd_mapper --- .murdock | 8 ++++++-- tests/driver_l3g4200d/app.config.test | 4 ++++ tests/driver_lc709203f/app.config.test | 4 ++++ tests/driver_lis2dh12/app.config.test | 9 +++++++++ tests/driver_lis3dh/app.config.test | 5 +++++ tests/driver_lis3mdl/app.config.test | 4 ++++ tests/driver_lpd8808/app.config.test | 4 ++++ tests/driver_lpsxxx/app.config.test | 4 ++++ tests/driver_lsm303dlhc/app.config.test | 4 ++++ tests/driver_lsm6dsl/app.config.test | 4 ++++ tests/driver_ltc4150/app.config.test | 5 +++++ tests/driver_mag3110/app.config.test | 4 ++++ tests/driver_mhz19/app.config.test | 7 +++++++ tests/driver_mma7660/app.config.test | 4 ++++ tests/driver_mma8x5x/app.config.test | 4 ++++ tests/driver_motor_driver/app.config.test | 7 +++++++ tests/driver_mpl3115a2/app.config.test | 4 ++++ tests/driver_mpu9x50/app.config.test | 4 ++++ tests/driver_mq3/app.config.test | 4 ++++ tests/driver_nvram_spi/app.config.test | 4 ++++ tests/mtd_flashpage/app.config.test | 5 +++++ tests/mtd_mapper/app.config.test | 5 +++++ 22 files changed, 105 insertions(+), 2 deletions(-) create mode 100644 tests/driver_l3g4200d/app.config.test create mode 100644 tests/driver_lc709203f/app.config.test create mode 100644 tests/driver_lis2dh12/app.config.test create mode 100644 tests/driver_lis3dh/app.config.test create mode 100644 tests/driver_lis3mdl/app.config.test create mode 100644 tests/driver_lpd8808/app.config.test create mode 100644 tests/driver_lpsxxx/app.config.test create mode 100644 tests/driver_lsm303dlhc/app.config.test create mode 100644 tests/driver_lsm6dsl/app.config.test create mode 100644 tests/driver_ltc4150/app.config.test create mode 100644 tests/driver_mag3110/app.config.test create mode 100644 tests/driver_mhz19/app.config.test create mode 100644 tests/driver_mma7660/app.config.test create mode 100644 tests/driver_mma8x5x/app.config.test create mode 100644 tests/driver_motor_driver/app.config.test create mode 100644 tests/driver_mpl3115a2/app.config.test create mode 100644 tests/driver_mpu9x50/app.config.test create mode 100644 tests/driver_mq3/app.config.test create mode 100644 tests/driver_nvram_spi/app.config.test create mode 100644 tests/mtd_flashpage/app.config.test create mode 100644 tests/mtd_mapper/app.config.test 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/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