fix range of gpio's for esp32-s3 chips
This commit is contained in:
parent
e65b1e3075
commit
55ada7fd52
4
Kconfig
4
Kconfig
|
|
@ -431,7 +431,7 @@ menu "WebGUIApp"
|
||||||
|
|
||||||
config ETH_SPI_INT0_GPIO
|
config ETH_SPI_INT0_GPIO
|
||||||
int "Interrupt GPIO number SPI Ethernet module #1"
|
int "Interrupt GPIO number SPI Ethernet module #1"
|
||||||
range 0 39
|
range GPIO_RANGE_MIN GPIO_RANGE_MAX
|
||||||
default 4 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3
|
default 4 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3
|
||||||
help
|
help
|
||||||
Set the GPIO number used by the first SPI Ethernet module interrupt line.
|
Set the GPIO number used by the first SPI Ethernet module interrupt line.
|
||||||
|
|
@ -439,7 +439,7 @@ menu "WebGUIApp"
|
||||||
config ETH_SPI_INT1_GPIO
|
config ETH_SPI_INT1_GPIO
|
||||||
depends on SPI_ETHERNETS_NUM > 1
|
depends on SPI_ETHERNETS_NUM > 1
|
||||||
int "Interrupt GPIO number SPI Ethernet module #2"
|
int "Interrupt GPIO number SPI Ethernet module #2"
|
||||||
range 0 36
|
range GPIO_RANGE_MIN GPIO_RANGE_MAX
|
||||||
default 33 if IDF_TARGET_ESP32
|
default 33 if IDF_TARGET_ESP32
|
||||||
default 5 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3
|
default 5 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3
|
||||||
help
|
help
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user