From 7f16744cffb08f8e50a83e2e2e8747b066b526dc Mon Sep 17 00:00:00 2001 From: Yoonseok Hur Date: Thu, 10 Apr 2025 08:58:30 +0900 Subject: [PATCH] LILYGO_T_DISPLAY_S3 Macro In order to use User_Setups/Setup206_LilyGo_T_Display_S3.h, just define or pass the macro LILYGO_T_DISPLAY_S3. --- User_Setup_Select.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/User_Setup_Select.h b/User_Setup_Select.h index 6a516399..ccdc80a3 100644 --- a/User_Setup_Select.h +++ b/User_Setup_Select.h @@ -24,7 +24,9 @@ // Only ONE line below should be uncommented to define your setup. Add extra lines and files as needed. +#ifndef LILYGO_T_DISPLAY_S3 #include // Default setup is root library folder +#endif //#include // Setup file for ESP8266 configured for my ILI9341 //#include // Setup file for ESP8266 configured for my ST7735 @@ -130,7 +132,9 @@ //#include // Setup file for the ESP32 TouchDown S3 based on ILI9488 480 x 320 TFT -//#include // For the LilyGo T-Display S3 based ESP32S3 with ST7789 170 x 320 TFT +#ifdef LILYGO_T_DISPLAY_S3 +#include // For the LilyGo T-Display S3 based ESP32S3 with ST7789 170 x 320 TFT +#endif //#include // For the LilyGo T-HMI S3 based ESP32S3 with ST7789 240 x 320 TFT //#include // For the LilyGo T-Dongle S3 based ESP32 with ST7735 80 x 160 TFT //#include // For the LilyGo T-Embed S3 based ESP32S3 with ST7789 170 x 320 TFT