From 59dfae94b22caaaeccd051b4eb41fb7b9e0dddad Mon Sep 17 00:00:00 2001 From: Bodmer Date: Fri, 29 Apr 2022 22:26:29 +0100 Subject: [PATCH] Associate setups with processor variant Add ILI9342 Fix M5Stack setup name --- User_Setup_Select.h | 48 +++++++++++++++--------------- User_Setups/Setup46_GC9A01_ESP32.h | 1 + User_Setups/SetupX_Template.h | 6 +++- 3 files changed, 30 insertions(+), 25 deletions(-) diff --git a/User_Setup_Select.h b/User_Setup_Select.h index f54265e..8e788ab 100644 --- a/User_Setup_Select.h +++ b/User_Setup_Select.h @@ -21,25 +21,25 @@ #include // Default setup is root library folder -//#include // Setup file configured for my ILI9341 -//#include // Setup file configured for my ST7735 -//#include // Setup file configured for my ILI9163 -//#include // Setup file configured for my S6D02A1 -//#include // Setup file configured for my stock RPi TFT -//#include // Setup file configured for my modified RPi TFT -//#include // Setup file configured for my ST7735 128x128 display -//#include // Setup file configured for my ILI9163 128x128 display -//#include // Setup file configured for my ST7735 -//#include // Setup file configured for ESP8266 and RPi TFT with touch +//#include // Setup file for ESP8266 configured for my ILI9341 +//#include // Setup file for ESP8266 configured for my ST7735 +//#include // Setup file for ESP8266 configured for my ILI9163 +//#include // Setup file for ESP8266 configured for my S6D02A1 +//#include // Setup file for ESP8266 configured for my stock RPi TFT +//#include // Setup file for ESP8266 configured for my modified RPi TFT +//#include // Setup file for ESP8266 configured for my ST7735 128x128 display +//#include // Setup file for ESP8266 configured for my ILI9163 128x128 display +//#include // Setup file for ESP8266 configured for my ST7735 +//#include // Setup file for ESP8266 configured for ESP8266 and RPi TFT with touch //#include // Setup file configured for ESP32 and RPi TFT with touch -//#include // Setup file for the ESP32 based M5Stack +//#include // Setup file for the ESP32 based M5Stack (Basic Core only) //#include // Setup file for the ESP32 with parallel bus TFT //#include // Setup file for the ESP32 with parallel bus TFT -//#include // Setup file configured for HX8357D (untested) +//#include // Setup file for ESP8266 configured for HX8357D //#include // Setup file for the ESP32 with parallel bus TFT -//#include // Setup file for any Waveshare ePaper display -//#include // Setup file configured for ST7789 +//#include // Setup file for ESP8266 and any Waveshare ePaper display +//#include // Setup file for ESP8266 configured for ST7789 //#include // Setup file configured for RM68140 with parallel bus @@ -49,7 +49,7 @@ //#include // Setup file for ESP32 and TTGO T4 version 1.2 //#include // Setup file for ESP32 and TTGO T4 version 1.3 //#include // Setup file for ESP32 and TTGO TM ST7789 SPI bus TFT -//#include // Setup file configured for ST7789 240 x 240 +//#include // Setup file for DSTIKE/ESP32/ESP8266 configured for ST7789 240 x 240 //#include // Setup file for ESP32 and TTGO T-Display ST7789V SPI bus TFT //#include // Setup file for ESP32 and TTGO T-Wristband ST7735 SPI bus TFT @@ -68,11 +68,12 @@ //#include // Setup file configured for ESP32 and RPi ST7796 TFT with touch -//#include // Setup file configured for my ST7735S 80x160 +//#include // Setup file for ESP8266 & ESP32 configured for my ST7735S 80x160 //#include // Setup file for ESP32 and TTGO T-CameraPlus ST7789 SPI bus TFT 240x240 //#include // Setup file for ESP32 and TTGO T-Watch ST7789 SPI bus TFT 240x240 +//#include // Setup file for ESP32 and GC9A01 SPI bus TFT 240x240 -//#include // Setup file configured for ST7735 128 x 128 animated eyes +//#include // Setup file for ESP32 configured for ST7735 128 x 128 animated eyes //#include // Setup file for ESP32 and SSD1963 TFT display @@ -90,12 +91,11 @@ //#include // Setup file for ESP32 S2 with ST7789 //#include // Setup file for ESP32 with ST7789 1.47" 172x320 -//#include -//#include -//#include -//#include -//#include -//#include // Setup file for Raspberry Pi Pico with SPI PIO interface and ILI9341 +//#include // Setup file for Pico/RP2040 with 8 bit parallel ILI9488 +//#include // Setup file for Pico/RP2040 with 8 bit parallel ILI9481 +//#include // Setup file for Pico/RP2040 with 8 bit parallel ILI9341 +//#include // Setup file for Pico/RP2040 with 8 bit parallel ILI9486 +//#include // Setup file for Pico/RP2040 with 8 bit parallel ST7796 //#include // Setup file for ESP8266 and ST7789 135 x 240 TFT @@ -110,7 +110,7 @@ //#include // Setup file for ESP32/ESP8266 based ST7789 240X280 1.69inch TFT -//#include +//#include // Template file for a setup #endif // USER_SETUP_LOADED diff --git a/User_Setups/Setup46_GC9A01_ESP32.h b/User_Setups/Setup46_GC9A01_ESP32.h index d289bec..3494f6f 100644 --- a/User_Setups/Setup46_GC9A01_ESP32.h +++ b/User_Setups/Setup46_GC9A01_ESP32.h @@ -1,3 +1,4 @@ +// See SetupX_Template.h for all options available #define USER_SETUP_ID 46 #define GC9A01_DRIVER diff --git a/User_Setups/SetupX_Template.h b/User_Setups/SetupX_Template.h index c2c42c5..c4e2a1c 100644 --- a/User_Setups/SetupX_Template.h +++ b/User_Setups/SetupX_Template.h @@ -41,11 +41,14 @@ // Only define one driver, the other ones must be commented out #define ILI9341_DRIVER // Generic driver for common displays -//#define ILI9341_2_DRIVER // Alternative ILI9341 driver, see https://github.com/Bodmer/TFT_eSPI/issues/1172 +//#define ILI9341_2_DRIVER // Alternative ILI9341 driver, see https://github.com/Bodmer/TFT_eSPI/issues/1172 +//#define ILI9342_DRIVER // Landscape default orientation variant of ILI9341 //#define ST7735_DRIVER // Define additional parameters below for this display //#define ILI9163_DRIVER // Define additional parameters below for this display //#define S6D02A1_DRIVER //#define RPI_ILI9486_DRIVER // 20MHz maximum SPI +//#define HX8357B_DRIVER +//#define HX8357C_DRIVER //#define HX8357D_DRIVER //#define ILI9481_DRIVER //#define ILI9486_DRIVER @@ -53,6 +56,7 @@ //#define ST7789_DRIVER // Full configuration option, define additional parameters below for this display //#define ST7789_2_DRIVER // Minimal configuration option, define additional parameters below for this display //#define R61581_DRIVER +//#define RM68120_DRIVER // Untested //#define RM68140_DRIVER //#define ST7796_DRIVER //#define SSD1351_DRIVER