From 4aa429fdefeda907a9e3e8d9b0f4a22feda4d152 Mon Sep 17 00:00:00 2001 From: Rene Date: Fri, 9 Feb 2024 23:14:31 +0100 Subject: [PATCH] 2.0.5 Develop to Main (#36) * - Created different versions for 8048S070C - Updated documentation * Touch not swapped on x * Added ESP32_2432S022C * Added images for esp32-2432S022 * Added PCLK_HZ * Updated MD * ST7789 new variables * Typo ST7789_SPI_CONFIG_TRANS_QUEUE_DEPTH * Variables GC9A01 * ILI9341 variables * ST7262 Variables * DTOUCH_SWAP_X and Y for 8048S070 * ST7701 variables * ST7701 Added vendor config * ST7701_LINE_CONFIG * Removed not required line * ST7796 Variables * SPI_DMA_CHANNEL * CST816S variables * Typos * GT911 Variables * XPT2046 variables * Typo line config spi3 wire * Typos * Space is required for 2432S028Rv2 * Quote defines * LCD_USES and TOUCH _USES to HAS * BOARD_HAS * Remove BUTTON_BOOT=0 * Typos * TOUCH_CST816S_I2C * Added interface type to LCD/TOUCH * Updated 2432S022C * Corrected ST7789_IO_I80_CONFIG_LCD_PARAM_BITS * Added 2432S022N * Decreased the PCLK from 16M to 12M * Added 8048S070R * Updated MD * Missing defines * Added IPS Setting * Added missing ' * IPS * RGB * Renamed schematic board * Made 8038S070 v13 board default, removed old one * - Fixed typo in i2c command length - Added swap_xy for touch * Removed youch config flags: Not supported * Touch esp32-7048S070C * Touch for esp32-4848S040C * Fixed touch esp32-2432S24C * touch esp32-2432S32C * checked touch esp32-3248S035 * Set int for gt911 * fixed esp32-8048S043 * Updated back porch for 5" * Updated porch in 5" * no touch Swap for esp32-4848S040 * touch on esp32-4848S040 * Removed boards * Remove v13 boards * 1a->1A * Added new clone board esp32-2432S028Rv3 * Data bits are upper D8-D15 * SRAM_TRANS_ALIGN changed from 16 -> 4 * Only upper data d8-D15 * Updated RST and INT of esp32-2432S022C * 16Mhz 2432S022 * Reverted clock freq * esp32-8048S050N R anf B were swapped * Added settings for LVGL buffer size and MALLOC settings * Set PCLK for ST7272 to 8M Fixed touch swap on esp32-8048S070 * Updated touch orientation esp32-4848S040 * max size for esp32-2432S022 * Added spi_bus_config_t flags, intr flags and max_size * Corrected swap R<->B for esp32-8048S050C/R * Updated for esp32-2432S022 --- README.md | 63 +++++++++++----------- esp32-1732S019C.json | 5 ++ esp32-1732S019N.json | 5 ++ esp32-2424S012C.json | 5 ++ esp32-2424S012N.json | 5 ++ esp32-2432S022C.json | 28 +++++----- esp32-2432S022N.json | 24 +++++---- esp32-2432S024C.json | 5 ++ esp32-2432S024N.json | 5 ++ esp32-2432S024R.json | 5 ++ esp32-2432S028R.json | 5 ++ esp32-2432S028Rv2.json | 7 ++- esp32-2432S028Rv3.json | 117 ++++++++++++++++++++++++++++++++++++++++ esp32-2432S032C.json | 5 ++ esp32-2432S032N.json | 5 ++ esp32-2432S032R.json | 5 ++ esp32-3248S035C.json | 5 ++ esp32-3248S035R.json | 5 ++ esp32-4827S043C.json | 6 ++- esp32-4827S043N.json | 6 ++- esp32-4827S043R.json | 6 ++- esp32-4848S040CIY1.json | 8 +-- esp32-4848S040CIY3.json | 8 +-- esp32-8048S043C.json | 6 ++- esp32-8048S043N.json | 6 ++- esp32-8048S043R.json | 6 ++- esp32-8048S050C.json | 26 ++++----- esp32-8048S050N.json | 26 ++++----- esp32-8048S050R.json | 26 ++++----- esp32-8048S070C.json | 10 ++-- esp32-8048S070N.json | 6 ++- esp32-8048S070R.json | 4 +- 32 files changed, 337 insertions(+), 117 deletions(-) create mode 100644 esp32-2432S028Rv3.json diff --git a/README.md b/README.md index b3e8f9b..1832322 100644 --- a/README.md +++ b/README.md @@ -9,37 +9,37 @@ These defines are used by the LVGL drivers for these boards: [esp32-smartdisplay ## Supported boards -| Type | USB | CPU | Flash | PSRAM | Cores/Speed | Display | Size | Display interface | Display controller | Touch interface | Touch controller | Audio | Flash | LED | CdS | Relay | Link | -| --------------------------------------- | --------- | ------------------------ | ----- | ----- | ----------- | ------------------------------------- | ---------- | --------------------------- | ---------------------------------------- | --------------- | ---------------------------------------- | ---------------------------------------- | --------------------------------------------- | --- | ----------------------------------------- | ----- | -------------------------------------------------------------------- | -| [ESP32_1732S019C](#esp32_1732s019-nc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 170x320 | 1.9" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005059421229.html) | -| [ESP32_1732S019N](#esp32_1732s019-nc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 170x320 | 1.9" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005059421229.html) | -| [ESP32-2424S012C](#esp32-2424s012-nc) | USB-C | ESP32-C3-MINI-1U-XXN4 | 4Mb | | 1 x 160Mhz | 240x240 | 1.2" round | SPI | [GC9A01A](assets/datasheets/GC9A01A.pdf) | I2C | [CST816S](assets/datasheets/CST816S.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005453515690.html) | -| [ESP32-2424S012N](#esp32-2424s012-nc) | USB-C | ESP32-C3-MINI-1U-XXN4 | 4Mb | | 1 x 160Mhz | 240x240 | 1.2" round | SPI | [GC9A01A](assets/datasheets/GC9A01A.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005453515690.html) | -| [ESP32-2432S022C](#esp32-2432s022-nc) | USB-C | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 2.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | I2C | [CST816S](assets/datasheets/CST816S.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | | | | | [Ali Express](https://www.aliexpress.com/item/1005006284154750.html) | -| [ESP32-2432S022N](#esp32-2432s022-nc) | USB-C | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 2.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | | | [FM8002A](assets/datasheets/FM8002A.pdf) | | | | | [Ali Express](https://www.aliexpress.com/item/1005006284154750.html) | -| [ESP32-2432S024C](#esp32-2432s024-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A024N.pdf) | 2.4" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | I2C | [CST816S](assets/datasheets/CST816S.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005005865107357.html) | -| [ESP32-2432S024N](#esp32-2432s024-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A024N.pdf) | 2.4" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | | | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005005865107357.html) | -| [ESP32-2432S024R](#esp32-2432s024-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A024N.pdf) | 2.4" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005005865107357.html) | -| [ESP32-2432S028R](#esp32-2432s028r) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A028N.pdf) | 2.8" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004502250619.html) | -| [ESP32-2432S028Rv2](#esp32-2432s028r) | USB-C | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432B028N.pdf) | 2.8" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004502250619.html) | -| [ESP32-2432S032C](#esp32-3248s032-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 3.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006224494145.html) | -| [ESP32-2432S032N](#esp32-3248s032-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 3.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | | | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006224494145.html) | -| [ESP32-2432S032R](#esp32-3248s032-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 3.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006224494145.html) | -| [ESP32-3248S035C](#esp32-3248s035-rc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 320x480 | 3.5" | SPI | [ST7796](assets/datasheets/ST7796.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004632953455.html) | -| [ESP32-3248S035R](#esp32-3248s035-rc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 320x480 | 3.5" | SPI | [ST7796](assets/datasheets/ST7796.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004632953455.html) | -| [ESP32-4827S043C](#esp32-4827s043-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [480x272](assets/lcd/JC4827B043N.pdf) | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005004788147691.html) | -| [ESP32-4827S043R](#esp32-4827s043-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [480x272](assets/lcd/JC4827B043N.pdf) | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005004788147691.html) | -| [ESP32-8048S043C](#esp32-4827s043-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | -| ESP32-8048S043N | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | -| ESP32-8048S043R | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | -| [ESP32-4848S040CIY1](#esp32-4848s040-c) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 240x240 | 4.0" | Direct 16 bits + 3 wire SPI | [ST7701](assets/datasheets/ST7701S.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [NS4168](assets/datasheets/NS4168.pdf) | | | | 1 | [Ali Express](https://www.aliexpress.com/item/1005006320253803.html) | -| [ESP32-4848S040CIY3](#esp32-4848s040-c) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 240x240 | 4.0" | Direct 16 bits + 3 wire SPI | [ST7701](assets/datasheets/ST7701S.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [NS4168](assets/datasheets/NS4168.pdf) | | | | 1-3 | [Ali Express](https://www.aliexpress.com/item/1005006320253803.html) | -| [ESP32-8048S050C](#esp32-8048s050-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 5.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005938915207.html) | -| [ESP32-8048S050N](#esp32-8048s050-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 5.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005938915207.html) | -| [ESP32-8048S050R](#esp32-8048s050-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 5.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005938915207.html) | -| [ESP32-8048S070C](#esp32-8048s070-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [800x480](assets/lcd/JC8048B070N.pdf) | 7.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005928865239.html) | -| [ESP32-8048S070N](#esp32-8048s070-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [800x480](assets/lcd/JC8048B070N.pdf) | 7.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005928865239.html) | -| [ESP32-8048S070R](#esp32-8048s070-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [800x480](assets/lcd/JC8048B070N.pdf) | 7.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005928865239.html) | +| Type | USB | CPU | Flash | PSRAM | Cores/Speed | Display | Size | Display interface | Display controller | Touch interface | Touch controller | Audio | Flash | LED | CdS | Relay | Link | +| --------------------------------------- | --------- | ------------------------ | ----- | ----- | ----------- | ------------------------------------- | ---------- | --------------------------- | ---------------------------------------- | --------------- | ---------------------------------------- | ---------------------------------------- | --------------------------------------------- | --- | ----------------------------------------- | ----- | -------------------------------------------------------------------- | --- | -------------------------------------- | --------- | -------------- | --- | --- | ---------- | ------------------------------------- | ---- | --- | ---------------------------------------- | --- | ---------------------------------------- | ---------------------------------------- | --------------------------------------------- | --- | ----------------------------------------- | --- | -------------------------------------------------------------------- | +| [ESP32_1732S019C](#esp32_1732s019-nc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 170x320 | 1.9" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005059421229.html) | +| [ESP32_1732S019N](#esp32_1732s019-nc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 170x320 | 1.9" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005059421229.html) | +| [ESP32-2424S012C](#esp32-2424s012-nc) | USB-C | ESP32-C3-MINI-1U-XXN4 | 4Mb | | 1 x 160Mhz | 240x240 | 1.2" round | SPI | [GC9A01A](assets/datasheets/GC9A01A.pdf) | I2C | [CST816S](assets/datasheets/CST816S.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005453515690.html) | +| [ESP32-2424S012N](#esp32-2424s012-nc) | USB-C | ESP32-C3-MINI-1U-XXN4 | 4Mb | | 1 x 160Mhz | 240x240 | 1.2" round | SPI | [GC9A01A](assets/datasheets/GC9A01A.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005453515690.html) | +| [ESP32-2432S022C](#esp32-2432s022-nc) | USB-C | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 2.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | I2C | [CST816S](assets/datasheets/CST816S.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | | | | | [Ali Express](https://www.aliexpress.com/item/1005006284154750.html) | +| [ESP32-2432S022N](#esp32-2432s022-nc) | USB-C | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 2.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | | | [FM8002A](assets/datasheets/FM8002A.pdf) | | | | | [Ali Express](https://www.aliexpress.com/item/1005006284154750.html) | | [ESP32-2432S024C](#esp32-2432s024-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A024N.pdf) | 2.4" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | I2C | [CST816S](assets/datasheets/CST816S.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005005865107357.html) | +| [ESP32-2432S024N](#esp32-2432s024-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A024N.pdf) | 2.4" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | | | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005005865107357.html) | +| [ESP32-2432S024R](#esp32-2432s024-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A024N.pdf) | 2.4" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005005865107357.html) | +| [ESP32-2432S028R](#esp32-2432s028r) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432A028N.pdf) | 2.8" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004502250619.html) | +| [ESP32-2432S028Rv2](#esp32-2432s028r) | USB-C | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432B028N.pdf) | 2.8" | SPI | [ILI9341](assets/datasheets/ILI9341.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004502250619.html) | +| [ESP32-2432S028Rv3](#esp32-2432s028r) | USB-C + micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | [240x320](assets/lcd/JC2432B028N.pdf) | 2.8" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | +| [ESP32-2432S032C](#esp32-3248s032-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 3.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006224494145.html) | +| [ESP32-2432S032N](#esp32-3248s032-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 3.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | | | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006224494145.html) | +| [ESP32-2432S032R](#esp32-3248s032-nrc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 240x320 | 3.2" | SPI | [ST7789](assets/datasheets/ST7789.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005006224494145.html) | +| [ESP32-3248S035C](#esp32-3248s035-rc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 320x480 | 3.5" | SPI | [ST7796](assets/datasheets/ST7796.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004632953455.html) | +| [ESP32-3248S035R](#esp32-3248s035-rc) | micro USB | ESP32-WROOM-32 | 4Mb | | 2 x 240Mhz | 320x480 | 3.5" | SPI | [ST7796](assets/datasheets/ST7796.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | [FM8002A](assets/datasheets/FM8002A.pdf) | [W25Q32JV](assets/datasheets/25Q32JVSSIQ.pdf) | RGB | [GT36516](assets/datasheets//GT36516.pdf) | | [Ali Express](https://www.aliexpress.com/item/1005004632953455.html) | +| [ESP32-4827S043C](#esp32-4827s043-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [480x272](assets/lcd/JC4827B043N.pdf) | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005004788147691.html) | +| [ESP32-4827S043R](#esp32-4827s043-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [480x272](assets/lcd/JC4827B043N.pdf) | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005004788147691.html) | +| [ESP32-8048S043C](#esp32-4827s043-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | +| ESP32-8048S043N | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | +| ESP32-8048S043R | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 4.3" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005006110360174.html) | +| [ESP32-4848S040CIY1](#esp32-4848s040-c) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 240x240 | 4.0" | Direct 16 bits + 3 wire SPI | [ST7701](assets/datasheets/ST7701S.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [NS4168](assets/datasheets/NS4168.pdf) | | | | 1 | [Ali Express](https://www.aliexpress.com/item/1005006320253803.html) | +| [ESP32-4848S040CIY3](#esp32-4848s040-c) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 240x240 | 4.0" | Direct 16 bits + 3 wire SPI | [ST7701](assets/datasheets/ST7701S.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | [NS4168](assets/datasheets/NS4168.pdf) | | | | 1-3 | [Ali Express](https://www.aliexpress.com/item/1005006320253803.html) | +| [ESP32-8048S050C](#esp32-8048s050-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 5.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005938915207.html) | +| [ESP32-8048S050N](#esp32-8048s050-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 5.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005938915207.html) | +| [ESP32-8048S050R](#esp32-8048s050-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | 800x480 | 5.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | SPI | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005938915207.html) | +| [ESP32-8048S070C](#esp32-8048s070-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [800x480](assets/lcd/JC8048B070N.pdf) | 7.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | I2C | [GT911](assets/datasheets/GT911.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005928865239.html) | +| [ESP32-8048S070N](#esp32-8048s070-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [800x480](assets/lcd/JC8048B070N.pdf) | 7.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005928865239.html) | +| [ESP32-8048S070R](#esp32-8048s070-nrc) | USB-C | ESP32-S3-WROOM-1-MCN16R8 | 16Mb | 8Mb | 2 x 240Mhz | [800x480](assets/lcd/JC8048B070N.pdf) | 7.0" | Direct 16 bits | [ST7262](assets/datasheets/ST7262.pdf) | | [XPT2046](assets/datasheets/XPT2046.pdf) | | | | | | [Ali Express](https://www.aliexpress.com/item/1005005928865239.html) | > [!NOTES] > @@ -359,6 +359,7 @@ The audio is a bit distorted. [HexeguitarDIY](https://github.com/hexeguitar/ESP3 > [!NOTES] > There is a special variant (USB-C connector) that has a different screen init sequence, the ESP32-2432S028Rv2. +> There are also clone boards with the marking 7789 on the box. This is the v3 variant that has a ST7789 controller instead of the ILI9341! ![ESP32-2432S028R back](assets/images/esp32-2432S028R-back.png) diff --git a/esp32-1732S019C.json b/esp32-1732S019C.json index d7917ac..69e5ca8 100644 --- a/esp32-1732S019C.json +++ b/esp32-1732S019C.json @@ -14,6 +14,8 @@ "'-D ARDUINO_EVENT_RUNNING_CORE=1'", "'-D ARDUINO_USB_CDC_ON_BOOT=0'", "'-D ESP32_1732S019C'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D LCD_WIDTH=170'", "'-D LCD_HEIGHT=320'", "'-D BCKL=14'", @@ -26,6 +28,9 @@ "'-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_FLAGS=0'", + "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=10'", "'-D ST7789_SPI_CONFIG_DC_GPIO_NUM=11'", "'-D ST7789_SPI_CONFIG_SPI_MODE=SPI_MODE3'", diff --git a/esp32-1732S019N.json b/esp32-1732S019N.json index ce05763..eef4c14 100644 --- a/esp32-1732S019N.json +++ b/esp32-1732S019N.json @@ -16,6 +16,8 @@ "'-D ESP32_1732S019N'", "'-D LCD_WIDTH=170'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=14'", "'-D LCD_IPS'", "'-D LCD_ST7789_SPI'", @@ -26,6 +28,9 @@ "'-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_FLAGS=0'", + "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=10'", "'-D ST7789_SPI_CONFIG_DC_GPIO_NUM=11'", "'-D ST7789_SPI_CONFIG_SPI_MODE=SPI_MODE3'", diff --git a/esp32-2424S012C.json b/esp32-2424S012C.json index a8421a5..efaf9c6 100644 --- a/esp32-2424S012C.json +++ b/esp32-2424S012C.json @@ -12,6 +12,8 @@ "'-D ESP32_2424S012C'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=240'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=3'", "'-D LCD_GC9A01_SPI'", "'-D GC9A01_SPI_HOST=SPI2_HOST'", @@ -21,6 +23,9 @@ "'-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_FLAGS=0'", + "'-D GC9A01_SPI_BUS_INTR_FLAGS=0'", "'-D GC9A01_SPI_CONFIG_CS_GPIO_NUM=10'", "'-D GC9A01_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D GC9A01_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-2424S012N.json b/esp32-2424S012N.json index c1df311..1e6d03d 100644 --- a/esp32-2424S012N.json +++ b/esp32-2424S012N.json @@ -12,6 +12,8 @@ "'-D ESP32_2424S012N'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=240'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=3'", "'-D LCD_GC9A01_SPI'", "'-D GC9A01_SPI_HOST=SPI2_HOST'", @@ -21,6 +23,9 @@ "'-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_FLAGS=0'", + "'-D GC9A01_SPI_BUS_INTR_FLAGS=0'", "'-D GC9A01_SPI_CONFIG_CS_GPIO_NUM=10'", "'-D GC9A01_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D GC9A01_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-2432S022C.json b/esp32-2432S022C.json index 6d72876..e6f8af4 100644 --- a/esp32-2432S022C.json +++ b/esp32-2432S022C.json @@ -9,23 +9,25 @@ "'-D ESP32_2432S022C'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/8)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=0'", "'-D LCD_ST7789_I80'", "'-D ST7789_I80_BUS_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", "'-D ST7789_I80_BUS_CONFIG_DC=16'", "'-D ST7789_I80_BUS_CONFIG_WR=4'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D0=15'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D1=13'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D2=12'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D3=14'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D4=27'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D5=25'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D6=33'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D7=32'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D8=15'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D9=13'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D10=12'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D11=14'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D12=27'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D13=25'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D14=33'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D15=32'", "'-D ST7789_I80_BUS_CONFIG_BUS_WIDTH=8'", - "'-D ST7789_I80_BUS_CONFIG_MAX_TRANSFER_BYTES=(LCD_WIDTH*32*sizeof(uint16_t))'", + "'-D ST7789_I80_BUS_CONFIG_MAX_TRANSFER_BYTES=(LVGL_BUFFER_PIXELS * sizeof(lv_color_t))'", "'-D ST7789_I80_BUS_CONFIG_PSRAM_TRANS_ALIGN=64'", - "'-D ST7789_I80_BUS_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7789_I80_BUS_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7789_IO_I80_CONFIG_CS_GPIO_NUM=17'", "'-D ST7789_IO_I80_CONFIG_PCLK_HZ=24000000'", "'-D ST7789_IO_I80_CONFIG_TRANS_QUEUE_DEPTH=10'", @@ -45,7 +47,7 @@ "'-D ST7789_DEV_CONFIG_BITS_PER_PIXEL=16'", "'-D ST7789_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", "'-D ST7789_DEV_CONFIG_VENDOR_CONFIG=NULL'", - "'-D ST7789_RD=2'", + "'-D ST7789_RD_GPIO=2'", "'-D LCD_SWAP_XY=false'", "'-D LCD_MIRROR_X=false'", "'-D LCD_MIRROR_Y=false'", @@ -67,8 +69,8 @@ "'-D CST816S_IO_I2C_CONFIG_FLAGS_DISABLE_CONTROL_PHASE=true'", "'-D CST816S_TOUCH_CONFIG_X_MAX=LCD_WIDTH'", "'-D CST816S_TOUCH_CONFIG_Y_MAX=LCD_HEIGHT'", - "'-D CST816S_TOUCH_CONFIG_RST_GPIO_NUM=1'", - "'-D CST816S_TOUCH_CONFIG_INT_GPIO_NUM=0'", + "'-D CST816S_TOUCH_CONFIG_RST_GPIO_NUM=GPIO_NUM_NC'", + "'-D CST816S_TOUCH_CONFIG_INT_GPIO_NUM=GPIO_NUM_NC'", "'-D CST816S_TOUCH_CONFIG_LEVELS_RESET=0'", "'-D CST816S_TOUCH_CONFIG_LEVELS_INTERRUPT=0'", "'-D TOUCH_SWAP_XY=false'", diff --git a/esp32-2432S022N.json b/esp32-2432S022N.json index 33f8fb9..12525b0 100644 --- a/esp32-2432S022N.json +++ b/esp32-2432S022N.json @@ -9,23 +9,25 @@ "'-D ESP32_2432S022N'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/8)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=0'", "'-D LCD_ST7789_I80'", "'-D ST7789_I80_BUS_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", "'-D ST7789_I80_BUS_CONFIG_DC=16'", "'-D ST7789_I80_BUS_CONFIG_WR=4'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D0=15'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D1=13'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D2=12'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D3=14'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D4=27'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D5=25'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D6=33'", - "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D7=32'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D8=15'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D9=13'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D10=12'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D11=14'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D12=27'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D13=25'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D14=33'", + "'-D ST7789_I80_BUS_CONFIG_DATA_GPIO_D15=32'", "'-D ST7789_I80_BUS_CONFIG_BUS_WIDTH=8'", - "'-D ST7789_I80_BUS_CONFIG_MAX_TRANSFER_BYTES=(LCD_WIDTH*32*sizeof(uint16_t))'", + "'-D ST7789_I80_BUS_CONFIG_MAX_TRANSFER_BYTES=(LVGL_BUFFER_PIXELS * sizeof(lv_color_t))'", "'-D ST7789_I80_BUS_CONFIG_PSRAM_TRANS_ALIGN=64'", - "'-D ST7789_I80_BUS_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7789_I80_BUS_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7789_IO_I80_CONFIG_CS_GPIO_NUM=17'", "'-D ST7789_IO_I80_CONFIG_PCLK_HZ=24000000'", "'-D ST7789_IO_I80_CONFIG_TRANS_QUEUE_DEPTH=10'", @@ -45,7 +47,7 @@ "'-D ST7789_DEV_CONFIG_BITS_PER_PIXEL=16'", "'-D ST7789_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", "'-D ST7789_DEV_CONFIG_VENDOR_CONFIG=NULL'", - "'-D ST7789_RD=2'", + "'-D ST7789_RD_GPIO=2'", "'-D LCD_SWAP_XY=false'", "'-D LCD_MIRROR_X=false'", "'-D LCD_MIRROR_Y=false'", diff --git a/esp32-2432S024C.json b/esp32-2432S024C.json index d3b9f5f..0f0dc4f 100644 --- a/esp32-2432S024C.json +++ b/esp32-2432S024C.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S024C'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_ILI9341_SPI'", "'-D ILI9341_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ILI9341_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ILI9341_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-2432S024N.json b/esp32-2432S024N.json index 246de1f..f2fe467 100644 --- a/esp32-2432S024N.json +++ b/esp32-2432S024N.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S024N'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_ILI9341_SPI'", "'-D ILI9341_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ILI9341_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ILI9341_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-2432S024R.json b/esp32-2432S024R.json index 9a1a965..bb16973 100644 --- a/esp32-2432S024R.json +++ b/esp32-2432S024R.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S024R'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_ILI9341_SPI'", "'-D ILI9341_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ILI9341_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ILI9341_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-2432S028R.json b/esp32-2432S028R.json index 740396b..0af9eb6 100644 --- a/esp32-2432S028R.json +++ b/esp32-2432S028R.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S028R'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=21'", "'-D LCD_ILI9341_SPI'", "'-D ILI9341_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ILI9341_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ILI9341_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-2432S028Rv2.json b/esp32-2432S028Rv2.json index 867c35d..950b8f8 100644 --- a/esp32-2432S028Rv2.json +++ b/esp32-2432S028Rv2.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S028Rv2'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=21'", "'-D LCD_ILI9341_SPI'", "'-D ILI9341_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ILI9341_SPI_BUS_INTR_FLAGS=0'", "'-D ILI9341_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ILI9341_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ILI9341_SPI_CONFIG_SPI_MODE=SPI_MODE0'", @@ -33,7 +38,7 @@ "'-D ILI9341_DEV_CONFIG_COLOR_SPACE=ESP_LCD_COLOR_SPACE_BGR'", "'-D ILI9341_DEV_CONFIG_BITS_PER_PIXEL=16'", "'-D ILI9341_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", - "'-D ILI9341_DEV_CONFIG_VENDOR_CONFIG=\"(ili9341_vendor_config_t[]){{.init_cmds=(ili9341_lcd_init_cmd_t[]){{.cmd=0xCF,.data=(uint8_t[]){0x00,0xC1,0x30},.data_bytes=3},{.cmd=0xED,.data=(uint8_t[]){0x64,0x03,0x12,0x81},.data_bytes=4},{.cmd=0xE8,.data=(uint8_t[]){0x85,0x00,0x78},.data_bytes=3},{.cmd=0xCB,.data=(uint8_t[]){0x39,0x2C,0x00,0x34,0x02},.data_bytes=5},{.cmd=0xF7,.data=(uint8_t[]){0x20},.data_bytes=1},{.cmd=0xEA,.data=(uint8_t[]){0x00,0x00},.data_bytes=2},{.cmd=0xC0,.data=(uint8_t[]){0x10},.data_bytes=1},{.cmd=0xC1,.data=(uint8_t[]){0x00},.data_bytes=1},{.cmd=0xC5,.data=(uint8_t[]){0x30,0x30},.data_bytes=2,},{.cmd=0xC7,.data=(uint8_t[]){0xB7},.data_bytes=1},{.cmd=0x3A,.data=(uint8_t[]){0x55},.data_bytes=1},{.cmd=0x36,.data=(uint8_t[]){0x08},.data_bytes=1},{.cmd=0xB1,.data=(uint8_t[]){0x00,0x1a},.data_bytes=2},{.cmd=0xB6,.data=(uint8_t[]){0x08,0x82,0x27},.data_bytes=3},{.cmd=0xF2,.data=(uint8_t[]){0x00},.data_bytes=1},{.cmd=0x26,.data=(uint8_t[]){0x01},.data_bytes=1},{.cmd=0xE0,.data=(uint8_t[]){0x0F,0x2A,0x28,0x08,0x0E,0x08,0x54,0xA9,0x43,0x0A,0x0F,0x00,0x00,0x00,0x00},.data_bytes=15},{.cmd=0xE1,.data=(uint8_t[]){0x00,0x15,0x17,0x07,0x11,0x06,0x2B,0x56,0x3C,0x05,0x10,0x0F,0x3F,0x3F,0x0F},.data_bytes=15},{.cmd=0x2B,.data=(uint8_t[]){0x00,0x00,0x01,0x3F},.data_bytes=4},{.cmd=0x2A,.data=(uint8_t[]){0x00,0x00,0x00,0xEF},.data_bytes=4},{.cmd=0x21},{.cmd=0x11,.delay_ms=120},{.cmd=0x29,.delay_ms=1}},.init_cmds_size=23}}\"'", + "'-D ILI9341_DEV_CONFIG_VENDOR_CONFIG=\"(ili9341_vendor_config_t[]){{.init_cmds=(ili9341_lcd_init_cmd_t[]){{.cmd=0xCF,.data=(uint8_t[]){0x00,0xC1,0x30},.data_bytes=3},{.cmd=0xED,.data=(uint8_t[]){0x64,0x03,0x12,0x81},.data_bytes=4},{.cmd=0xE8,.data=(uint8_t[]){0x85,0x00,0x78},.data_bytes=3},{.cmd=0xCB,.data=(uint8_t[]){0x39,0x2C,0x00,0x34,0x02},.data_bytes=5},{.cmd=0xF7,.data=(uint8_t[]){0x20},.data_bytes=1},{.cmd=0xEA,.data=(uint8_t[]){0x00,0x00},.data_bytes=2},{.cmd=0xC0,.data=(uint8_t[]){0x10},.data_bytes=1},{.cmd=0xC1,.data=(uint8_t[]){0x00},.data_bytes=1},{.cmd=0xC5,.data=(uint8_t[]){0x30,0x30},.data_bytes=2,},{.cmd=0xC7,.data=(uint8_t[]){0xB7},.data_bytes=1},{.cmd=0x3A,.data=(uint8_t[]){0x55},.data_bytes=1},{.cmd=0x36,.data=(uint8_t[]){0x08},.data_bytes=1},{.cmd=0xB1,.data=(uint8_t[]){0x00,0x1A},.data_bytes=2},{.cmd=0xB6,.data=(uint8_t[]){0x08,0x82,0x27},.data_bytes=3},{.cmd=0xF2,.data=(uint8_t[]){0x00},.data_bytes=1},{.cmd=0x26,.data=(uint8_t[]){0x01},.data_bytes=1},{.cmd=0xE0,.data=(uint8_t[]){0x0F,0x2A,0x28,0x08,0x0E,0x08,0x54,0xA9,0x43,0x0A,0x0F,0x00,0x00,0x00,0x00},.data_bytes=15},{.cmd=0xE1,.data=(uint8_t[]){0x00,0x15,0x17,0x07,0x11,0x06,0x2B,0x56,0x3C,0x05,0x10,0x0F,0x3F,0x3F,0x0F},.data_bytes=15},{.cmd=0x2B,.data=(uint8_t[]){0x00,0x00,0x01,0x3F},.data_bytes=4},{.cmd=0x2A,.data=(uint8_t[]){0x00,0x00,0x00,0xEF},.data_bytes=4},{.cmd=0x21},{.cmd=0x11,.delay_ms=120},{.cmd=0x29,.delay_ms=1}},.init_cmds_size=23}}\"'", "'-D LCD_SWAP_XY=false'", "'-D LCD_MIRROR_X=true'", "'-D LCD_MIRROR_Y=false'", diff --git a/esp32-2432S028Rv3.json b/esp32-2432S028Rv3.json new file mode 100644 index 0000000..6e89104 --- /dev/null +++ b/esp32-2432S028Rv3.json @@ -0,0 +1,117 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32_out.ld" + }, + "core": "esp32", + "extra_flags": [ + "'-D ARDUINO_ESP32_DEV'", + "'-D ESP32_2432S028Rv3'", + "'-D LCD_WIDTH=240'", + "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", + "'-D BCKL=21'", + "'-D LCD_ST7789_SPI'", + "'-D ST7789_SPI_HOST=SPI2_HOST'", + "'-D ST7789_SPI_DMA_CHANNEL=SPI_DMA_CH_AUTO'", + "'-D ST7789_SPI_BUS_MOSI_IO_NUM=13'", + "'-D ST7789_SPI_BUS_MISO_IO_NUM=GPIO_NUM_NC'", + "'-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_FLAGS=0'", + "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", + "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", + "'-D ST7789_SPI_CONFIG_DC_GPIO_NUM=2'", + "'-D ST7789_SPI_CONFIG_SPI_MODE=SPI_MODE3'", + "'-D ST7789_SPI_CONFIG_PCLK_HZ=24000000'", + "'-D ST7789_SPI_CONFIG_TRANS_QUEUE_DEPTH=10'", + "'-D ST7789_SPI_CONFIG_LCD_CMD_BITS=8'", + "'-D ST7789_SPI_CONFIG_LCD_PARAM_BITS=8'", + "'-D ST7789_SPI_CONFIG_FLAGS_DC_AS_CMD_PHASE=false'", + "'-D ST7789_SPI_CONFIG_FLAGS_DC_LOW_ON_DATA=false'", + "'-D ST7789_SPI_CONFIG_FLAGS_OCTAL_MODE=false'", + "'-D ST7789_SPI_CONFIG_FLAGS_LSB_FIRST=false'", + "'-D ST7789_DEV_CONFIG_RESET_GPIO_NUM=GPIO_NUM_NC'", + "'-D ST7789_DEV_CONFIG_COLOR_SPACE=ESP_LCD_COLOR_SPACE_RGB'", + "'-D ST7789_DEV_CONFIG_BITS_PER_PIXEL=16'", + "'-D ST7789_DEV_CONFIG_FLAGS_RESET_ACTIVE_HIGH=false'", + "'-D ST7789_DEV_CONFIG_VENDOR_CONFIG=NULL'", + "'-D LCD_SWAP_XY=false'", + "'-D LCD_MIRROR_X=false'", + "'-D LCD_MIRROR_Y=false'", + "'-D BOARD_HAS_TOUCH'", + "'-D TOUCH_XPT2046_SPI'", + "'-D XPT2046_SPI_HOST=SPI3_HOST'", + "'-D XPT2046_SPI_DMA_CHANNEL=SPI_DMA_CH_AUTO'", + "'-D XPT2046_SPI_BUS_MOSI_IO_NUM=32'", + "'-D XPT2046_SPI_BUS_MISO_IO_NUM=39'", + "'-D XPT2046_SPI_BUS_SCLK_IO_NUM=25'", + "'-D XPT2046_SPI_BUS_QUADWP_IO_NUM=GPIO_NUM_NC'", + "'-D XPT2046_SPI_BUS_QUADHD_IO_NUM=GPIO_NUM_NC'", + "'-D XPT2046_SPI_CONFIG_CS_GPIO_NUM=33'", + "'-D XPT2046_SPI_CONFIG_DC_GPIO_NUM=GPIO_NUM_NC'", + "'-D XPT2046_SPI_CONFIG_SPI_MODE=SPI_MODE0'", + "'-D XPT2046_SPI_CONFIG_PCLK_HZ=2000000'", + "'-D XPT2046_SPI_CONFIG_TRANS_QUEUE_DEPTH=3'", + "'-D XPT2046_SPI_CONFIG_LCD_CMD_BITS=8'", + "'-D XPT2046_SPI_CONFIG_LCD_PARAM_BITS=8'", + "'-D XPT2046_SPI_CONFIG_FLAGS_DC_AS_CMD_PHASE=false'", + "'-D XPT2046_SPI_CONFIG_FLAGS_DC_LOW_ON_DATA=false'", + "'-D XPT2046_SPI_CONFIG_FLAGS_OCTAL_MODE=false'", + "'-D XPT2046_SPI_CONFIG_FLAGS_LSB_FIRST=false'", + "'-D XPT2046_TOUCH_CONFIG_X_MAX=LCD_WIDTH'", + "'-D XPT2046_TOUCH_CONFIG_Y_MAX=LCD_HEIGHT'", + "'-D XPT2046_TOUCH_CONFIG_RST_GPIO_NUM=GPIO_NUM_NC'", + "'-D XPT2046_TOUCH_CONFIG_INT_GPIO_NUM=36'", + "'-D XPT2046_TOUCH_CONFIG_LEVELS_RESET=0'", + "'-D XPT2046_TOUCH_CONFIG_LEVELS_INTERRUPT=0'", + "'-D TOUCH_SWAP_XY=false'", + "'-D TOUCH_SWAP_X=true'", + "'-D TOUCH_SWAP_Y=false'", + "'-D BOARD_HAS_TF'", + "'-D TF_CS=5'", + "'-D TF_SPI_MOSI=23'", + "'-D TF_SPI_SCLK=18'", + "'-D TF_SPI_MISO=19'", + "'-D BOARD_HAS_RGB_LED'", + "'-D RGB_LED_R=4'", + "'-D RGB_LED_G=16'", + "'-D RGB_LED_B=17'", + "'-D BOARD_HAS_CDS'", + "'-D CDS=34'", + "'-D BOARD_HAS_SPEAK'", + "'-D SPEAK=26'" + ], + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "mcu": "esp32", + "variant": "esp32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "esp32-2432S028Rv3", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.aliexpress.com/item/1005004502250619.html", + "vendor": "Sunton" +} \ No newline at end of file diff --git a/esp32-2432S032C.json b/esp32-2432S032C.json index 2d8baf0..93ba2d9 100644 --- a/esp32-2432S032C.json +++ b/esp32-2432S032C.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S032C'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_IPS'", "'-D LCD_ST7789_SPI'", @@ -19,6 +21,9 @@ "'-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_FLAGS=0'", + "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ST7789_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ST7789_SPI_CONFIG_SPI_MODE=SPI_MODE3'", diff --git a/esp32-2432S032N.json b/esp32-2432S032N.json index 6b73d43..c03ad3c 100644 --- a/esp32-2432S032N.json +++ b/esp32-2432S032N.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S032N'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_IPS'", "'-D LCD_ST7789_SPI'", @@ -19,6 +21,9 @@ "'-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_FLAGS=0'", + "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ST7789_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ST7789_SPI_CONFIG_SPI_MODE=SPI_MODE3'", diff --git a/esp32-2432S032R.json b/esp32-2432S032R.json index 004a130..ab304de 100644 --- a/esp32-2432S032R.json +++ b/esp32-2432S032R.json @@ -9,6 +9,8 @@ "'-D ESP32_2432S032R'", "'-D LCD_WIDTH=240'", "'-D LCD_HEIGHT=320'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_ST7789_SPI'", "'-D LCD_IPS'", @@ -19,6 +21,9 @@ "'-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_FLAGS=0'", + "'-D ST7789_SPI_BUS_INTR_FLAGS=0'", "'-D ST7789_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ST7789_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ST7789_SPI_CONFIG_SPI_MODE=SPI_MODE3'", diff --git a/esp32-3248S035C.json b/esp32-3248S035C.json index a66ee52..625ac98 100644 --- a/esp32-3248S035C.json +++ b/esp32-3248S035C.json @@ -9,6 +9,8 @@ "'-D ESP32_3248S035C'", "'-D LCD_WIDTH=320'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_ST7796_SPI'", "'-D ST7796_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ST7796_SPI_BUS_INTR_FLAGS=0'", "'-D ST7796_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ST7796_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ST7796_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-3248S035R.json b/esp32-3248S035R.json index f54fc6d..7277203 100644 --- a/esp32-3248S035R.json +++ b/esp32-3248S035R.json @@ -9,6 +9,8 @@ "'-D ESP32_3248S035R'", "'-D LCD_WIDTH=320'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT/4)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT)'", "'-D BCKL=27'", "'-D LCD_ST7796_SPI'", "'-D ST7796_SPI_HOST=SPI2_HOST'", @@ -18,6 +20,9 @@ "'-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_FLAGS=0'", + "'-D ST7796_SPI_BUS_INTR_FLAGS=0'", "'-D ST7796_SPI_CONFIG_CS_GPIO_NUM=15'", "'-D ST7796_SPI_CONFIG_DC_GPIO_NUM=2'", "'-D ST7796_SPI_CONFIG_SPI_MODE=SPI_MODE0'", diff --git a/esp32-4827S043C.json b/esp32-4827S043C.json index 24f1f4f..d9cd6f7 100644 --- a/esp32-4827S043C.json +++ b/esp32-4827S043C.json @@ -16,10 +16,12 @@ "'-D ESP32_4827S043C'", "'-D LCD_WIDTH=480'", "'-D LCD_HEIGHT=272'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", diff --git a/esp32-4827S043N.json b/esp32-4827S043N.json index b03346e..efbc735 100644 --- a/esp32-4827S043N.json +++ b/esp32-4827S043N.json @@ -16,10 +16,12 @@ "'-D ESP32_4827S043N'", "'-D LCD_WIDTH=480'", "'-D LCD_HEIGHT=272'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", diff --git a/esp32-4827S043R.json b/esp32-4827S043R.json index 20ceb84..965583e 100644 --- a/esp32-4827S043R.json +++ b/esp32-4827S043R.json @@ -16,10 +16,12 @@ "'-D ESP32_4827S043R'", "'-D LCD_WIDTH=480'", "'-D LCD_HEIGHT=272'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", diff --git a/esp32-4848S040CIY1.json b/esp32-4848S040CIY1.json index 1e3d042..1e80ef2 100644 --- a/esp32-4848S040CIY1.json +++ b/esp32-4848S040CIY1.json @@ -16,6 +16,8 @@ "'-D ESP32_4848S040CIY1'", "'-D LCD_WIDTH=480'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=38'", "'-D LCD_ST7701_PAR'", "'-D ST7701_IO_3WIRE_SPI_LINE_CONFIG_CS_GPIO_NUM=39'", @@ -46,7 +48,7 @@ "'-D ST7701_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=0'", "'-D ST7701_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7701_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7701_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7701_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7701_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7701_PANEL_CONFIG_HSYNC_GPIO_NUM=16'", "'-D ST7701_PANEL_CONFIG_VSYNC_GPIO_NUM=17'", @@ -103,8 +105,8 @@ "'-D GT911_TOUCH_CONFIG_LEVELS_RESET=0'", "'-D GT911_TOUCH_CONFIG_LEVELS_INTERRUPT=0'", "'-D TOUCH_SWAP_XY=false'", - "'-D TOUCH_SWAP_X=true'", - "'-D TOUCH_SWAP_Y=true'", + "'-D TOUCH_SWAP_X=false'", + "'-D TOUCH_SWAP_Y=false'", "'-D BOARD_HAS_LED'", "'-D LED_GPIO=16'", "'-D BOARD_HAS_RELAY1'", diff --git a/esp32-4848S040CIY3.json b/esp32-4848S040CIY3.json index 5a29604..bace26c 100644 --- a/esp32-4848S040CIY3.json +++ b/esp32-4848S040CIY3.json @@ -16,6 +16,8 @@ "'-D ESP32_4848S040CIY3'", "'-D LCD_WIDTH=480'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=38'", "'-D LCD_ST7701_PAR'", "'-D ST7701_IO_3WIRE_SPI_LINE_CONFIG_CS_GPIO_NUM=39'", @@ -46,7 +48,7 @@ "'-D ST7701_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=0'", "'-D ST7701_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7701_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7701_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7701_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7701_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7701_PANEL_CONFIG_HSYNC_GPIO_NUM=16'", "'-D ST7701_PANEL_CONFIG_VSYNC_GPIO_NUM=17'", @@ -103,8 +105,8 @@ "'-D GT911_TOUCH_CONFIG_LEVELS_RESET=0'", "'-D GT911_TOUCH_CONFIG_LEVELS_INTERRUPT=0'", "'-D TOUCH_SWAP_XY=false'", - "'-D TOUCH_SWAP_X=true'", - "'-D TOUCH_SWAP_Y=true'", + "'-D TOUCH_SWAP_X=false'", + "'-D TOUCH_SWAP_Y=false'", "'-D BOARD_HAS_LED'", "'-D LED_GPIO=16'", "'-D BOARD_HAS_RELAY1'", diff --git a/esp32-8048S043C.json b/esp32-8048S043C.json index efb6722..eb27912 100644 --- a/esp32-8048S043C.json +++ b/esp32-8048S043C.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S043C'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", diff --git a/esp32-8048S043N.json b/esp32-8048S043N.json index 81c4d98..6038b7e 100644 --- a/esp32-8048S043N.json +++ b/esp32-8048S043N.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S043N'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", diff --git a/esp32-8048S043R.json b/esp32-8048S043R.json index 6b4218b..9e57fb0 100644 --- a/esp32-8048S043R.json +++ b/esp32-8048S043R.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S043R'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", diff --git a/esp32-8048S050C.json b/esp32-8048S050C.json index 526a3e7..2174ca1 100644 --- a/esp32-8048S050C.json +++ b/esp32-8048S050C.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S050C'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,28 +36,28 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", "'-D ST7262_PANEL_CONFIG_DE_GPIO_NUM=40'", "'-D ST7262_PANEL_CONFIG_PCLK_GPIO_NUM=42'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=8'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=3'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=46'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=9'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=1'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=45'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=48'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=47'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=21'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=14'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G0=5'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G1=6'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G2=7'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G3=15'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G4=16'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G5=4'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=45'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=48'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=47'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=21'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=14'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=8'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=3'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=46'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=9'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=1'", "'-D ST7262_PANEL_CONFIG_DISP_GPIO_NUM=GPIO_NUM_NC'", "'-D ST7262_PANEL_CONFIG_FLAGS_DISP_ACTIVE_LOW=false'", "'-D ST7262_PANEL_CONFIG_FLAGS_RELAX_ON_IDLE=false'", diff --git a/esp32-8048S050N.json b/esp32-8048S050N.json index 982d66d..a431833 100644 --- a/esp32-8048S050N.json +++ b/esp32-8048S050N.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S050N'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,28 +36,28 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", "'-D ST7262_PANEL_CONFIG_DE_GPIO_NUM=40'", "'-D ST7262_PANEL_CONFIG_PCLK_GPIO_NUM=42'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=8'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=3'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=46'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=9'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=1'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=45'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=48'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=47'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=21'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=14'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G0=5'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G1=6'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G2=7'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G3=15'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G4=16'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G5=4'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=45'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=48'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=47'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=21'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=14'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=8'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=3'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=46'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=9'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=1'", "'-D ST7262_PANEL_CONFIG_DISP_GPIO_NUM=GPIO_NUM_NC'", "'-D ST7262_PANEL_CONFIG_FLAGS_DISP_ACTIVE_LOW=false'", "'-D ST7262_PANEL_CONFIG_FLAGS_RELAX_ON_IDLE=false'", diff --git a/esp32-8048S050R.json b/esp32-8048S050R.json index 69f0e2b..e221585 100644 --- a/esp32-8048S050R.json +++ b/esp32-8048S050R.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S050R'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=4'", @@ -34,28 +36,28 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=41'", "'-D ST7262_PANEL_CONFIG_DE_GPIO_NUM=40'", "'-D ST7262_PANEL_CONFIG_PCLK_GPIO_NUM=42'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=8'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=3'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=46'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=9'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=1'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R0=45'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R1=48'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R2=47'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R3=21'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_R4=14'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G0=5'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G1=6'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G2=7'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G3=15'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G4=16'", "'-D ST7262_PANEL_CONFIG_DATA_GPIO_G5=4'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=45'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=48'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=47'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=21'", - "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=14'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B0=8'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B1=3'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B2=46'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B3=9'", + "'-D ST7262_PANEL_CONFIG_DATA_GPIO_B4=1'", "'-D ST7262_PANEL_CONFIG_DISP_GPIO_NUM=GPIO_NUM_NC'", "'-D ST7262_PANEL_CONFIG_FLAGS_DISP_ACTIVE_LOW=false'", "'-D ST7262_PANEL_CONFIG_FLAGS_RELAX_ON_IDLE=false'", diff --git a/esp32-8048S070C.json b/esp32-8048S070C.json index da18df9..88e6d63 100644 --- a/esp32-8048S070C.json +++ b/esp32-8048S070C.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S070C'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=30'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=40'", @@ -83,8 +85,8 @@ "'-D GT911_TOUCH_CONFIG_LEVELS_RESET=0'", "'-D GT911_TOUCH_CONFIG_LEVELS_INTERRUPT=0'", "'-D TOUCH_SWAP_XY=false'", - "'-D TOUCH_SWAP_X=true'", - "'-D TOUCH_SWAP_Y=true'", + "'-D TOUCH_SWAP_X=false'", + "'-D TOUCH_SWAP_Y=false'", "'-D BOARD_HAS_TF'", "'-D TF_CS=10'", "'-D TF_SPI_MOSI=11'", diff --git a/esp32-8048S070N.json b/esp32-8048S070N.json index f4d1247..6b13304 100644 --- a/esp32-8048S070N.json +++ b/esp32-8048S070N.json @@ -16,10 +16,12 @@ "'-D ESP32_8048S070N'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", - "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=12000000'", + "'-D ST7262_PANEL_CONFIG_TIMINGS_PCLK_HZ=(8*1000000)'", "'-D ST7262_PANEL_CONFIG_TIMINGS_H_RES=LCD_WIDTH'", "'-D ST7262_PANEL_CONFIG_TIMINGS_V_RES=LCD_HEIGHT'", "'-D ST7262_PANEL_CONFIG_TIMINGS_HSYNC_PULSE_WIDTH=30'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=40'", diff --git a/esp32-8048S070R.json b/esp32-8048S070R.json index 6ddf29f..b6f3333 100644 --- a/esp32-8048S070R.json +++ b/esp32-8048S070R.json @@ -16,6 +16,8 @@ "'-D ESP32_8048S070R'", "'-D LCD_WIDTH=800'", "'-D LCD_HEIGHT=480'", + "'-D LVGL_BUFFER_PIXELS=(LCD_WIDTH*LCD_HEIGHT)'", + "'-D LVGL_BUFFER_MALLOC_FLAGS=(MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT)'", "'-D BCKL=2'", "'-D LCD_ST7262_PAR'", "'-D ST7262_PANEL_CONFIG_CLK_SRC=LCD_CLK_SRC_PLL160M'", @@ -34,7 +36,7 @@ "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_ACTIVE_NEG=true'", "'-D ST7262_PANEL_CONFIG_TIMINGS_FLAGS_PCLK_IDLE_HIGH=false'", "'-D ST7262_PANEL_CONFIG_DATA_WIDTH=16'", - "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=16'", + "'-D ST7262_PANEL_CONFIG_SRAM_TRANS_ALIGN=4'", "'-D ST7262_PANEL_CONFIG_PSRAM_TRANS_ALIGN=64'", "'-D ST7262_PANEL_CONFIG_HSYNC_GPIO_NUM=39'", "'-D ST7262_PANEL_CONFIG_VSYNC_GPIO_NUM=40'",