mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/esp32-ethernet-kit: Setup Kconfig to match makefiles
This commit is contained in:
parent
064f58e7aa
commit
2afa93c9f7
@ -14,9 +14,11 @@ config BOARD_ESP32_ETHERNET_KIT_V1_0
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROVER_B
|
||||
select HAS_ESP_SPI_RAM
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_ETH
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI if !MODULE_ESP_JTAG
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -5,6 +5,7 @@ include $(RIOTBOARD)/common/esp32/Makefile.features
|
||||
|
||||
# additional features provided by the board
|
||||
FEATURES_PROVIDED += periph_adc
|
||||
FEATURES_PROVIDED += periph_eth
|
||||
FEATURES_PROVIDED += periph_i2c
|
||||
FEATURES_PROVIDED += periph_pwm
|
||||
|
||||
|
@ -14,9 +14,11 @@ config BOARD_ESP32_ETHERNET_KIT_V1_1
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROVER_B
|
||||
select HAS_ESP_SPI_RAM
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_ETH
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI if !MODULE_ESP_JTAG
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -14,9 +14,11 @@ config BOARD_ESP32_ETHERNET_KIT_V1_2
|
||||
select BOARD_COMMON_ESP32
|
||||
select CPU_MODEL_ESP32_WROVER_E
|
||||
select HAS_ESP_SPI_RAM
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_ETH
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
select HAS_PERIPH_SPI if !MODULE_ESP_JTAG
|
||||
|
||||
source "$(RIOTBOARD)/common/esp32/Kconfig"
|
||||
|
@ -15,6 +15,7 @@ config BOARD_ESP32_WROVER_KIT
|
||||
select HAS_ARDUINO
|
||||
select HAS_ESP_RTC_TIMER_32K
|
||||
select HAS_ESP_SPI_RAM
|
||||
select HAS_ESP_JTAG
|
||||
select HAS_PERIPH_ADC
|
||||
select HAS_PERIPH_I2C
|
||||
select HAS_PERIPH_PWM
|
||||
|
@ -85,6 +85,7 @@ config CPU_MODEL
|
||||
default "esp32-wroom_32" if CPU_MODEL_ESP32_WROOM_32
|
||||
default "esp32-wrover" if CPU_MODEL_ESP32_WROVER
|
||||
default "esp32-wrover" if CPU_MODEL_ESP32_WROVER_B
|
||||
default "esp32-wrover" if CPU_MODEL_ESP32_WROVER_E
|
||||
default "esp32-d0wd" if CPU_MODEL_ESP32_D0WD
|
||||
|
||||
config CPU
|
||||
|
@ -45,6 +45,11 @@ config HAS_ESP_NOW
|
||||
help
|
||||
Indicates that an ESP NOW-compatible radio is present.
|
||||
|
||||
config HAS_ESP_JTAG
|
||||
bool
|
||||
help
|
||||
Indicates that a JTAG interface is present.
|
||||
|
||||
config HAS_ARCH_ESP
|
||||
bool
|
||||
help
|
||||
|
Loading…
Reference in New Issue
Block a user