Marlin Color UI for STM32F1 (SPI) (#18958)

This commit is contained in:
Victor Oliveira
2020-08-08 20:45:34 -03:00
committed by GitHub
parent e3c0891d2b
commit 2ef6c8ba97
7 changed files with 253 additions and 16 deletions

View File

@ -26,12 +26,8 @@
#undef SD_CHECK_AND_RETRY
#endif
#if HAS_SPI_TFT
#error "Sorry! SPI TFT displays are not available for HAL/STM32F1 (yet)."
#endif
// This platform has 'touch/xpt2046', not 'tft/xpt2046'
#if ENABLED(TOUCH_SCREEN) && !HAS_FSMC_TFT
#if ENABLED(TOUCH_SCREEN) && !HAS_FSMC_TFT && !HAS_SPI_TFT
#undef TOUCH_SCREEN
#undef TOUCH_SCREEN_CALIBRATION
#define HAS_TOUCH_XPT2046 1