Merge pull request #15607 from leandrolanzieri/pr/kconfig/drivers_lmn
drivers/{l, m, n}*: add modules to Kconfig
This commit is contained in:
commit
b46116d77e
8
.murdock
8
.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_dfplayer tests/driver_dht tests/driver_ds18 tests/driver_ds75lx
|
||||||
tests/driver_ds1307 tests/driver_ds3231 tests/driver_ds3234 tests/driver_dsp0401
|
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_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_h* tests/driver_i* tests/driver_j* tests/driver_l*
|
||||||
tests/driver_o* tests/driver_p* tests/driver_q* tests/driver_r*"}
|
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_*"}
|
: ${TEST_KCONFIG_native:="examples/hello-world tests/periph_*"}
|
||||||
|
|
||||||
export RIOT_CI_BUILD=1
|
export RIOT_CI_BUILD=1
|
||||||
|
|||||||
@ -41,4 +41,5 @@ config CPU_MODEL
|
|||||||
config CPU
|
config CPU
|
||||||
default "lpc23xx" if CPU_FAM_LPC23XX
|
default "lpc23xx" if CPU_FAM_LPC23XX
|
||||||
|
|
||||||
|
rsource "mci/Kconfig"
|
||||||
source "$(RIOTCPU)/arm7_common/Kconfig"
|
source "$(RIOTCPU)/arm7_common/Kconfig"
|
||||||
|
|||||||
11
cpu/lpc23xx/mci/Kconfig
Normal file
11
cpu/lpc23xx/mci/Kconfig
Normal file
@ -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
|
||||||
@ -78,9 +78,22 @@ rsource "isl29125/Kconfig"
|
|||||||
rsource "itg320x/Kconfig"
|
rsource "itg320x/Kconfig"
|
||||||
rsource "jc42/Kconfig"
|
rsource "jc42/Kconfig"
|
||||||
rsource "l3g4200d/Kconfig"
|
rsource "l3g4200d/Kconfig"
|
||||||
|
rsource "lc709203f/Kconfig"
|
||||||
|
rsource "lis2dh12/Kconfig"
|
||||||
|
rsource "lis3dh/Kconfig"
|
||||||
|
rsource "lis3mdl/Kconfig"
|
||||||
|
rsource "lpd8808/Kconfig"
|
||||||
rsource "lpsxxx/Kconfig"
|
rsource "lpsxxx/Kconfig"
|
||||||
|
rsource "lsm6dsl/Kconfig"
|
||||||
|
rsource "lsm303dlhc/Kconfig"
|
||||||
|
rsource "ltc4150/Kconfig"
|
||||||
rsource "mag3110/Kconfig"
|
rsource "mag3110/Kconfig"
|
||||||
|
rsource "mhz19/Kconfig"
|
||||||
rsource "mma8x5x/Kconfig"
|
rsource "mma8x5x/Kconfig"
|
||||||
|
rsource "mma7660/Kconfig"
|
||||||
|
rsource "mpl3115a2/Kconfig"
|
||||||
|
rsource "mpu9x50/Kconfig"
|
||||||
|
rsource "mq3/Kconfig"
|
||||||
rsource "opt3001/Kconfig"
|
rsource "opt3001/Kconfig"
|
||||||
rsource "pca9633/Kconfig"
|
rsource "pca9633/Kconfig"
|
||||||
rsource "pca9685/Kconfig"
|
rsource "pca9685/Kconfig"
|
||||||
@ -98,7 +111,13 @@ menu "Storage Device Drivers"
|
|||||||
rsource "at24cxxx/Kconfig"
|
rsource "at24cxxx/Kconfig"
|
||||||
rsource "at25xxx/Kconfig"
|
rsource "at25xxx/Kconfig"
|
||||||
rsource "mtd/Kconfig"
|
rsource "mtd/Kconfig"
|
||||||
|
rsource "mtd_flashpage/Kconfig"
|
||||||
|
rsource "mtd_mapper/Kconfig"
|
||||||
|
rsource "mtd_mci/Kconfig"
|
||||||
rsource "mtd_sdcard/Kconfig"
|
rsource "mtd_sdcard/Kconfig"
|
||||||
|
rsource "mtd_spi_nor/Kconfig"
|
||||||
|
rsource "nvram/Kconfig"
|
||||||
|
rsource "nvram_spi/Kconfig"
|
||||||
rsource "sdcard_spi/Kconfig"
|
rsource "sdcard_spi/Kconfig"
|
||||||
endmenu # Storage Device Drivers
|
endmenu # Storage Device Drivers
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,9 @@ rsource "ata8520e/Kconfig"
|
|||||||
rsource "can_trx/Kconfig"
|
rsource "can_trx/Kconfig"
|
||||||
rsource "cc110x/Kconfig"
|
rsource "cc110x/Kconfig"
|
||||||
rsource "dose/Kconfig"
|
rsource "dose/Kconfig"
|
||||||
|
rsource "mcp2515/Kconfig"
|
||||||
rsource "mrf24j40/Kconfig"
|
rsource "mrf24j40/Kconfig"
|
||||||
|
rsource "ncv7356/Kconfig"
|
||||||
rsource "pn532/Kconfig"
|
rsource "pn532/Kconfig"
|
||||||
rsource "rn2xx3/Kconfig"
|
rsource "rn2xx3/Kconfig"
|
||||||
rsource "slipdev/Kconfig"
|
rsource "slipdev/Kconfig"
|
||||||
|
|||||||
@ -1,9 +1,17 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2020 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
menuconfig KCONFIG_USEMODULE_L3G4200D
|
||||||
bool "Configure L3G4200D driver"
|
bool "Configure L3G4200D driver"
|
||||||
depends on USEMODULE_L3G4200D
|
depends on USEMODULE_L3G4200D
|
||||||
|
|||||||
16
drivers/lc709203f/Kconfig
Normal file
16
drivers/lc709203f/Kconfig
Normal file
@ -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
|
||||||
36
drivers/lis2dh12/Kconfig
Normal file
36
drivers/lis2dh12/Kconfig
Normal file
@ -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
|
||||||
14
drivers/lis3dh/Kconfig
Normal file
14
drivers/lis3dh/Kconfig
Normal file
@ -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
|
||||||
13
drivers/lis3mdl/Kconfig
Normal file
13
drivers/lis3mdl/Kconfig
Normal file
@ -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
|
||||||
13
drivers/lpd8808/Kconfig
Normal file
13
drivers/lpd8808/Kconfig
Normal file
@ -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
|
||||||
@ -1,9 +1,40 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2020 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
menuconfig KCONFIG_USEMODULE_LPSXXX
|
||||||
bool "Configure LPSXXX driver"
|
bool "Configure LPSXXX driver"
|
||||||
depends on USEMODULE_LPSXXX
|
depends on USEMODULE_LPSXXX
|
||||||
|
|||||||
12
drivers/lsm303dlhc/Kconfig
Normal file
12
drivers/lsm303dlhc/Kconfig
Normal file
@ -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
|
||||||
13
drivers/lsm6dsl/Kconfig
Normal file
13
drivers/lsm6dsl/Kconfig
Normal file
@ -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
|
||||||
18
drivers/ltc4150/Kconfig
Normal file
18
drivers/ltc4150/Kconfig
Normal file
@ -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).
|
||||||
@ -1,9 +1,17 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2020 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
menuconfig KCONFIG_USEMODULE_MAG3110
|
||||||
bool "Configure MAG3110 driver"
|
bool "Configure MAG3110 driver"
|
||||||
depends on USEMODULE_MAG3110
|
depends on USEMODULE_MAG3110
|
||||||
|
|||||||
17
drivers/mcp2515/Kconfig
Normal file
17
drivers/mcp2515/Kconfig
Normal file
@ -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
|
||||||
32
drivers/mhz19/Kconfig
Normal file
32
drivers/mhz19/Kconfig
Normal file
@ -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
|
||||||
12
drivers/mma7660/Kconfig
Normal file
12
drivers/mma7660/Kconfig
Normal file
@ -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
|
||||||
@ -1,9 +1,17 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2020 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
menuconfig KCONFIG_USEMODULE_MMA8X5X
|
||||||
bool "Configure MMA8X5X driver"
|
bool "Configure MMA8X5X driver"
|
||||||
depends on USEMODULE_MMA8X5X
|
depends on USEMODULE_MMA8X5X
|
||||||
|
|||||||
@ -1,9 +1,18 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2020 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
menuconfig KCONFIG_USEMODULE_MOTOR_DRIVER
|
||||||
bool "Configure the DC Motor driver"
|
bool "Configure the DC Motor driver"
|
||||||
depends on USEMODULE_MOTOR_DRIVER
|
depends on USEMODULE_MOTOR_DRIVER
|
||||||
|
|||||||
12
drivers/mpl3115a2/Kconfig
Normal file
12
drivers/mpl3115a2/Kconfig
Normal file
@ -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
|
||||||
33
drivers/mpu9x50/Kconfig
Normal file
33
drivers/mpu9x50/Kconfig
Normal file
@ -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
|
||||||
12
drivers/mq3/Kconfig
Normal file
12
drivers/mq3/Kconfig
Normal file
@ -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
|
||||||
17
drivers/mtd_flashpage/Kconfig
Normal file
17
drivers/mtd_flashpage/Kconfig
Normal file
@ -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.
|
||||||
18
drivers/mtd_mapper/Kconfig
Normal file
18
drivers/mtd_mapper/Kconfig
Normal file
@ -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.
|
||||||
12
drivers/mtd_mci/Kconfig
Normal file
12
drivers/mtd_mci/Kconfig
Normal file
@ -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
|
||||||
@ -1,9 +1,17 @@
|
|||||||
# Copyright (c) 2020 Freie Universitaet Berlin
|
# Copyright (c) 2020 Freie Universitaet Berlin
|
||||||
|
# 2020 HAW Hamburg
|
||||||
#
|
#
|
||||||
# This file is subject to the terms and conditions of the GNU Lesser
|
# 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
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# 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
|
menuconfig KCONFIG_USEMODULE_MTD_SDCARD
|
||||||
bool "Configure MTD_SDCARD driver"
|
bool "Configure MTD_SDCARD driver"
|
||||||
depends on USEMODULE_MTD_SDCARD
|
depends on USEMODULE_MTD_SDCARD
|
||||||
|
|||||||
13
drivers/mtd_spi_nor/Kconfig
Normal file
13
drivers/mtd_spi_nor/Kconfig
Normal file
@ -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
|
||||||
13
drivers/ncv7356/Kconfig
Normal file
13
drivers/ncv7356/Kconfig
Normal file
@ -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
|
||||||
16
drivers/nvram/Kconfig
Normal file
16
drivers/nvram/Kconfig
Normal file
@ -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.
|
||||||
14
drivers/nvram_spi/Kconfig
Normal file
14
drivers/nvram_spi/Kconfig
Normal file
@ -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
|
||||||
4
tests/driver_l3g4200d/app.config.test
Normal file
4
tests/driver_l3g4200d/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_lc709203f/app.config.test
Normal file
4
tests/driver_lc709203f/app.config.test
Normal file
@ -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
|
||||||
9
tests/driver_lis2dh12/app.config.test
Normal file
9
tests/driver_lis2dh12/app.config.test
Normal file
@ -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
|
||||||
5
tests/driver_lis3dh/app.config.test
Normal file
5
tests/driver_lis3dh/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_lis3mdl/app.config.test
Normal file
4
tests/driver_lis3mdl/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_lpd8808/app.config.test
Normal file
4
tests/driver_lpd8808/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_lpsxxx/app.config.test
Normal file
4
tests/driver_lpsxxx/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_lsm303dlhc/app.config.test
Normal file
4
tests/driver_lsm303dlhc/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_lsm6dsl/app.config.test
Normal file
4
tests/driver_lsm6dsl/app.config.test
Normal file
@ -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
|
||||||
5
tests/driver_ltc4150/app.config.test
Normal file
5
tests/driver_ltc4150/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_mag3110/app.config.test
Normal file
4
tests/driver_mag3110/app.config.test
Normal file
@ -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
|
||||||
7
tests/driver_mhz19/app.config.test
Normal file
7
tests/driver_mhz19/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_mma7660/app.config.test
Normal file
4
tests/driver_mma7660/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_mma8x5x/app.config.test
Normal file
4
tests/driver_mma8x5x/app.config.test
Normal file
@ -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
|
||||||
7
tests/driver_motor_driver/app.config.test
Normal file
7
tests/driver_motor_driver/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_mpl3115a2/app.config.test
Normal file
4
tests/driver_mpl3115a2/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_mpu9x50/app.config.test
Normal file
4
tests/driver_mpu9x50/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_mq3/app.config.test
Normal file
4
tests/driver_mq3/app.config.test
Normal file
@ -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
|
||||||
4
tests/driver_nvram_spi/app.config.test
Normal file
4
tests/driver_nvram_spi/app.config.test
Normal file
@ -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
|
||||||
5
tests/mtd_flashpage/app.config.test
Normal file
5
tests/mtd_flashpage/app.config.test
Normal file
@ -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
|
||||||
5
tests/mtd_mapper/app.config.test
Normal file
5
tests/mtd_mapper/app.config.test
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user