mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards: model avr-based boards Kconfig
Modelled boards: arduino-duemilanove arduino-leonardo arduino-mega2560 arduino-nano arduino-uno atmega1284p atmega256rfr2-xpro atmega328p-xplained-mini atmega328p atxmega-a1-xplained atxmega-a1u-xpro atxmega-a3bu-xplained avr-rss2 derfmega128 derfmega256 mega-xplained microduino-corerf zigduino
This commit is contained in:
parent
e5164ca970
commit
f684ecfd5c
@ -9,6 +9,7 @@ config BOARD_ARDUINO_DUEMILANOVE
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
|
||||
config BOARD
|
||||
default "arduino-duemilanove" if BOARD_ARDUINO_DUEMILANOVE
|
||||
|
@ -12,5 +12,6 @@ config BOARD_ARDUINO_LEONARDO
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select CPU_MODEL_ATMEGA32U4
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-atmega/Kconfig"
|
||||
|
@ -12,5 +12,6 @@ config BOARD_ARDUINO_MEGA2560
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA2560
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/arduino-atmega/Kconfig"
|
||||
|
@ -9,6 +9,7 @@ config BOARD_ARDUINO_NANO
|
||||
default y
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
|
||||
config BOARD
|
||||
default "arduino-nano" if BOARD_ARDUINO_NANO
|
||||
|
@ -9,6 +9,7 @@ config BOARD_ARDUINO_UNO
|
||||
default y
|
||||
select CPU_MODEL_ATMEGA328P
|
||||
select BOARD_COMMON_ARDUINO_ATMEGA
|
||||
select MODULE_BOARDS_COMMON_ARDUINO-ATMEGA if TEST_KCONFIG
|
||||
|
||||
config BOARD
|
||||
default "arduino-uno" if BOARD_ARDUINO_UNO
|
||||
|
@ -19,3 +19,7 @@ config BOARD_ATMEGA1284P
|
||||
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"
|
||||
|
@ -18,3 +18,9 @@ config BOARD_ATMEGA256RFR2_XPRO
|
||||
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"
|
||||
|
@ -22,3 +22,6 @@ config BOARD_ATMEGA328P_XPLAINED_MINI
|
||||
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"
|
||||
|
@ -21,3 +21,6 @@ config BOARD_ATMEGA328P
|
||||
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"
|
||||
|
@ -18,3 +18,6 @@ config BOARD_ATXMEGA_A1_XPLAINED
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATXMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atxmega/Kconfig"
|
||||
|
@ -18,3 +18,6 @@ config BOARD_ATXMEGA_A1U_XPRO
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATXMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atxmega/Kconfig"
|
||||
|
@ -18,3 +18,6 @@ config BOARD_ATXMEGA_A3BU_XPLAINED
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select HAVE_SAUL_GPIO
|
||||
select MODULE_BOARDS_COMMON_ATXMEGA if TEST_KCONFIG
|
||||
|
||||
source "$(RIOTBOARD)/common/atxmega/Kconfig"
|
||||
|
@ -18,3 +18,12 @@ config BOARD_AVR_RSS2
|
||||
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
|
||||
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -18,3 +18,7 @@ config BOARD_DERFMEGA128
|
||||
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"
|
||||
|
@ -18,3 +18,8 @@ config BOARD_DERFMEGA256
|
||||
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"
|
||||
|
@ -18,3 +18,9 @@ config BOARD_MEGA_XPLAINED
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
select HAVE_SAUL_ADC
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
@ -19,3 +19,7 @@ config BOARD_MICRODUINO_CORERF
|
||||
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"
|
||||
|
@ -17,3 +17,5 @@ config BOARD_WASPMOTE_PRO
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
select HAS_ARDUINO
|
||||
|
||||
source "$(RIOTKCONFIG)/Kconfig.ztimer_only"
|
||||
|
@ -19,3 +19,9 @@ config BOARD_ZIGDUINO
|
||||
select HAS_PERIPH_SPI
|
||||
select HAS_PERIPH_TIMER
|
||||
select HAS_PERIPH_UART
|
||||
|
||||
select MODULE_BOARDS_COMMON_ATMEGA if TEST_KCONFIG
|
||||
select HAVE_SAUL_ADC
|
||||
select HAVE_SAUL_GPIO
|
||||
|
||||
source "$(RIOTBOARD)/common/atmega/Kconfig"
|
||||
|
Loading…
Reference in New Issue
Block a user