|
@@ -1496,7 +1496,7 @@
|
1496
|
1496
|
#endif
|
1497
|
1497
|
#elif ENABLED(TFT_GENERIC)
|
1498
|
1498
|
#define TFT_DEFAULT_ORIENTATION (TFT_EXCHANGE_XY | TFT_INVERT_X | TFT_INVERT_Y)
|
1499
|
|
- #if NONE(TFT_RES_320x240, TFT_RES_480x272, TFT_RES_480x320)
|
|
1499
|
+ #if NONE(TFT_RES_320x240, TFT_RES_480x272, TFT_RES_480x320, TFT_RES_1024x600)
|
1500
|
1500
|
#define TFT_RES_320x240
|
1501
|
1501
|
#endif
|
1502
|
1502
|
#if NONE(TFT_INTERFACE_FSMC, TFT_INTERFACE_SPI)
|
|
@@ -1574,6 +1574,8 @@
|
1574
|
1574
|
#elif TFT_HEIGHT == 600
|
1575
|
1575
|
#if ENABLED(TFT_INTERFACE_LTDC)
|
1576
|
1576
|
#define TFT_1024x600_LTDC
|
|
1577
|
+ #else
|
|
1578
|
+ #define TFT_1024x600_SIM // "Simulation" - for testing purposes only
|
1577
|
1579
|
#endif
|
1578
|
1580
|
#endif
|
1579
|
1581
|
#endif
|
|
@@ -1584,7 +1586,7 @@
|
1584
|
1586
|
#define HAS_UI_480x320 1
|
1585
|
1587
|
#elif EITHER(TFT_480x272, TFT_480x272_SPI)
|
1586
|
1588
|
#define HAS_UI_480x272 1
|
1587
|
|
-#elif defined(TFT_1024x600_LTDC)
|
|
1589
|
+#elif EITHER(TFT_1024x600_LTDC, TFT_1024x600_SIM)
|
1588
|
1590
|
#define HAS_UI_1024x600 1
|
1589
|
1591
|
#endif
|
1590
|
1592
|
#if ANY(HAS_UI_320x240, HAS_UI_480x320, HAS_UI_480x272)
|