Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
drivers/{g,h,i,j}*: add Kconfig modules
This commit is contained in:
commit
c9720d16ca
4
.murdock
4
.murdock
@ -7,7 +7,9 @@ tests/driver_ad7746 tests/driver_adcxx1c tests/driver_ads101x tests/driver_adt10
|
|||||||
tests/driver_adt7310 tests/driver_adxl345 tests/driver_aip31068 tests/driver_apa102
|
tests/driver_adt7310 tests/driver_adxl345 tests/driver_aip31068 tests/driver_apa102
|
||||||
tests/driver_apds99xx tests/driver_apds99xx_full tests/driver_at tests/driver_at24cxxx
|
tests/driver_apds99xx tests/driver_apds99xx_full tests/driver_at tests/driver_at24cxxx
|
||||||
tests/driver_at24mac tests/driver_at25xxx tests/driver_at30tse75x tests/driver_ata8520e
|
tests/driver_at24mac tests/driver_at25xxx tests/driver_at30tse75x tests/driver_ata8520e
|
||||||
tests/driver_b* tests/driver_ccs811 tests/driver_ccs811_full"}
|
tests/driver_b* tests/driver_ccs811 tests/driver_ccs811_full
|
||||||
|
tests/driver_g* tests/driver_h* tests/driver_i* tests/driver_j*
|
||||||
|
tests/driver_my9221"}
|
||||||
: ${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
|
||||||
|
|||||||
@ -11,12 +11,17 @@ rsource "saul/Kconfig"
|
|||||||
menu "Actuator Device Drivers"
|
menu "Actuator Device Drivers"
|
||||||
rsource "aip31068/Kconfig"
|
rsource "aip31068/Kconfig"
|
||||||
rsource "apa102/Kconfig"
|
rsource "apa102/Kconfig"
|
||||||
|
rsource "grove_ledbar/Kconfig"
|
||||||
rsource "motor_driver/Kconfig"
|
rsource "motor_driver/Kconfig"
|
||||||
|
rsource "my9221/Kconfig"
|
||||||
endmenu # Actuator Device Drivers
|
endmenu # Actuator Device Drivers
|
||||||
|
|
||||||
menu "Miscellaneous Device Drivers"
|
menu "Miscellaneous Device Drivers"
|
||||||
rsource "at/Kconfig"
|
rsource "at/Kconfig"
|
||||||
rsource "at24mac/Kconfig"
|
rsource "at24mac/Kconfig"
|
||||||
|
rsource "hd44780/Kconfig"
|
||||||
|
rsource "ili9341/Kconfig"
|
||||||
|
rsource "io1_xplained/Kconfig"
|
||||||
endmenu # Miscellaneous Device Drivers
|
endmenu # Miscellaneous Device Drivers
|
||||||
|
|
||||||
rsource "Kconfig.net"
|
rsource "Kconfig.net"
|
||||||
@ -43,7 +48,15 @@ rsource "ccs811/Kconfig"
|
|||||||
rsource "fxos8700/Kconfig"
|
rsource "fxos8700/Kconfig"
|
||||||
rsource "gp2y10xx/Kconfig"
|
rsource "gp2y10xx/Kconfig"
|
||||||
rsource "hdc1000/Kconfig"
|
rsource "hdc1000/Kconfig"
|
||||||
|
rsource "hih6130/Kconfig"
|
||||||
|
rsource "hmc5883l/Kconfig"
|
||||||
|
rsource "hts221/Kconfig"
|
||||||
|
rsource "ina2xx/Kconfig"
|
||||||
|
rsource "ina3221/Kconfig"
|
||||||
rsource "isl29020/Kconfig"
|
rsource "isl29020/Kconfig"
|
||||||
|
rsource "isl29125/Kconfig"
|
||||||
|
rsource "itg320x/Kconfig"
|
||||||
|
rsource "jc42/Kconfig"
|
||||||
rsource "l3g4200d/Kconfig"
|
rsource "l3g4200d/Kconfig"
|
||||||
rsource "lpsxxx/Kconfig"
|
rsource "lpsxxx/Kconfig"
|
||||||
rsource "mag3110/Kconfig"
|
rsource "mag3110/Kconfig"
|
||||||
@ -59,6 +72,7 @@ rsource "at24cxxx/Kconfig"
|
|||||||
rsource "at25xxx/Kconfig"
|
rsource "at25xxx/Kconfig"
|
||||||
rsource "mtd/Kconfig"
|
rsource "mtd/Kconfig"
|
||||||
rsource "mtd_sdcard/Kconfig"
|
rsource "mtd_sdcard/Kconfig"
|
||||||
|
rsource "sdcard_spi/Kconfig"
|
||||||
endmenu # Storage Device Drivers
|
endmenu # Storage Device Drivers
|
||||||
|
|
||||||
endmenu # Drivers
|
endmenu # Drivers
|
||||||
|
|||||||
@ -5,6 +5,15 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config MODULE_GP2Y10XX
|
||||||
|
bool "GP2Y10xx Optical Dust Sensor device driver"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_ADC
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_ADC
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_GP2Y10XX
|
menuconfig KCONFIG_USEMODULE_GP2Y10XX
|
||||||
bool "Configure GP2Y10xx driver"
|
bool "Configure GP2Y10xx driver"
|
||||||
depends on USEMODULE_GP2Y10XX
|
depends on USEMODULE_GP2Y10XX
|
||||||
|
|||||||
11
drivers/grove_ledbar/Kconfig
Normal file
11
drivers/grove_ledbar/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_GROVE_LEDBAR
|
||||||
|
bool "Grove ledbar"
|
||||||
|
depends on MODULE_MY9221
|
||||||
|
depends on TEST_KCONFIG
|
||||||
15
drivers/hd44780/Kconfig
Normal file
15
drivers/hd44780/Kconfig
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# 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_HD44780
|
||||||
|
bool "HD44780 LCD"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_XTIMER
|
||||||
|
help
|
||||||
|
The display is also known as LCM1602C from Arduino kits.
|
||||||
@ -4,6 +4,14 @@
|
|||||||
# General Public License v2.1. See the file LICENSE in the top level
|
# General Public License v2.1. See the file LICENSE in the top level
|
||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config MODULE_HDC1000
|
||||||
|
bool "HDC1000 Humidity and Temperature Sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_HDC1000
|
menuconfig KCONFIG_USEMODULE_HDC1000
|
||||||
bool "Configure HDC1000 driver"
|
bool "Configure HDC1000 driver"
|
||||||
depends on USEMODULE_HDC1000
|
depends on USEMODULE_HDC1000
|
||||||
|
|||||||
16
drivers/hih6130/Kconfig
Normal file
16
drivers/hih6130/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_HIH6130
|
||||||
|
bool "HIH6130 humidity and temperature sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
help
|
||||||
|
Device driver for Honeywell HumidIcon Digital Humidity/Temperature
|
||||||
|
Sensors: HIH-6130/6131 Series.
|
||||||
22
drivers/hmc5883l/Kconfig
Normal file
22
drivers/hmc5883l/Kconfig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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_HMC5883L
|
||||||
|
bool "HMC5883L 3-axis digital compass"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
|
||||||
|
config MODULE_HMC5883L_INT
|
||||||
|
bool "Data-ready interrupt"
|
||||||
|
depends on MODULE_HMC5883L
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
help
|
||||||
|
Allows to configure an interrupt pin to get an event on data ready.
|
||||||
12
drivers/hts221/Kconfig
Normal file
12
drivers/hts221/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_HTS221
|
||||||
|
bool "ST HTS221 digital Humidity Sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
15
drivers/ili9341/Kconfig
Normal file
15
drivers/ili9341/Kconfig
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# 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_ILI9341
|
||||||
|
bool "ILI9341 display driver"
|
||||||
|
depends on HAS_PERIPH_SPI
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_SPI
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_XTIMER
|
||||||
29
drivers/ina2xx/Kconfig
Normal file
29
drivers/ina2xx/Kconfig
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
choice
|
||||||
|
bool "INA2XX current/power monitor"
|
||||||
|
optional
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
help
|
||||||
|
Select one of the supported models.
|
||||||
|
|
||||||
|
config MODULE_INA219
|
||||||
|
bool "INA219"
|
||||||
|
select MODULE_INA2XX
|
||||||
|
|
||||||
|
config MODULE_INA220
|
||||||
|
bool "INA220"
|
||||||
|
select MODULE_INA2XX
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_INA2XX
|
||||||
|
bool
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
22
drivers/ina3221/Kconfig
Normal file
22
drivers/ina3221/Kconfig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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_INA3221
|
||||||
|
bool "INA3221 current/power monitor"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
|
||||||
|
config MODULE_INA3221_ALERTS
|
||||||
|
bool "Altert pins"
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on MODULE_INA3221
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
help
|
||||||
|
Say y to enable the usage of alert pins.
|
||||||
16
drivers/io1_xplained/Kconfig
Normal file
16
drivers/io1_xplained/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_IO1_XPLAINED
|
||||||
|
bool "Atmel IO1 Xplained Extension board"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_ADC
|
||||||
|
depends on MODULE_AT30TSE75X
|
||||||
|
depends on MODULE_SDCARD_SPI
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_ADC
|
||||||
@ -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_ISL29020
|
||||||
|
bool "ISL29020 light sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_ISL29020
|
menuconfig KCONFIG_USEMODULE_ISL29020
|
||||||
bool "Configure ISL29020 driver"
|
bool "Configure ISL29020 driver"
|
||||||
depends on USEMODULE_ISL29020
|
depends on USEMODULE_ISL29020
|
||||||
|
|||||||
16
drivers/isl29125/Kconfig
Normal file
16
drivers/isl29125/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_ISL29125
|
||||||
|
bool "ISL29125 RGB light sensor"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
22
drivers/itg320x/Kconfig
Normal file
22
drivers/itg320x/Kconfig
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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_ITG320X
|
||||||
|
bool "ITG320X 3-axis gyroscope"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
help
|
||||||
|
The driver can be used with InvenSense ITG3200, ITG3205, and MPU3050.
|
||||||
|
|
||||||
|
config MODULE_ITG320X_INT
|
||||||
|
bool "Interrupt mode"
|
||||||
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
help
|
||||||
|
Say y to fetch the data when the data-ready interrupt is triggered.
|
||||||
12
drivers/jc42/Kconfig
Normal file
12
drivers/jc42/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_JC42
|
||||||
|
bool "JC42 compliant temperature sensor"
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
13
drivers/my9221/Kconfig
Normal file
13
drivers/my9221/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_MY9221
|
||||||
|
bool "MY9221 LED controller"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_XTIMER
|
||||||
17
drivers/sdcard_spi/Kconfig
Normal file
17
drivers/sdcard_spi/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_SDCARD_SPI
|
||||||
|
bool "SPI SD-Card"
|
||||||
|
depends on HAS_PERIPH_GPIO
|
||||||
|
depends on HAS_PERIPH_SPI
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
select MODULE_PERIPH_GPIO
|
||||||
|
select MODULE_PERIPH_SPI
|
||||||
|
select MODULE_PERIPH_SPI_RECONFIGURE if HAS_PERIPH_SPI_RECONFIGURE
|
||||||
|
select MODULE_XTIMER
|
||||||
|
select MODULE_CHECKSUM
|
||||||
@ -9,6 +9,7 @@ menu "System"
|
|||||||
rsource "arduino/Kconfig"
|
rsource "arduino/Kconfig"
|
||||||
rsource "auto_init/Kconfig"
|
rsource "auto_init/Kconfig"
|
||||||
rsource "benchmark/Kconfig"
|
rsource "benchmark/Kconfig"
|
||||||
|
rsource "checksum/Kconfig"
|
||||||
rsource "color/Kconfig"
|
rsource "color/Kconfig"
|
||||||
rsource "div/Kconfig"
|
rsource "div/Kconfig"
|
||||||
rsource "embunit/Kconfig"
|
rsource "embunit/Kconfig"
|
||||||
|
|||||||
10
sys/checksum/Kconfig
Normal file
10
sys/checksum/Kconfig
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# 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_CHECKSUM
|
||||||
|
bool "Checksum algorithms"
|
||||||
|
depends on TEST_KCONFIG
|
||||||
4
tests/driver_gp2y10xx/app.config.test
Normal file
4
tests/driver_gp2y10xx/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_GP2Y10XX=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
@ -5,6 +5,10 @@ USEMODULE += grove_ledbar
|
|||||||
# disable native GPIOs for automatic test
|
# disable native GPIOs for automatic test
|
||||||
ifeq (native,$(BOARD))
|
ifeq (native,$(BOARD))
|
||||||
USEMODULE += periph_gpio_mock
|
USEMODULE += periph_gpio_mock
|
||||||
|
# the same for Kconfig
|
||||||
|
ifeq (1,$(TEST_KCONFIG))
|
||||||
|
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# set default device parameters in case they are undefined
|
# set default device parameters in case they are undefined
|
||||||
|
|||||||
8
tests/driver_grove_ledbar/app.config.test
Normal file
8
tests/driver_grove_ledbar/app.config.test
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# this file enables modules defined in Kconfig. Do not use this file for
|
||||||
|
# application configuration. This is only needed during migration.
|
||||||
|
|
||||||
|
# LED driver needed for the LED bar driver
|
||||||
|
CONFIG_MODULE_MY9221=y
|
||||||
|
|
||||||
|
CONFIG_MODULE_GROVE_LEDBAR=y
|
||||||
|
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
||||||
5
tests/driver_grove_ledbar/app.config.test.native
Normal file
5
tests/driver_grove_ledbar/app.config.test.native
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.
|
||||||
|
|
||||||
|
# disable native GPIOs for automatic test
|
||||||
|
CONFIG_MODULE_PERIPH_GPIO_MOCK=y
|
||||||
@ -5,6 +5,10 @@ USEMODULE += hd44780
|
|||||||
# disable native GPIOs for automatic test
|
# disable native GPIOs for automatic test
|
||||||
ifeq (native,$(BOARD))
|
ifeq (native,$(BOARD))
|
||||||
USEMODULE += periph_gpio_mock
|
USEMODULE += periph_gpio_mock
|
||||||
|
# the same for Kconfig
|
||||||
|
ifeq (1,$(TEST_KCONFIG))
|
||||||
|
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Fails on esp32 because the driver defines default GPIOs that are used for the
|
# Fails on esp32 because the driver defines default GPIOs that are used for the
|
||||||
|
|||||||
4
tests/driver_hd44780/app.config.test
Normal file
4
tests/driver_hd44780/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_HD44780=y
|
||||||
|
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
||||||
5
tests/driver_hd44780/app.config.test.native
Normal file
5
tests/driver_hd44780/app.config.test.native
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.
|
||||||
|
|
||||||
|
# disable native GPIOs for automatic test
|
||||||
|
CONFIG_MODULE_PERIPH_GPIO_MOCK=y
|
||||||
5
tests/driver_hdc1000/app.config.test
Normal file
5
tests/driver_hdc1000/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_HDC1000=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
|
CONFIG_MODULE_FMT=y
|
||||||
4
tests/driver_hih6130/app.config.test
Normal file
4
tests/driver_hih6130/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_HIH6130=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
4
tests/driver_hmc5883l/app.config.test
Normal file
4
tests/driver_hmc5883l/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_HMC5883L=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
4
tests/driver_hts221/app.config.test
Normal file
4
tests/driver_hts221/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_HTS221=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
4
tests/driver_ili9341/app.config.test
Normal file
4
tests/driver_ili9341/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_ILI9341=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
5
tests/driver_ina2xx/app.config.test
Normal file
5
tests/driver_ina2xx/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_INA219=y
|
||||||
5
tests/driver_ina3221/app.config.test
Normal file
5
tests/driver_ina3221/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_INA3221=y
|
||||||
|
CONFIG_MODULE_FMT=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
5
tests/driver_io1_xplained/app.config.test
Normal file
5
tests/driver_io1_xplained/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_IO1_XPLAINED=y
|
||||||
|
CONFIG_MODULE_AT30TSE75X=y
|
||||||
|
CONFIG_MODULE_SDCARD_SPI=y
|
||||||
4
tests/driver_isl29020/app.config.test
Normal file
4
tests/driver_isl29020/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_ISL29020=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
4
tests/driver_isl29125/app.config.test
Normal file
4
tests/driver_isl29125/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_ISL29125=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
4
tests/driver_itg320x/app.config.test
Normal file
4
tests/driver_itg320x/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_ITG320X=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
4
tests/driver_jc42/app.config.test
Normal file
4
tests/driver_jc42/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_JC42=y
|
||||||
|
CONFIG_MODULE_XTIMER=y
|
||||||
@ -5,6 +5,10 @@ USEMODULE += my9221
|
|||||||
# disable native GPIOs for automatic test
|
# disable native GPIOs for automatic test
|
||||||
ifeq (native,$(BOARD))
|
ifeq (native,$(BOARD))
|
||||||
USEMODULE += periph_gpio_mock
|
USEMODULE += periph_gpio_mock
|
||||||
|
# the same for Kconfig
|
||||||
|
ifeq (1,$(TEST_KCONFIG))
|
||||||
|
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# set default device parameters in case they are undefined
|
# set default device parameters in case they are undefined
|
||||||
|
|||||||
4
tests/driver_my9221/app.config.test
Normal file
4
tests/driver_my9221/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_MY9221=y
|
||||||
|
CONFIG_MODULE_TEST_UTILS_INTERACTIVE_SYNC=y
|
||||||
5
tests/driver_my9221/app.config.test.native
Normal file
5
tests/driver_my9221/app.config.test.native
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.
|
||||||
|
|
||||||
|
# disable native GPIOs for automatic test
|
||||||
|
CONFIG_MODULE_PERIPH_GPIO_MOCK=y
|
||||||
Loading…
x
Reference in New Issue
Block a user