mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-28 23:49:47 +01:00
Merge pull request #20438 from MrKevinWeiss/pr/kconfig/dep/removal
Remove Kconfig dependency modelling
This commit is contained in:
commit
04620d471c
26
Kconfig
26
Kconfig
@ -9,12 +9,6 @@ mainmenu "RIOT Configuration"
|
||||
# Load macro definitions
|
||||
rsource "kconfigs/Kconfig.consts"
|
||||
|
||||
# Load feature declarations
|
||||
rsource "kconfigs/Kconfig.features"
|
||||
|
||||
# Load error symbols
|
||||
rsource "kconfigs/Kconfig.errors"
|
||||
|
||||
# For now, get used modules as macros from this file (see kconfig.mk)
|
||||
osource "$(KCONFIG_GENERATED_DEPENDENCIES)"
|
||||
|
||||
@ -41,23 +35,5 @@ menu "External Packages"
|
||||
osource "$(KCONFIG_EXTERNAL_PKG_CONFIGS)"
|
||||
endmenu # External Packages
|
||||
|
||||
comment "RIOT is in a migration phase."
|
||||
comment "Some configuration options may not be here. Use CFLAGS instead."
|
||||
|
||||
comment "!! ERROR: There are conflicting modules active !!"
|
||||
depends on ERROR_MODULES_CONFLICT != ""
|
||||
|
||||
config TEST_KCONFIG
|
||||
bool
|
||||
default y if '$(TEST_KCONFIG)' = '1'
|
||||
help
|
||||
This is used during the Kconfig migration to test the module dependency
|
||||
modelling. Don't change the default value unless you know what you are
|
||||
doing.
|
||||
|
||||
config DEVELHELP
|
||||
bool "Development Help"
|
||||
help
|
||||
Set to enable code in RIOT that does safety checking which might not be
|
||||
needed in a production environment but helps in the development
|
||||
process.
|
||||
comment "Ideally, make a PR to add them to the Kconfig."
|
||||
|
@ -74,11 +74,7 @@ endif
|
||||
|
||||
ifneq (,$(SRCXX))
|
||||
ifeq (,$(filter cpp,$(USEMODULE)))
|
||||
ifneq (1,$(TEST_KCONFIG))
|
||||
$(error Found C++ source, but feature "cpp" is not used. Add "FEATURES_REQUIRED += cpp")
|
||||
else
|
||||
$(error Found C++ source, but "cpp" module is not used. Enable the MODULE_CPP in Kconfig)
|
||||
endif
|
||||
$(error Found C++ source, but feature "cpp" is not used. Add "FEATURES_REQUIRED += cpp")
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -268,11 +268,6 @@ include $(RIOTMAKE)/scan-build.inc.mk
|
||||
|
||||
export RIOTBUILD_CONFIG_HEADER_C = $(BINDIR)/riotbuild/riotbuild.h
|
||||
|
||||
# When testing Kconfig's module modelling we need to run Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
SHOULD_RUN_KCONFIG = 1
|
||||
endif
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
OPEN := open
|
||||
else
|
||||
@ -425,40 +420,22 @@ include $(RIOTMAKE)/defaultmodules_regular.inc.mk
|
||||
# Include Kconfig functionalities
|
||||
include $(RIOTMAKE)/kconfig.mk
|
||||
|
||||
# For testing, use TEST_KCONFIG as a switch between Makefile.dep and Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
ifneq ($(RIOT_CI_BUILD),1)
|
||||
$(info === [ATTENTION] Testing Kconfig dependency modelling ===)
|
||||
endif
|
||||
KCONFIG_MODULES := $(call lowercase,$(patsubst CONFIG_MODULE_%,%,$(filter CONFIG_MODULE_%,$(.VARIABLES))))
|
||||
USEMODULE := $(KCONFIG_MODULES)
|
||||
KCONFIG_PACKAGES := $(call lowercase,$(patsubst CONFIG_PACKAGE_%,%,$(filter CONFIG_PACKAGE_%,$(.VARIABLES))))
|
||||
USEPKG := $(KCONFIG_PACKAGES)
|
||||
# always select provided architecture features
|
||||
FEATURES_REQUIRED += $(filter arch_%,$(FEATURES_PROVIDED))
|
||||
# always select CPU core features
|
||||
FEATURES_REQUIRED += $(filter cpu_core_%,$(FEATURES_PROVIDED))
|
||||
|
||||
# Locate used packages in $(RIOTPKG) or $(EXTERNAL_PKG_DIRS).
|
||||
PKGDIRS := $(RIOTPKG) $(EXTERNAL_PKG_DIRS)
|
||||
PKG_PATHS := $(sort $(foreach dir,$(PKGDIRS),\
|
||||
$(foreach pkg,$(USEPKG),$(dir $(wildcard $(dir)/$(pkg)/Makefile)))))
|
||||
# check if required features are provided and update $(FEATURES_USED)
|
||||
include $(RIOTMAKE)/features_check.inc.mk
|
||||
|
||||
EXTERNAL_MODULE_PATHS := $(dir $(EXTERNAL_MODULE_KCONFIGS))
|
||||
else
|
||||
# always select provided architecture features
|
||||
FEATURES_REQUIRED += $(filter arch_%,$(FEATURES_PROVIDED))
|
||||
# always select CPU core features
|
||||
FEATURES_REQUIRED += $(filter cpu_core_%,$(FEATURES_PROVIDED))
|
||||
# handle removal of default modules
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
# check if required features are provided and update $(FEATURES_USED)
|
||||
include $(RIOTMAKE)/features_check.inc.mk
|
||||
# avoid recursive expansion
|
||||
USEMODULE := $(sort $(USEMODULE))
|
||||
|
||||
# handle removal of default modules
|
||||
USEMODULE += $(filter-out $(DISABLE_MODULE), $(DEFAULT_MODULE))
|
||||
|
||||
# avoid recursive expansion
|
||||
USEMODULE := $(sort $(USEMODULE))
|
||||
|
||||
# process dependencies
|
||||
include $(RIOTMAKE)/dependency_resolution.inc.mk
|
||||
endif
|
||||
# process dependencies
|
||||
include $(RIOTMAKE)/dependency_resolution.inc.mk
|
||||
|
||||
# Include dfu-util configuration when using riotboot_dfu bootloader before
|
||||
# including the board's Makefile.include which could define dfu-util
|
||||
|
@ -8,17 +8,3 @@ config BOARD
|
||||
string
|
||||
help
|
||||
Name of the currently selected board.
|
||||
|
||||
config MODULE_BOARD
|
||||
bool
|
||||
default y
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Module which holds all board-specific files.
|
||||
|
||||
config MODULE_BOARD_COMMON_INIT
|
||||
bool
|
||||
default y
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common board initialization module
|
||||
|
@ -12,10 +12,5 @@ config BOARD_ACD52832
|
||||
default y
|
||||
select BOARD_COMMON_NRF52
|
||||
select CPU_MODEL_NRF52832XXAA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52xxxdk/Kconfig"
|
||||
|
@ -12,22 +12,5 @@ config BOARD_ADAFRUIT_CLUE
|
||||
default y
|
||||
select BOARD_COMMON_NRF52
|
||||
select CPU_MODEL_NRF52840XXAA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_APDS9960
|
||||
select HAVE_BMP280_I2C
|
||||
select HAVE_ILI9341
|
||||
select HAVE_LIS3MDL
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_SHT3X
|
||||
|
||||
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -11,26 +11,3 @@ config BOARD_ADAFRUIT_GRAND_CENTRAL_M4_EXPRESS
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_SAMD51P20A
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_DAC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
select HAVE_MTD_SPI_NOR
|
||||
# This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR
|
||||
select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR
|
||||
|
||||
select HAVE_MTD_SDCARD_DEFAULT
|
||||
select MODULE_FATFS_VFS if MODULE_VFS_DEFAULT
|
||||
|
||||
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|
||||
|
@ -11,21 +11,3 @@ config BOARD_ADAFRUIT_ITSYBITSY_M4
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_SAMD51G19A
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
select HAS_PERIPH_DAC
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
select HAVE_MTD_SPI_NOR
|
||||
# This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR
|
||||
select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR
|
||||
|
||||
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|
||||
|
@ -12,17 +12,5 @@ config BOARD_ADAFRUIT_ITSYBITSY_NRF52
|
||||
default y
|
||||
select BOARD_COMMON_NRF52
|
||||
select CPU_MODEL_NRF52840XXAA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -11,22 +11,3 @@ config BOARD_ADAFRUIT_PYBADGE
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_SAMD51J19A
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_DAC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
|
||||
select HAVE_ST7735
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_MTD_SPI_NOR
|
||||
# This specific board requires SPI_ON_QSPI for the MTD_SPI_NOR
|
||||
select MODULE_PERIPH_SPI_ON_QSPI if MODULE_MTD_SPI_NOR
|
||||
|
||||
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|
||||
|
@ -12,10 +12,5 @@ config BOARD_AIRFY_BEACON
|
||||
default y
|
||||
select BOARD_COMMON_NRF51
|
||||
select CPU_MODEL_NRF51X22XXAA
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select MODULE_BOARDS_COMMON_NRF51 if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf51/Kconfig"
|
||||
|
@ -13,18 +13,7 @@ config BOARD_ALIENTEK_PANDORA
|
||||
default y
|
||||
select CPU_MODEL_STM32L475VE
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -9,8 +9,6 @@ config BOARD_ARDUINO_DUEMILANOVE
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
|
||||
config BOARD
|
||||
default "arduino-duemilanove" if BOARD_ARDUINO_DUEMILANOVE
|
||||
|
@ -12,7 +12,5 @@ config BOARD_ARDUINO_LEONARDO
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select CPU_MODEL_ATMEGA32U4
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-atmega/Kconfig"
|
||||
|
@ -12,8 +12,5 @@ config BOARD_ARDUINO_MEGA2560
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA2560
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
select HAS_ARDUINO_SHIELD_MEGA
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-atmega/Kconfig"
|
||||
|
@ -11,6 +11,5 @@ config BOARD_ARDUINO_MKR1000
|
||||
bool
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_MKR
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-MKR if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-mkr/Kconfig"
|
||||
|
@ -11,6 +11,5 @@ config BOARD_ARDUINO_MKRFOX1200
|
||||
bool
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_MKR
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-MKR if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-mkr/Kconfig"
|
||||
|
@ -11,6 +11,5 @@ config BOARD_ARDUINO_MKRWAN1300
|
||||
bool
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_MKR
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-MKR if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-mkr/Kconfig"
|
||||
|
@ -11,6 +11,5 @@ config BOARD_ARDUINO_MKRZERO
|
||||
bool
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_MKR
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-MKR if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-mkr/Kconfig"
|
||||
|
@ -12,17 +12,5 @@ config BOARD_ARDUINO_NANO_33_BLE
|
||||
default y
|
||||
select BOARD_COMMON_NRF52
|
||||
select CPU_MODEL_NRF52840XXAA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -11,17 +11,3 @@ config BOARD_ARDUINO_NANO_33_IOT
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_SAMD21G18A
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|
||||
|
@ -9,8 +9,6 @@ config BOARD_ARDUINO_NANO
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
select HAS_ARDUINO_SHIELD_NANO
|
||||
|
||||
config BOARD
|
||||
default "arduino-nano" if BOARD_ARDUINO_NANO
|
||||
|
@ -9,8 +9,6 @@ config BOARD_ARDUINO_UNO
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
|
||||
config BOARD
|
||||
default "arduino-uno" if BOARD_ARDUINO_UNO
|
||||
|
@ -11,7 +11,6 @@ config BOARD
|
||||
config BOARD_ARDUINO_ZERO
|
||||
bool
|
||||
default y
|
||||
select HAS_TINYUSB_DEVICE
|
||||
select BOARD_COMMON_ARDUINO_ZERO
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-zero/Kconfig"
|
||||
|
@ -11,15 +11,3 @@ config BOARD_ATMEGA1284P
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA1284P
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -11,16 +11,3 @@ config BOARD_ATMEGA256RFR2_XPRO
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA256RFR2
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_AT30TSE75X
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -12,18 +12,3 @@ config BOARD_ATMEGA328P_XPLAINED_MINI
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
select MODULE_ATMEGA_PCINT0 if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -11,16 +11,3 @@ config BOARD_ATMEGA328P
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
# Various other features (if any)
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -11,15 +11,3 @@ config BOARD_ATMEGA8
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA8
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
# Various other features (if any)
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -12,12 +12,3 @@ config BOARD_ATXMEGA_A1_XPLAINED
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_XMEGA128A1
|
||||
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATXMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atxmega/Kconfig"
|
||||
|
@ -12,12 +12,3 @@ config BOARD_ATXMEGA_A1U_XPRO
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_XMEGA128A1U
|
||||
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATXMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atxmega/Kconfig"
|
||||
|
@ -12,12 +12,3 @@ config BOARD_ATXMEGA_A3BU_XPLAINED
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_XMEGA256A3BU
|
||||
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATXMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atxmega/Kconfig"
|
||||
|
@ -11,20 +11,3 @@ config BOARD_AVR_RSS2
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA256RFR2
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
select MODULE_ATMEGA_PCINT0 if TEST_KCONFIG
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_BME280_I2C
|
||||
select HAVE_AT24MAC
|
||||
select HAVE_MTD_AT24CXXX
|
||||
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -11,7 +11,3 @@ config BOARD_AVSEXTREM
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_LPC2387
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
@ -13,28 +13,7 @@ config BOARD_B_L072Z_LRWAN1
|
||||
default y
|
||||
select CPU_MODEL_STM32L072CZ
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_DMA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_SPI_GPIO_MODE
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
# For riotboot you need an openocd that supports dualbank flashing.
|
||||
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
|
||||
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_PERIPH_INIT_LED0
|
||||
default n if MODULE_PERIPH_SPI
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -13,31 +13,7 @@ config BOARD_B_L475E_IOT01A
|
||||
default y
|
||||
select CPU_MODEL_STM32L475VG
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_DMA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
select HAS_RIOTBOOT
|
||||
select HAS_TINYUSB_DEVICE
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_HTS221
|
||||
select HAVE_LIS3MDL
|
||||
select HAVE_LPS22HB
|
||||
select HAVE_LSM6DSL
|
||||
|
||||
config MODULE_PERIPH_INIT_LED0
|
||||
default n if MODULE_PERIPH_SPI
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -13,23 +13,7 @@ config BOARD_B_U585I_IOT02A
|
||||
default y
|
||||
select CPU_MODEL_STM32U585AI
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
select HAS_TINYUSB_DEVICE
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_HTS221
|
||||
select HAVE_LPS22HH
|
||||
|
||||
config MODULE_PERIPH_INIT_LED0
|
||||
default n if MODULE_PERIPH_SPI
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -11,19 +11,3 @@ config BOARD_BASTWAN
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_SAMR34J18B
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_SX1276
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
@ -13,6 +13,5 @@ config BOARD_BLACKPILL_STM32F103C8
|
||||
default y
|
||||
select BOARD_COMMON_BLXXXPILL
|
||||
select CPU_MODEL_STM32F103C8
|
||||
select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/blxxxpill/Kconfig"
|
||||
|
@ -13,18 +13,5 @@ config BOARD_BLACKPILL_STM32F103CB
|
||||
default y
|
||||
select BOARD_COMMON_BLXXXPILL
|
||||
select CPU_MODEL_STM32F103CB
|
||||
select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG
|
||||
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
# HACK: This is added due to the make resolution
|
||||
# make will select timer backend, probably due to the USBUS
|
||||
# and kconfig cannot select if something is already selected like make
|
||||
choice ZTIMER_MSEC_BACKEND
|
||||
default ZTIMER_MSEC_BACKEND_TIMER if MODULE_PERIPH_RTC
|
||||
endchoice
|
||||
|
||||
source "$(RIOTBOARD)/common/blxxxpill/Kconfig"
|
||||
|
@ -12,14 +12,3 @@ config BOARD_BLUEPILL_STM32F030C8
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_STM32F030C8
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_RTC
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -13,6 +13,5 @@ config BOARD_BLUEPILL_STM32F103C8
|
||||
default y
|
||||
select BOARD_COMMON_BLXXXPILL
|
||||
select CPU_MODEL_STM32F103C8
|
||||
select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/blxxxpill/Kconfig"
|
||||
|
@ -13,18 +13,5 @@ config BOARD_BLUEPILL_STM32F103CB
|
||||
default y
|
||||
select BOARD_COMMON_BLXXXPILL
|
||||
select CPU_MODEL_STM32F103CB
|
||||
select MODULE_BOARDS_COMMON_BLXXXPILL if TEST_KCONFIG
|
||||
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
# HACK: This is added due to the make resolution
|
||||
# make will select timer backend, probably due to the USBUS
|
||||
# and kconfig cannot select if something is already selected like make
|
||||
choice ZTIMER_MSEC_BACKEND
|
||||
default ZTIMER_MSEC_BACKEND_TIMER if MODULE_PERIPH_RTC
|
||||
endchoice
|
||||
|
||||
source "$(RIOTBOARD)/common/blxxxpill/Kconfig"
|
||||
|
@ -12,12 +12,5 @@ config BOARD_CALLIOPE_MINI
|
||||
default y
|
||||
select BOARD_COMMON_NRF51
|
||||
select CPU_MODEL_NRF51X22XXAB
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_PWM
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_BMX055
|
||||
|
||||
source "$(RIOTBOARD)/common/microbit/Kconfig"
|
||||
source "$(RIOTBOARD)/common/nrf51/Kconfig"
|
||||
|
@ -12,10 +12,3 @@ config BOARD_CC1312_LAUNCHPAD
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC1312R1F3
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -12,10 +12,3 @@ config BOARD_CC1350_LAUNCHPAD
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC13X0F128
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -12,10 +12,3 @@ config BOARD_CC1352_LAUNCHPAD
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC1352R1
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -12,10 +12,3 @@ config BOARD_CC1352P_LAUNCHPAD
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC1352P1
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -11,13 +11,3 @@ config BOARD_CC2538DK
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC2538NF53
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_EMULATOR_RENODE
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_CC2538_RF
|
||||
|
@ -12,10 +12,3 @@ config BOARD_CC2650_LAUNCHPAD
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC26X0F128
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -12,8 +12,3 @@ config BOARD_CC2650STK
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC26X0F128
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
@ -6,29 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_ARDUINO_ATMEGA
|
||||
bool
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
# Various other features (if any)
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_I2C
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_PWM
|
||||
select HAS_ARDUINO_SHIELD_ISP
|
||||
select HAS_ARDUINO_SPI
|
||||
select HAS_ARDUINO_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_ARDUINO-ATMEGA
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_BOARDS_COMMON_ATMEGA
|
||||
help
|
||||
Common code of Arduino ATmega boards.
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -7,30 +7,3 @@
|
||||
config BOARD_COMMON_ARDUINO_DUE
|
||||
bool
|
||||
select CPU_MODEL_SAM3X8E
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_DAC
|
||||
select HAS_ARDUINO_I2C
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_SHIELD_ISP
|
||||
select HAS_ARDUINO_SHIELD_MEGA
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
select HAS_ARDUINO_SPI
|
||||
select HAS_ARDUINO_UART
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_DAC
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ARDUINO_DUE if TEST_KCONFIG
|
||||
|
||||
config MODULE_BOARDS_COMMON_ARDUINO_DUE
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code for boards based on arduino-due.
|
||||
|
@ -7,26 +7,3 @@
|
||||
config BOARD_COMMON_ARDUINO_MKR
|
||||
bool
|
||||
select CPU_MODEL_SAMD21G18A
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_PWM
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_ARDUINO-MKR
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code for arduino-mkr type of boards.
|
||||
|
||||
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|
||||
|
@ -7,29 +7,3 @@
|
||||
config BOARD_COMMON_ARDUINO_ZERO
|
||||
bool
|
||||
select CPU_MODEL_SAMD21G18A
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_I2C
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_PWM
|
||||
select HAS_ARDUINO_SHIELD_ISP
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
select HAS_ARDUINO_SPI
|
||||
select HAS_ARDUINO_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_ARDUINO_ZERO
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
default y
|
||||
help
|
||||
Common code for arduino-zero type of boards.
|
||||
|
@ -1,12 +0,0 @@
|
||||
# Copyright (c) 2021 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_BOARDS_COMMON_ATMEGA
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code of ATmega boards.
|
@ -1,12 +0,0 @@
|
||||
# Copyright (c) 2021 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_BOARDS_COMMON_ATXMEGA
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common ATXmega boards code.
|
@ -7,30 +7,10 @@
|
||||
|
||||
config BOARD_COMMON_BLXXXPILL
|
||||
bool
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_DMA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_QDEC
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_HSE
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_BLXXXPILL
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code of bluepill-stm32f103xx and blackpill-stm32f103xx boards
|
||||
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -7,32 +7,5 @@
|
||||
config BOARD_COMMON_E104_BT50XXA_TB
|
||||
bool
|
||||
select BOARD_COMMON_NRF52
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_E104_BT50XXA_TB if TEST_KCONFIG
|
||||
|
||||
config MODULE_BOARDS_COMMON_E104_BT50XXA_TB
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
common code of e104-bt50xxa-tb boards
|
||||
|
||||
config MODULE_BOARD_SOFTWARE_RESET
|
||||
bool "Enable softare reset button"
|
||||
default y
|
||||
depends on HAS_PERIPH_GPIO
|
||||
depends on HAS_PERIPH_GPIO_IRQ
|
||||
depends on HAS_PERIPH_PM
|
||||
depends on TEST_KCONFIG
|
||||
select MODULE_PERIPH_GPIO
|
||||
select MODULE_PERIPH_GPIO_IRQ
|
||||
select MODULE_PERIPH_PM
|
||||
|
||||
choice NRF5X_RADIO_BACKEND
|
||||
default MODULE_NRFMIN
|
||||
endchoice
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -8,13 +8,4 @@ config BOARD_COMMON_ESP32
|
||||
bool
|
||||
select BOARD_COMMON_ESP32X
|
||||
|
||||
config MODULE_BOARDS_COMMON_ESP32
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_ESP32
|
||||
depends on HAS_ARCH_ESP32
|
||||
default y
|
||||
help
|
||||
Common ESP32 boards code.
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32x/Kconfig"
|
||||
|
@ -9,13 +9,4 @@ config BOARD_COMMON_ESP32C3
|
||||
bool
|
||||
select BOARD_COMMON_ESP32X
|
||||
|
||||
config MODULE_BOARDS_COMMON_ESP32C3
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_ESP32C3
|
||||
depends on HAS_ARCH_ESP32
|
||||
default y
|
||||
help
|
||||
Common ESP32-C3 boards code.
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32x/Kconfig"
|
||||
|
@ -9,13 +9,4 @@ config BOARD_COMMON_ESP32S2
|
||||
bool
|
||||
select BOARD_COMMON_ESP32X
|
||||
|
||||
config MODULE_BOARDS_COMMON_ESP32S2
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_ESP32S2
|
||||
depends on HAS_ARCH_ESP32
|
||||
default y
|
||||
help
|
||||
Common ESP32-S2 boards code.
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32x/Kconfig"
|
||||
|
@ -9,13 +9,4 @@ config BOARD_COMMON_ESP32S3
|
||||
bool
|
||||
select BOARD_COMMON_ESP32X
|
||||
|
||||
config MODULE_BOARDS_COMMON_ESP32S3
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_ESP32S3
|
||||
depends on HAS_ARCH_ESP32
|
||||
default y
|
||||
help
|
||||
Common ESP32-S3 boards code.
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32x/Kconfig"
|
||||
|
@ -6,15 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_ESP32X
|
||||
bool
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_ESP32X
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_ESP32X
|
||||
depends on HAS_ARCH_ESP32
|
||||
default y
|
||||
help
|
||||
Common ESP32x boards code.
|
||||
|
@ -6,20 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_ESP8266
|
||||
bool
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_ESP8266
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on HAS_ARCH_ESP8266
|
||||
depends on BOARD_COMMON_ESP8266
|
||||
default y
|
||||
help
|
||||
Common ESP8266 boards code.
|
||||
|
@ -8,32 +8,12 @@
|
||||
config BOARD_COMMON_IOTLAB
|
||||
bool
|
||||
select CPU_MODEL_STM32F103RE
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_HSE
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_AT86RF231
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_L3G4200D_NG
|
||||
select HAVE_LSM303DLHC
|
||||
|
||||
config CLOCK_HSE
|
||||
default 16000000
|
||||
|
||||
config MODULE_BOARDS_COMMON_IOTLAB
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code of iotlab based boards
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -8,18 +8,3 @@ config BOARD_COMMON_KW41Z
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_MKW41Z512VHT4
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_KW41ZRF
|
||||
select HAVE_SAUL_ADC
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_KW41Z
|
||||
bool
|
||||
help
|
||||
Common code for kw41z-based boards.
|
||||
|
@ -1,11 +0,0 @@
|
||||
# Copyright (c) 2021 Inria
|
||||
#
|
||||
# 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_MICROBIT
|
||||
bool "BBC micro:bit specific LED matrix handling"
|
||||
select MODULE_ZTIMER
|
||||
select ZTIMER_USEC
|
||||
select MODULE_MINEPLEX
|
@ -9,11 +9,3 @@ config BOARD_COMMON_MSB_430
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_MSP430F1612
|
||||
|
||||
config MODULE_BOARDS_COMMON_MSB_430
|
||||
bool
|
||||
default y
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_MSB_430
|
||||
help
|
||||
Common code for msb-430 boards.
|
||||
|
@ -6,17 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_NRF51
|
||||
bool
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_TIMER
|
||||
|
||||
select HAVE_SAUL_NRF_TEMPERATURE
|
||||
|
||||
config MODULE_BOARDS_COMMON_NRF51
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code of NRF51 boards
|
||||
|
||||
choice NRF5X_RADIO_BACKEND
|
||||
default MODULE_NRFMIN
|
||||
endchoice
|
||||
|
@ -6,8 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_NRF52
|
||||
bool
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SAUL_NRF_TEMPERATURE
|
||||
|
@ -7,19 +7,5 @@
|
||||
config BOARDS_COMMON_NRF52XXXDK
|
||||
bool
|
||||
select BOARD_COMMON_NRF52
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_VDD_LC_FILTER_REG1
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_SAUL_PWM
|
||||
|
||||
config MODULE_BOARDS_COMMON_NRF52XXXDK
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code for boards based on nrf52xxxdk.
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -5,15 +5,4 @@
|
||||
# directory for more details.
|
||||
#
|
||||
|
||||
if TEST_KCONFIG
|
||||
|
||||
config MODULE_BOARDS_COMMON_NUCLEO
|
||||
bool
|
||||
default y
|
||||
select HAVE_SAUL_GPIO
|
||||
help
|
||||
stm32 common nucleo code.
|
||||
|
||||
endif # TEST_KCONFIG
|
||||
|
||||
rsource "../stm32/Kconfig"
|
||||
|
@ -7,10 +7,6 @@
|
||||
|
||||
config BOARD_COMMON_NUCLEO144
|
||||
bool
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_SHIELD_MEGA
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_HSE if !CPU_FAM_L4 && !CPU_FAM_L5
|
||||
|
@ -7,15 +7,9 @@
|
||||
|
||||
config BOARD_COMMON_NUCLEO32
|
||||
bool
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_SHIELD_NANO
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_LSE if (CPU_FAM_L0 || CPU_FAM_L4) && !BOARD_NUCLEO_L011K4
|
||||
|
||||
config MODULE_PERIPH_INIT_LED0
|
||||
default n if MODULE_PERIPH_SPI
|
||||
|
||||
source "$(RIOTBOARD)/common/nucleo/Kconfig"
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -7,19 +7,10 @@
|
||||
|
||||
config BOARD_COMMON_NUCLEO64
|
||||
bool
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_I2C
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ARDUINO_SHIELD_UNO
|
||||
select HAS_ARDUINO_SPI
|
||||
select HAS_ARDUINO_UART
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_HSE if !CPU_FAM_G0 && !CPU_FAM_L0 && !CPU_FAM_L1 && !CPU_FAM_L4
|
||||
select BOARD_HAS_LSE if !BOARD_NUCLEO_L152RE
|
||||
|
||||
config MODULE_PERIPH_INIT_LED0
|
||||
default n if MODULE_PERIPH_SPI
|
||||
|
||||
source "$(RIOTBOARD)/common/nucleo/Kconfig"
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -8,28 +8,5 @@ config BOARD_COMMON_PARTICLE_MESH
|
||||
bool
|
||||
select BOARD_COMMON_NRF52
|
||||
select CPU_MODEL_NRF52840XXAA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_UART_HW_FC
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
select HAS_VDD_LC_FILTER_REG1
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_SAUL_PWM
|
||||
|
||||
select MODULE_BOARDS_COMMON_PARTICLE_MESH if TEST_KCONFIG
|
||||
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
||||
|
||||
config MODULE_BOARDS_COMMON_PARTICLE_MESH
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code for particle-mesh boards
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -7,11 +7,4 @@
|
||||
config BOARD_COMMON_QN908X
|
||||
bool
|
||||
depends on CPU_FAM_QN908X
|
||||
select MODULE_BOARD_COMMON_QN908X if TEST_KCONFIG
|
||||
# Add common board support here.
|
||||
|
||||
config MODULE_BOARDS_COMMON_QN908X
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code for qn908x boards.
|
||||
|
@ -9,17 +9,3 @@ config BOARD_COMMON_REMOTE
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_CC2538SF53
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_CC2538_RF
|
||||
|
||||
config MODULE_BOARDS_COMMON_REMOTE
|
||||
bool
|
||||
default y
|
||||
depends on TEST_KCONFIG
|
||||
|
@ -1,16 +0,0 @@
|
||||
# Copyright (c) 2021 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_BOARDS_COMMON_SAMDX1-ARDUINO-BOOTLOADER
|
||||
bool
|
||||
default y if MODULE_USBUS_CDC_ACM
|
||||
imply MODULE_USB_BOARD_RESET
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code of samdx1 boards with an arduino bootloader
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
@ -6,24 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_SAML1X
|
||||
bool
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_DAC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_SAML1X
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_SAML1X
|
||||
default y
|
||||
help
|
||||
Board specific code for the Microchip SAML10 and SAML11 Xplained Pro
|
||||
boards.
|
||||
|
@ -6,17 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_SILABS
|
||||
bool
|
||||
select HAS_ARDUINO_ANALOG
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_EFM32_CORETEMP
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
config MODULE_BOARDS_COMMON_SILABS
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_SILABS
|
||||
default y
|
||||
help
|
||||
Common silabs board code.
|
||||
|
||||
rsource "drivers/Kconfig"
|
||||
|
@ -1,10 +0,0 @@
|
||||
# Copyright (c) 2021 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.
|
||||
#
|
||||
|
||||
rsource "aem/Kconfig"
|
||||
rsource "bc/Kconfig"
|
||||
rsource "pic/Kconfig"
|
@ -1,13 +0,0 @@
|
||||
# Copyright (c) 2021 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_SILABS_AEM
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_SILABS
|
||||
help
|
||||
Advanced energy monitor driver for silabs boards.
|
@ -1,13 +0,0 @@
|
||||
# Copyright (c) 2021 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_SILABS_BC
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_SILABS
|
||||
help
|
||||
Board controller driver for silabs boards.
|
@ -1,15 +0,0 @@
|
||||
# Copyright (c) 2021 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_SILABS_PIC
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_SILABS
|
||||
depends on HAS_PERIPH_I2C
|
||||
select MODULE_PERIPH_I2C
|
||||
help
|
||||
Power-and-interrupt controller driver for silabs boards.
|
@ -7,24 +7,5 @@
|
||||
config BOARD_COMMON_SLWSTK6000B
|
||||
bool
|
||||
select BOARD_COMMON_SILABS
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
# additional hardware present in the board
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_SI7021
|
||||
|
||||
config MODULE_BOARD_COMMON_SLWSTK6000B
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
depends on BOARD_COMMON_SLWSTK6000B
|
||||
select MODULE_SILABS_AEM
|
||||
select MODULE_SILABS_BC
|
||||
help
|
||||
Common code for SLWSTK6000B silabs boards.
|
||||
|
||||
source "$(RIOTBOARD)/common/silabs/Kconfig"
|
||||
|
@ -6,23 +6,3 @@
|
||||
|
||||
config BOARD_COMMON_SODAQ
|
||||
bool
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
config MODULE_BOARDS_COMMON_SODAQ
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code for Sodaq boards.
|
||||
|
||||
source "$(RIOTBOARD)/common/samdx1-arduino-bootloader/Kconfig"
|
||||
|
@ -7,36 +7,12 @@
|
||||
|
||||
config BOARD_COMMON_WEACT_F4X1CX
|
||||
bool
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_PERIPH_USBDEV
|
||||
select HAS_HIGHLEVEL_STDIO
|
||||
|
||||
# Clock configuration
|
||||
select BOARD_HAS_HSE
|
||||
select BOARD_HAS_LSE
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select HAVE_MTD_SPI_NOR
|
||||
select MODULE_BOOTLOADER_STM32 if MODULE_STDIO_CDC_ACM
|
||||
select MODULE_USB_BOARD_RESET if KCONFIG_USB && TEST_KCONFIG
|
||||
|
||||
config CLOCK_HSE
|
||||
default 25000000
|
||||
|
||||
config MODULE_BOARDS_COMMON_WEACT-F4X1CX
|
||||
bool
|
||||
depends on TEST_KCONFIG
|
||||
help
|
||||
Common code of weact based boards
|
||||
|
||||
config FORCE_USB_STDIO
|
||||
default y
|
||||
|
||||
source "$(RIOTBOARD)/common/stm32/Kconfig"
|
||||
|
@ -11,14 +11,3 @@ config BOARD_DERFMEGA128
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA128RFA1
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -11,15 +11,3 @@ config BOARD_DERFMEGA256
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA256RFR2
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
select MODULE_PERIPH_EEPROM if MODULE_EUI_PROVIDER && HAS_PERIPH_EEPROM
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -12,12 +12,5 @@ config BOARD_DWM1001
|
||||
default y
|
||||
select BOARD_COMMON_NRF52
|
||||
select CPU_MODEL_NRF52832XXAA
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_VDD_LC_FILTER_REG1
|
||||
|
||||
select HAVE_LIS2DH12_I2C
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/nrf52/Kconfig"
|
||||
|
@ -11,14 +11,5 @@ config BOARD_E180_ZG120B_TB
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_EFR32MG1B232F256GM32
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_RTC
|
||||
select HAS_PERIPH_RTT
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_EFM32_CORETEMP
|
||||
select HAS_RIOTBOOT
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/silabs/Kconfig"
|
||||
|
@ -11,11 +11,3 @@ config BOARD_EK_LM4F120XL
|
||||
bool
|
||||
default y
|
||||
select CPU_MODEL_LM4F120H5QR
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_GPIO
|
||||
select HAS_PERIPH_GPIO_IRQ
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
|
@ -13,11 +13,5 @@ config BOARD_ESP32_ETHERNET_KIT_V1_0
|
||||
default y
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROVER_B
|
||||
select HAS_ESP_ETH
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI if !MODULE_ESP_JTAG
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -13,11 +13,5 @@ config BOARD_ESP32_ETHERNET_KIT_V1_1
|
||||
default y
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROVER_B
|
||||
select HAS_ESP_ETH
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI if !MODULE_ESP_JTAG
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -13,11 +13,5 @@ config BOARD_ESP32_ETHERNET_KIT_V1_2
|
||||
default y
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROVER_E
|
||||
select HAS_ESP_ETH
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI if !MODULE_ESP_JTAG
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -12,13 +12,5 @@ config BOARD_ESP32_HELTEC_LORA32_V2
|
||||
default y
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_D0WD
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ESP_RTC_TIMER_32K
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
|
||||
select HAVE_SX1276
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -12,11 +12,5 @@ config BOARD_ESP32_MH_ET_LIVE_MINIKIT
|
||||
default y
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROOM_32
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_DAC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -12,15 +12,5 @@ config BOARD_ESP32_OLIMEX_EVB
|
||||
default y
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROOM_32
|
||||
select HAS_ARDUINO_PINS
|
||||
select HAS_ESP_ETH
|
||||
select HAS_PERIPH_ADC if USEMODULE_OLIMEX_ESP32_GATEWAY
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SDMMC
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_CAN
|
||||
|
||||
select HAVE_MTD_SDMMC_DEFAULT
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user