diff --git a/esp32-1732S019C.json b/esp32-1732S019C.json index 42cce2b..fac9218 100644 --- a/esp32-1732S019C.json +++ b/esp32-1732S019C.json @@ -28,7 +28,7 @@ "'-D ST7789_SPI_BUS_SCLK_IO_NUM=12'", "'-D ST7789_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7789_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7789_SPI_BUS_FLAGS=0'", "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=10'", @@ -54,13 +54,13 @@ "'-D LCD_GAP_Y=0'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=9'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=46'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-1732S019N.json b/esp32-1732S019N.json index 0dc1f6d..c9b707b 100644 --- a/esp32-1732S019N.json +++ b/esp32-1732S019N.json @@ -28,7 +28,7 @@ "'-D ST7789_SPI_BUS_SCLK_IO_NUM=12'", "'-D ST7789_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7789_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7789_SPI_BUS_FLAGS=0'", "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=10'", diff --git a/esp32-2424S012C.json b/esp32-2424S012C.json index 5539379..f6546a8 100644 --- a/esp32-2424S012C.json +++ b/esp32-2424S012C.json @@ -25,7 +25,7 @@ "'-D GC9A01_SPI_BUS_SCLK_IO_NUM=6'", "'-D GC9A01_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D GC9A01_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D GC9A01_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D GC9A01_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D GC9A01_SPI_BUS_FLAGS=0'", "'-D GC9A01_SPI_BUS_INTR_FLAGS=0'", "'-D GC9A01_SPI_CONFIG_CS_GPIO_NUM=10'", @@ -49,7 +49,7 @@ "'-D LCD_MIRROR_Y=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_CST816S_I2C'", - "'-D CST816S_I2C_HOST=0'", + "'-D CST816S_I2C_HOST=I2C_NUM_0'", "'-D CST816S_I2C_CONFIG_SDA_IO_NUM=4'", "'-D CST816S_I2C_CONFIG_SCL_IO_NUM=5'", "'-D CST816S_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", diff --git a/esp32-2424S012N.json b/esp32-2424S012N.json index 1f481b0..3c5636d 100644 --- a/esp32-2424S012N.json +++ b/esp32-2424S012N.json @@ -25,7 +25,7 @@ "'-D GC9A01_SPI_BUS_SCLK_IO_NUM=6'", "'-D GC9A01_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D GC9A01_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D GC9A01_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D GC9A01_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D GC9A01_SPI_BUS_FLAGS=0'", "'-D GC9A01_SPI_BUS_INTR_FLAGS=0'", "'-D GC9A01_SPI_CONFIG_CS_GPIO_NUM=10'", diff --git a/esp32-2432S022C.json b/esp32-2432S022C.json index fcb905e..c661331 100644 --- a/esp32-2432S022C.json +++ b/esp32-2432S022C.json @@ -53,7 +53,7 @@ "'-D LCD_MIRROR_Y=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_CST816S_I2C'", - "'-D CST816S_I2C_HOST=0'", + "'-D CST816S_I2C_HOST=I2C_NUM_0'", "'-D CST816S_I2C_CONFIG_SDA_IO_NUM=21'", "'-D CST816S_I2C_CONFIG_SCL_IO_NUM=22'", "'-D CST816S_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", diff --git a/esp32-2432S024C.json b/esp32-2432S024C.json index 45e24ed..61664b3 100644 --- a/esp32-2432S024C.json +++ b/esp32-2432S024C.json @@ -20,7 +20,7 @@ "'-D ILI9341_SPI_BUS_SCLK_IO_NUM=14'", "'-D ILI9341_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ILI9341_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ILI9341_SPI_BUS_FLAGS=0'", "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", @@ -44,7 +44,7 @@ "'-D LCD_MIRROR_Y=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_CST816S_I2C'", - "'-D CST816S_I2C_HOST=0'", + "'-D CST816S_I2C_HOST=I2C_NUM_0'", "'-D CST816S_I2C_CONFIG_SDA_IO_NUM=33'", "'-D CST816S_I2C_CONFIG_SCL_IO_NUM=32'", "'-D CST816S_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", diff --git a/esp32-2432S024N.json b/esp32-2432S024N.json index caeaf12..05cd662 100644 --- a/esp32-2432S024N.json +++ b/esp32-2432S024N.json @@ -20,7 +20,7 @@ "'-D ILI9341_SPI_BUS_SCLK_IO_NUM=14'", "'-D ILI9341_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ILI9341_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ILI9341_SPI_BUS_FLAGS=0'", "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-2432S024R.json b/esp32-2432S024R.json index afa5875..64a2d7b 100644 --- a/esp32-2432S024R.json +++ b/esp32-2432S024R.json @@ -20,7 +20,7 @@ "'-D ILI9341_SPI_BUS_SCLK_IO_NUM=14'", "'-D ILI9341_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ILI9341_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ILI9341_SPI_BUS_FLAGS=0'", "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-2432S028R.json b/esp32-2432S028R.json index b57e1be..8d30ec3 100644 --- a/esp32-2432S028R.json +++ b/esp32-2432S028R.json @@ -20,7 +20,7 @@ "'-D ILI9341_SPI_BUS_SCLK_IO_NUM=14'", "'-D ILI9341_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ILI9341_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ILI9341_SPI_BUS_FLAGS=0'", "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-2432S028Rv2.json b/esp32-2432S028Rv2.json index 8b0ed63..e16fc6c 100644 --- a/esp32-2432S028Rv2.json +++ b/esp32-2432S028Rv2.json @@ -20,7 +20,7 @@ "'-D ILI9341_SPI_BUS_SCLK_IO_NUM=14'", "'-D ILI9341_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ILI9341_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ILI9341_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ILI9341_SPI_BUS_FLAGS=0'", "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-2432S028Rv3.json b/esp32-2432S028Rv3.json index 1a90acb..e99fb52 100644 --- a/esp32-2432S028Rv3.json +++ b/esp32-2432S028Rv3.json @@ -20,7 +20,7 @@ "'-D ST7789_SPI_BUS_SCLK_IO_NUM=14'", "'-D ST7789_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7789_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7789_SPI_BUS_FLAGS=0'", "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-2432S032C.json b/esp32-2432S032C.json index e2581ab..a7b2b5f 100644 --- a/esp32-2432S032C.json +++ b/esp32-2432S032C.json @@ -21,7 +21,7 @@ "'-D ST7789_SPI_BUS_SCLK_IO_NUM=14'", "'-D ST7789_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7789_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7789_SPI_BUS_FLAGS=0'", "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", @@ -45,13 +45,13 @@ "'-D LCD_MIRROR_Y=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=33'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=32'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-2432S032N.json b/esp32-2432S032N.json index a8d4f14..e68a05b 100644 --- a/esp32-2432S032N.json +++ b/esp32-2432S032N.json @@ -21,7 +21,7 @@ "'-D ST7789_SPI_BUS_SCLK_IO_NUM=14'", "'-D ST7789_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7789_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7789_SPI_BUS_FLAGS=0'", "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-2432S032R.json b/esp32-2432S032R.json index c3c1238..c7c5559 100644 --- a/esp32-2432S032R.json +++ b/esp32-2432S032R.json @@ -21,7 +21,7 @@ "'-D ST7789_SPI_BUS_SCLK_IO_NUM=14'", "'-D ST7789_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7789_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7789_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7789_SPI_BUS_FLAGS=0'", "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-3248S035C.json b/esp32-3248S035C.json index a246370..b53629e 100644 --- a/esp32-3248S035C.json +++ b/esp32-3248S035C.json @@ -20,7 +20,7 @@ "'-D ST7796_SPI_BUS_SCLK_IO_NUM=14'", "'-D ST7796_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7796_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7796_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7796_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7796_SPI_BUS_FLAGS=0'", "'-D ST7796_SPI_BUS_INTR_FLAGS=0'", "'-D ST7796_SPI_CONFIG_CS_GPIO_NUM=15'", @@ -44,13 +44,13 @@ "'-D LCD_MIRROR_Y=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=33'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=32'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-3248S035R.json b/esp32-3248S035R.json index 2517eb8..90c83b7 100644 --- a/esp32-3248S035R.json +++ b/esp32-3248S035R.json @@ -20,7 +20,7 @@ "'-D ST7796_SPI_BUS_SCLK_IO_NUM=14'", "'-D ST7796_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", "'-D ST7796_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", - "'-D ST7796_SPI_BUS_MAX_TRANSFER_SZ=0'", + "'-D ST7796_SPI_BUS_MAX_TRANSFER_SZ=(LVGL_BUFFER_PIXELS*sizeof(lv_color16_t))'", "'-D ST7796_SPI_BUS_FLAGS=0'", "'-D ST7796_SPI_BUS_INTR_FLAGS=0'", "'-D ST7796_SPI_CONFIG_CS_GPIO_NUM=15'", diff --git a/esp32-4827S043C.json b/esp32-4827S043C.json index 13191e0..318659a 100644 --- a/esp32-4827S043C.json +++ b/esp32-4827S043C.json @@ -64,13 +64,13 @@ "'-D ST7262_PANEL_CONFIG_FLAGS_FB_IN_PSRAM=true'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=20'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-4848S040CIY1.json b/esp32-4848S040CIY1.json index e40b2c0..ca185b9 100644 --- a/esp32-4848S040CIY1.json +++ b/esp32-4848S040CIY1.json @@ -84,13 +84,13 @@ "'-D ST7701_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=45'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-4848S040CIY3.json b/esp32-4848S040CIY3.json index 6881440..5e19d88 100644 --- a/esp32-4848S040CIY3.json +++ b/esp32-4848S040CIY3.json @@ -84,13 +84,13 @@ "'-D ST7701_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=45'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-8048S043C.json b/esp32-8048S043C.json index d6959a9..b55b16c 100644 --- a/esp32-8048S043C.json +++ b/esp32-8048S043C.json @@ -64,13 +64,13 @@ "'-D ST7262_PANEL_CONFIG_FLAGS_FB_IN_PSRAM=true'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=20'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-8048S050C.json b/esp32-8048S050C.json index 8dcc77a..4ec444f 100644 --- a/esp32-8048S050C.json +++ b/esp32-8048S050C.json @@ -26,12 +26,12 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_BACK_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=8'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=48'", "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_PULSE_WIDTH=4'", "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_BACK_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=true'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=true'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=12'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=false'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=false'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_DE_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", @@ -64,13 +64,13 @@ "'-D ST7262_PANEL_CONFIG_FLAGS_FB_IN_PSRAM=true'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=20'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'", diff --git a/esp32-8048S050N.json b/esp32-8048S050N.json index e3978c6..7e90f62 100644 --- a/esp32-8048S050N.json +++ b/esp32-8048S050N.json @@ -26,12 +26,12 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_BACK_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=8'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=48'", "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_PULSE_WIDTH=4'", "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_BACK_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=true'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=true'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=12'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=false'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=false'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_DE_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", diff --git a/esp32-8048S050R.json b/esp32-8048S050R.json index 40e7c71..0230ae0 100644 --- a/esp32-8048S050R.json +++ b/esp32-8048S050R.json @@ -26,12 +26,12 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_BACK_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=8'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_FRONT_PORCH=48'", "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_PULSE_WIDTH=4'", "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_BACK_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=8'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=true'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=true'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_VSYNC_FRONT_PORCH=12'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_HSYNC_IDLE_LOW=false'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_VSYNC_IDLE_LOW=false'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_DE_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", diff --git a/esp32-8048S070C.json b/esp32-8048S070C.json index d0e5cf3..1dea88b 100644 --- a/esp32-8048S070C.json +++ b/esp32-8048S070C.json @@ -64,13 +64,13 @@ "'-D ST7262_PANEL_CONFIG_FLAGS_FB_IN_PSRAM=true'", "'-D BOARD_HAS_TOUCH'", "'-D TOUCH_GT911_I2C'", - "'-D GT911_I2C_HOST=0'", + "'-D GT911_I2C_HOST=I2C_NUM_0'", "'-D GT911_I2C_CONFIG_SDA_IO_NUM=19'", "'-D GT911_I2C_CONFIG_SCL_IO_NUM=20'", - "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_ENABLE'", - "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_ENABLE'", + "'-D GT911_I2C_CONFIG_SDA_PULLUP_EN=GPIO_PULLUP_DISABLE'", + "'-D GT911_I2C_CONFIG_SCL_PULLUP_EN=GPIO_PULLUP_DISABLE'", "'-D GT911_I2C_CONFIG_MASTER_CLK_SPEED=400000'", - "'-D GT911_I2C_CONFIG_CLK_FLAGS=0'", + "'-D GT911_I2C_CONFIG_CLK_FLAGS=I2C_SCLK_SRC_FLAG_FOR_NOMAL'", "'-D GT911_IO_I2C_CONFIG_DEV_ADDR=ESP_LCD_TOUCH_IO_I2C_GT911_ADDRESS'", "'-D GT911_IO_I2C_CONFIG_CONTROL_PHASE_BYTES=1'", "'-D GT911_IO_I2C_CONFIG_DC_BIT_OFFSET=0'",