|
13 | 13 | || defined ARDUINO_TWATCH_2020_V1 \ |
14 | 14 | || defined ARDUINO_TWATCH_2020_V2 \ |
15 | 15 | || defined ARDUINO_LOLIN_D32_PRO \ |
| 16 | + || defined ARDUINO_ESP32_S3_BOX \ |
16 | 17 | // yay! platform is supported |
17 | 18 | #else |
18 | 19 | #error "NO SUPPORTED BOARD DETECTED !!" |
@@ -51,7 +52,7 @@ static const int AMIGABALL_YPOS = 50; |
51 | 52 |
|
52 | 53 |
|
53 | 54 | // display profiles switcher |
54 | | -#if defined( ARDUINO_M5Stack_Core_ESP32 ) || defined( ARDUINO_M5STACK_FIRE ) || defined( ARDUINO_ODROID_ESP32 ) || defined( ARDUINO_M5STACK_Core2 ) || defined( ARDUINO_LOLIN_D32_PRO ) |
| 55 | +#if defined( ARDUINO_M5Stack_Core_ESP32 ) || defined( ARDUINO_M5STACK_FIRE ) || defined( ARDUINO_ODROID_ESP32 ) || defined( ARDUINO_M5STACK_Core2 ) || defined( ARDUINO_LOLIN_D32_PRO ) || defined ARDUINO_ESP32_S3_BOX |
55 | 56 |
|
56 | 57 | #if defined ARDUINO_M5Stack_Core_ESP32 |
57 | 58 | //#undef WITH_WIFI // M5Stack has a small partition, disable WiFi |
@@ -105,6 +106,11 @@ static const int AMIGABALL_YPOS = 50; |
105 | 106 | //#undef HEAPGRAPH_CORE |
106 | 107 | //#define HEAPGRAPH_CORE 0 |
107 | 108 |
|
| 109 | + |
| 110 | + #elif defined ARDUINO_ESP32_S3_BOX |
| 111 | + |
| 112 | + #undef WITH_WIFI // NTP is useless without a RTC module |
| 113 | + |
108 | 114 | #else |
109 | 115 | // M5Stack Classic, Fire |
110 | 116 | #undef HAS_EXTERNAL_RTC |
@@ -265,6 +271,8 @@ static const int AMIGABALL_YPOS = 50; |
265 | 271 | #define tft M5.Lcd // syntax sugar |
266 | 272 | //#include "HID_XPad.h" // external HID |
267 | 273 |
|
| 274 | +#pragma GCC diagnostic ignored "-Wunused-variable" |
| 275 | + |
268 | 276 |
|
269 | 277 | static TFT_eSprite gradientSprite( &tft ); // gradient background |
270 | 278 | static TFT_eSprite heapGraphSprite( &tft ); // activity graph |
|
0 commit comments