Merge pull request #89 from ropg/range_remove
Remove remaining IDF_TARGET-dependent GPIO ranges.
This commit is contained in:
commit
678779c848
|
@ -742,10 +742,6 @@ menu "LVGL TFT Display controller"
|
||||||
|
|
||||||
config LV_DISP_SPI_MOSI
|
config LV_DISP_SPI_MOSI
|
||||||
int "GPIO for MOSI (Master Out Slave In)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for MOSI (Master Out Slave In)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 23 if LV_PREDEFINED_DISPLAY_WROVER4
|
default 23 if LV_PREDEFINED_DISPLAY_WROVER4
|
||||||
default 23 if LV_PREDEFINED_DISPLAY_ATAG
|
default 23 if LV_PREDEFINED_DISPLAY_ATAG
|
||||||
default 23 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
default 23 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
||||||
|
@ -757,7 +753,6 @@ menu "LVGL TFT Display controller"
|
||||||
default 19 if LV_PREDEFINED_DISPLAY_TTGO_CAMERA_PLUS
|
default 19 if LV_PREDEFINED_DISPLAY_TTGO_CAMERA_PLUS
|
||||||
default 13 if LV_PREDEFINED_DISPLAY_WT32_SC01
|
default 13 if LV_PREDEFINED_DISPLAY_WT32_SC01
|
||||||
default 13
|
default 13
|
||||||
|
|
||||||
help
|
help
|
||||||
Configure the display MOSI pin here.
|
Configure the display MOSI pin here.
|
||||||
|
|
||||||
|
@ -772,10 +767,6 @@ menu "LVGL TFT Display controller"
|
||||||
config LV_DISP_SPI_MISO
|
config LV_DISP_SPI_MISO
|
||||||
int "GPIO for MISO (Master In Slave Out)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for MISO (Master In Slave Out)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
depends on LV_DISPLAY_USE_SPI_MISO
|
depends on LV_DISPLAY_USE_SPI_MISO
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 19 if LV_PREDEFINED_PINS_TKOALA
|
default 19 if LV_PREDEFINED_PINS_TKOALA
|
||||||
default 38 if LV_PREDEFINED_DISPLAY_M5CORE2
|
default 38 if LV_PREDEFINED_DISPLAY_M5CORE2
|
||||||
default 0
|
default 0
|
||||||
|
@ -795,10 +786,6 @@ menu "LVGL TFT Display controller"
|
||||||
config LV_DISP_SPI_IO2
|
config LV_DISP_SPI_IO2
|
||||||
int "GPIO for Quad SPI IO2/WP" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for Quad SPI IO2/WP" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
depends on LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
depends on LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
||||||
range -1 39 if IDF_TARGET_ESP32
|
|
||||||
range -1 43 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 22 if LV_PREDEFINED_PINS_TKOALA && LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
default 22 if LV_PREDEFINED_PINS_TKOALA && LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
||||||
default -1
|
default -1
|
||||||
help
|
help
|
||||||
|
@ -807,10 +794,6 @@ menu "LVGL TFT Display controller"
|
||||||
config LV_DISP_SPI_IO3
|
config LV_DISP_SPI_IO3
|
||||||
int "GPIO for Quad SPI IO3/HD" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for Quad SPI IO3/HD" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
depends on LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
depends on LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
||||||
range -1 39 if IDF_TARGET_ESP32
|
|
||||||
range -1 43 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 21 if LV_PREDEFINED_PINS_TKOALA && LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
default 21 if LV_PREDEFINED_PINS_TKOALA && LV_TFT_DISPLAY_SPI_TRANS_MODE_QIO
|
||||||
default -1
|
default -1
|
||||||
help
|
help
|
||||||
|
@ -818,10 +801,6 @@ menu "LVGL TFT Display controller"
|
||||||
|
|
||||||
config LV_DISP_SPI_CLK
|
config LV_DISP_SPI_CLK
|
||||||
int "GPIO for CLK (SCK / Serial Clock)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for CLK (SCK / Serial Clock)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 18 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
default 18 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
||||||
default 18 if LV_PREDEFINED_DISPLAY_M5CORE2
|
default 18 if LV_PREDEFINED_DISPLAY_M5CORE2
|
||||||
default 13 if LV_PREDEFINED_DISPLAY_M5STICKC
|
default 13 if LV_PREDEFINED_DISPLAY_M5STICKC
|
||||||
|
@ -847,10 +826,6 @@ menu "LVGL TFT Display controller"
|
||||||
config LV_DISP_SPI_CS
|
config LV_DISP_SPI_CS
|
||||||
int "GPIO for CS (Slave Select)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for CS (Slave Select)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
depends on LV_DISPLAY_USE_SPI_CS
|
depends on LV_DISPLAY_USE_SPI_CS
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 5 if LV_PREDEFINED_PINS_38V1
|
default 5 if LV_PREDEFINED_PINS_38V1
|
||||||
default 14 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
default 14 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
||||||
default 5 if LV_PREDEFINED_DISPLAY_M5CORE2
|
default 5 if LV_PREDEFINED_DISPLAY_M5CORE2
|
||||||
|
@ -876,10 +851,6 @@ menu "LVGL TFT Display controller"
|
||||||
|
|
||||||
config LV_DISP_PIN_DC
|
config LV_DISP_PIN_DC
|
||||||
int "GPIO for DC (Data / Command)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
int "GPIO for DC (Data / Command)" if LV_TFT_DISPLAY_PROTOCOL_SPI
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
depends on LV_DISPLAY_USE_DC
|
depends on LV_DISPLAY_USE_DC
|
||||||
default 19 if LV_PREDEFINED_PINS_38V1
|
default 19 if LV_PREDEFINED_PINS_38V1
|
||||||
default 17 if LV_PREDEFINED_PINS_38V4
|
default 17 if LV_PREDEFINED_PINS_38V4
|
||||||
|
@ -914,10 +885,6 @@ menu "LVGL TFT Display controller"
|
||||||
config LV_DISP_PIN_RST
|
config LV_DISP_PIN_RST
|
||||||
int "GPIO for Reset" if LV_TFT_DISPLAY_PROTOCOL_SPI && !LV_DISP_ST7789_SOFT_RESET
|
int "GPIO for Reset" if LV_TFT_DISPLAY_PROTOCOL_SPI && !LV_DISP_ST7789_SOFT_RESET
|
||||||
depends on LV_DISP_USE_RST
|
depends on LV_DISP_USE_RST
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 18 if LV_PREDEFINED_PINS_38V1
|
default 18 if LV_PREDEFINED_PINS_38V1
|
||||||
default 25 if LV_PREDEFINED_PINS_38V4
|
default 25 if LV_PREDEFINED_PINS_38V4
|
||||||
default 33 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
default 33 if LV_PREDEFINED_DISPLAY_M5STACK || LV_PREDEFINED_DISPLAY_M5STICK
|
||||||
|
@ -936,10 +903,6 @@ menu "LVGL TFT Display controller"
|
||||||
|
|
||||||
config LV_DISP_PIN_BUSY
|
config LV_DISP_PIN_BUSY
|
||||||
int "GPIO for Busy" if LV_TFT_DISPLAY_CONTROLLER_IL3820 || LV_TFT_DISPLAY_CONTROLLER_JD79653A || LV_TFT_DISPLAY_CONTROLLER_UC8151D
|
int "GPIO for Busy" if LV_TFT_DISPLAY_CONTROLLER_IL3820 || LV_TFT_DISPLAY_CONTROLLER_JD79653A || LV_TFT_DISPLAY_CONTROLLER_UC8151D
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 35 if LV_TFT_DISPLAY_CONTROLLER_IL3820 || LV_TFT_DISPLAY_CONTROLLER_JD79653A || LV_TFT_DISPLAY_CONTROLLER_UC8151D
|
default 35 if LV_TFT_DISPLAY_CONTROLLER_IL3820 || LV_TFT_DISPLAY_CONTROLLER_JD79653A || LV_TFT_DISPLAY_CONTROLLER_UC8151D
|
||||||
default 35 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2
|
default 35 if IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2
|
||||||
default 21 if IDF_TARGET_ESP32C3
|
default 21 if IDF_TARGET_ESP32C3
|
||||||
|
@ -977,10 +940,6 @@ menu "LVGL TFT Display controller"
|
||||||
config LV_DISP_PIN_BCKL
|
config LV_DISP_PIN_BCKL
|
||||||
int "GPIO for Backlight Control"
|
int "GPIO for Backlight Control"
|
||||||
depends on LV_ENABLE_BACKLIGHT_CONTROL
|
depends on LV_ENABLE_BACKLIGHT_CONTROL
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 23 if LV_PREDEFINED_PINS_38V1
|
default 23 if LV_PREDEFINED_PINS_38V1
|
||||||
default 26 if LV_PREDEFINED_PINS_38V4
|
default 26 if LV_PREDEFINED_PINS_38V4
|
||||||
default 32 if LV_PREDEFINED_DISPLAY_M5STACK
|
default 32 if LV_PREDEFINED_DISPLAY_M5STACK
|
||||||
|
|
|
@ -86,9 +86,6 @@ menu "LVGL Touch controller"
|
||||||
config LV_TOUCH_SPI_MISO
|
config LV_TOUCH_SPI_MISO
|
||||||
int
|
int
|
||||||
prompt "GPIO for MISO (Master In Slave Out)"
|
prompt "GPIO for MISO (Master In Slave Out)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 35 if LV_PREDEFINED_PINS_38V1
|
default 35 if LV_PREDEFINED_PINS_38V1
|
||||||
default 19
|
default 19
|
||||||
|
@ -98,9 +95,6 @@ menu "LVGL Touch controller"
|
||||||
config LV_TOUCH_SPI_MOSI
|
config LV_TOUCH_SPI_MOSI
|
||||||
int
|
int
|
||||||
prompt "GPIO for MOSI (Master Out Slave In)"
|
prompt "GPIO for MOSI (Master Out Slave In)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 32 if LV_PREDEFINED_PINS_38V1
|
default 32 if LV_PREDEFINED_PINS_38V1
|
||||||
default 23
|
default 23
|
||||||
|
@ -109,9 +103,6 @@ menu "LVGL Touch controller"
|
||||||
|
|
||||||
config LV_TOUCH_SPI_CLK
|
config LV_TOUCH_SPI_CLK
|
||||||
int "GPIO for CLK (SCK / Serial Clock)"
|
int "GPIO for CLK (SCK / Serial Clock)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 26 if LV_PREDEFINED_PINS_38V1
|
default 26 if LV_PREDEFINED_PINS_38V1
|
||||||
default 18
|
default 18
|
||||||
|
@ -120,8 +111,6 @@ menu "LVGL Touch controller"
|
||||||
|
|
||||||
config LV_TOUCH_SPI_CS
|
config LV_TOUCH_SPI_CS
|
||||||
int "GPIO for CS (Slave Select)"
|
int "GPIO for CS (Slave Select)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
|
|
||||||
default 33 if LV_PREDEFINED_PINS_38V1
|
default 33 if LV_PREDEFINED_PINS_38V1
|
||||||
default 5
|
default 5
|
||||||
|
@ -130,9 +119,6 @@ menu "LVGL Touch controller"
|
||||||
|
|
||||||
config LV_TOUCH_PIN_IRQ
|
config LV_TOUCH_PIN_IRQ
|
||||||
int "GPIO for IRQ (Interrupt Request)"
|
int "GPIO for IRQ (Interrupt Request)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 27 if LV_PREDEFINED_PINS_38V4
|
default 27 if LV_PREDEFINED_PINS_38V4
|
||||||
default 25
|
default 25
|
||||||
|
@ -223,9 +209,6 @@ menu "LVGL Touch controller"
|
||||||
config LV_TOUCH_SPI_MISO
|
config LV_TOUCH_SPI_MISO
|
||||||
int
|
int
|
||||||
prompt "GPIO for MISO (Master In Slave Out)"
|
prompt "GPIO for MISO (Master In Slave Out)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 35 if LV_PREDEFINED_PINS_38V1
|
default 35 if LV_PREDEFINED_PINS_38V1
|
||||||
default 19 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
default 19 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
||||||
|
@ -238,9 +221,6 @@ menu "LVGL Touch controller"
|
||||||
# TODO Fix default for ESP32C3
|
# TODO Fix default for ESP32C3
|
||||||
int
|
int
|
||||||
prompt "GPIO for MOSI (Master Out Slave In)"
|
prompt "GPIO for MOSI (Master Out Slave In)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 32 if LV_PREDEFINED_PINS_38V1
|
default 32 if LV_PREDEFINED_PINS_38V1
|
||||||
default 18 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
default 18 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
||||||
|
@ -251,9 +231,6 @@ menu "LVGL Touch controller"
|
||||||
|
|
||||||
config LV_TOUCH_SPI_CLK
|
config LV_TOUCH_SPI_CLK
|
||||||
int "GPIO for CLK (SCK / Serial Clock)"
|
int "GPIO for CLK (SCK / Serial Clock)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 26 if LV_PREDEFINED_PINS_38V1
|
default 26 if LV_PREDEFINED_PINS_38V1
|
||||||
default 5 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
default 5 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
||||||
|
@ -263,10 +240,6 @@ menu "LVGL Touch controller"
|
||||||
|
|
||||||
config LV_TOUCH_SPI_CS
|
config LV_TOUCH_SPI_CS
|
||||||
int "GPIO for CS (Slave Select)"
|
int "GPIO for CS (Slave Select)"
|
||||||
range 0 39 if IDF_TARGET_ESP32
|
|
||||||
range 0 46 if IDF_TARGET_ESP32S2
|
|
||||||
range 0 21 if IDF_TARGET_ESP32C3
|
|
||||||
|
|
||||||
default 33 if LV_PREDEFINED_PINS_38V1
|
default 33 if LV_PREDEFINED_PINS_38V1
|
||||||
default 32 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
default 32 if LV_PREDEFINED_DISPLAY_ADA_FEATHERWING
|
||||||
default 5
|
default 5
|
||||||
|
|
Loading…
Reference in a new issue