TFT (plus Hardware SPI) for LPC (#19139)

This commit is contained in:
Victor Oliveira
2020-08-26 07:13:58 -03:00
committed by GitHub
parent 4955aa5b78
commit 1a4b82a5d6
11 changed files with 862 additions and 49 deletions

View File

@ -21,6 +21,13 @@
*/
#pragma once
#if HAS_SPI_TFT || HAS_FSMC_TFT
#error "Sorry! TFT displays are not available for HAL/LPC1768."
#if HAS_FSMC_TFT
#error "Sorry! FSMC TFT displays are not current available for HAL/LPC1768."
#endif
// This emulated DOGM has 'touch/xpt2046', not 'tft/xpt2046'
#if ENABLED(TOUCH_SCREEN) && !HAS_GRAPHICAL_TFT
#undef TOUCH_SCREEN
#undef TOUCH_SCREEN_CALIBRATION
#define HAS_TOUCH_XPT2046 1
#endif