Skip to content

Commit 85313cc

Browse files
authored
Merge pull request #17232 from leandrolanzieri/pr/cpu/esp/model_kconfig
cpu/esp{32,8266}: model kconfig
2 parents d362360 + a8201c0 commit 85313cc

File tree

73 files changed

+717
-67
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+717
-67
lines changed

.murdock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ cc1352-launchpad
2727
cc2650-launchpad
2828
derfmega128
2929
dwm1001
30+
esp32-heltec-lora32-v2
31+
esp8266-esp-12x
3032
hifive1
3133
mbed_lpc1768
3234
mega-xplained

boards/common/esp32/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,14 @@ config BOARD_COMMON_ESP32
1010
select HAS_PERIPH_GPIO_IRQ
1111
select HAS_PERIPH_UART
1212
select HAS_PERIPH_UART_MODECFG
13+
14+
select HAVE_SAUL_GPIO
15+
16+
config MODULE_BOARDS_COMMON_ESP32
17+
bool
18+
depends on TEST_KCONFIG
19+
depends on BOARD_COMMON_ESP32
20+
depends on HAS_ARCH_ESP32
21+
default y
22+
help
23+
Common ESP32 boards code.

boards/common/esp8266/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ config BOARD_COMMON_ESP8266
1515
select HAS_PERIPH_SPI
1616
select HAS_PERIPH_UART
1717
select HAS_PERIPH_UART_MODECFG
18+
19+
select HAVE_SAUL_GPIO
20+
21+
config MODULE_BOARDS_COMMON_ESP8266
22+
bool
23+
depends on TEST_KCONFIG
24+
depends on HAS_ARCH_ESP8266
25+
depends on BOARD_COMMON_ESP8266
26+
default y
27+
help
28+
Common ESP8266 boards code.

boards/esp32-ethernet-kit-v1_0/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ config BOARD_ESP32_ETHERNET_KIT_V1_0
1313
default y
1414
select BOARD_COMMON_ESP32
1515
select CPU_MODEL_ESP32_WROVER_B
16-
select HAS_ESP_SPI_RAM
1716
select HAS_ESP_JTAG
1817
select HAS_PERIPH_ADC
1918
select HAS_PERIPH_ETH

boards/esp32-ethernet-kit-v1_0/Makefile.features

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ endif
1515

1616
# unique features provided by the board
1717
FEATURES_PROVIDED += esp_jtag
18-
FEATURES_PROVIDED += esp_spi_ram

boards/esp32-ethernet-kit-v1_1/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ config BOARD_ESP32_ETHERNET_KIT_V1_1
1313
default y
1414
select BOARD_COMMON_ESP32
1515
select CPU_MODEL_ESP32_WROVER_B
16-
select HAS_ESP_SPI_RAM
1716
select HAS_ESP_JTAG
1817
select HAS_PERIPH_ADC
1918
select HAS_PERIPH_ETH

boards/esp32-ethernet-kit-v1_2/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ config BOARD_ESP32_ETHERNET_KIT_V1_2
1313
default y
1414
select BOARD_COMMON_ESP32
1515
select CPU_MODEL_ESP32_WROVER_E
16-
select HAS_ESP_SPI_RAM
1716
select HAS_ESP_JTAG
1817
select HAS_PERIPH_ADC
1918
select HAS_PERIPH_ETH

boards/esp32-heltec-lora32-v2/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ config BOARD_ESP32_HELTEC_LORA32_V2
1919
select HAS_PERIPH_PWM
2020
select HAS_PERIPH_SPI
2121

22+
select HAVE_SX1276
23+
2224
source "$(RIOTBOARD)/common/esp32/Kconfig"

boards/esp32-ttgo-t-beam/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,18 @@ config BOARD_ESP32_TTGO_T_BEAM
2222
select HAS_PERIPH_UART
2323

2424
source "$(RIOTBOARD)/common/esp32/Kconfig"
25+
26+
menu "ESP32 TTGO T-Beam options"
27+
depends on TEST_KCONFIG
28+
depends on BOARD_ESP32_TTGO_T_BEAM
29+
30+
config MODULE_ESP32_TTGO_T_BEAM_V1_0
31+
bool "Use V1.0 board variant"
32+
select MODULE_PERIPH_I2C
33+
help
34+
There are at least three board types: rev0, rev1, and V1.0. Versions
35+
rev0 and rev1 are very similar, the only difference is that rev1 has
36+
an additional LED connected to GPIO14. The pinout of V1.0 has more
37+
changes.
38+
39+
endmenu

boards/esp32-wemos-lolin-d32-pro/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ config BOARD_ESP32_WEMOS_LOLIN_D32_PRO
1313
select BOARD_COMMON_ESP32
1414
select CPU_MODEL_ESP32_WROVER
1515
select HAS_ARDUINO
16-
select HAS_ESP_SPI_RAM
1716
select HAS_PERIPH_ADC
1817
select HAS_PERIPH_DAC
1918
select HAS_PERIPH_I2C

0 commit comments

Comments
 (0)