40 lines
1008 B
Plaintext
40 lines
1008 B
Plaintext
menu "Application Configuration"
|
|
|
|
config GPIO_RANGE_MAX
|
|
int
|
|
default 33 if IDF_TARGET_ESP32
|
|
default 46 if IDF_TARGET_ESP32S2
|
|
default 48 if IDF_TARGET_ESP32S3
|
|
default 18 if IDF_TARGET_ESP32C2
|
|
default 19 if IDF_TARGET_ESP32C3
|
|
default 30 if IDF_TARGET_ESP32C6
|
|
|
|
choice DIRECTION
|
|
prompt "Communication polarity"
|
|
default SENDER
|
|
help
|
|
Select Communication polarity.
|
|
config SENDER
|
|
bool "As the sender"
|
|
help
|
|
As the sender.
|
|
config RECEIVER
|
|
bool "As the receiver"
|
|
help
|
|
As the receiver.
|
|
endchoice
|
|
|
|
config IRQ_GPIO
|
|
int "IRQ GPIO number"
|
|
range 0 GPIO_RANGE_MAX
|
|
default 15 if IDF_TARGET_ESP32
|
|
default 38 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
|
default 5 # C3 and others
|
|
help
|
|
GPIO number (IOxx) to IRQ.
|
|
Some GPIOs are used for other purposes (flash connections, etc.) and cannot be used to MISO.
|
|
On the ESP32, GPIOs 35-39 are input-only so cannot be used as outputs.
|
|
On the ESP32-S2, GPIO 46 is input-only so cannot be used as outputs.
|
|
|
|
endmenu
|