Added GPIO_RANGE_MAX
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
menu "Application Configuration"
|
menu "Application Configuration"
|
||||||
|
|
||||||
|
config GPIO_RANGE_MAX
|
||||||
|
int
|
||||||
|
default 33 if IDF_TARGET_ESP32
|
||||||
|
default 46 if IDF_TARGET_ESP32S2
|
||||||
|
default 19 if IDF_TARGET_ESP32C3
|
||||||
|
default 48 if IDF_TARGET_ESP32S3
|
||||||
|
|
||||||
menu "CAN Setting"
|
menu "CAN Setting"
|
||||||
|
|
||||||
choice CAN_BITRATE
|
choice CAN_BITRATE
|
||||||
@@ -43,7 +50,7 @@ menu "Application Configuration"
|
|||||||
|
|
||||||
config CTX_GPIO
|
config CTX_GPIO
|
||||||
int "CTX GPIO number"
|
int "CTX GPIO number"
|
||||||
range 0 34
|
range 0 GPIO_RANGE_MAX
|
||||||
default 9 if IDF_TARGET_ESP32C3
|
default 9 if IDF_TARGET_ESP32C3
|
||||||
default 17 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
default 17 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||||
default 21 if IDF_TARGET_ESP32
|
default 21 if IDF_TARGET_ESP32
|
||||||
@@ -54,7 +61,7 @@ menu "Application Configuration"
|
|||||||
|
|
||||||
config CRX_GPIO
|
config CRX_GPIO
|
||||||
int "CRX GPIO number"
|
int "CRX GPIO number"
|
||||||
range 0 34
|
range 0 GPIO_RANGE_MAX
|
||||||
default 10 if IDF_TARGET_ESP32C3
|
default 10 if IDF_TARGET_ESP32C3
|
||||||
default 18 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
default 18 if IDF_TARGET_ESP32S2 || IDF_TARGET_ESP32S3
|
||||||
default 22 if IDF_TARGET_ESP32
|
default 22 if IDF_TARGET_ESP32
|
||||||
|
|||||||
Reference in New Issue
Block a user