|
|
@ -133,11 +133,9 @@ |
|
|
|
//
|
|
|
|
#define BEEPER_PIN PE4 |
|
|
|
|
|
|
|
/**
|
|
|
|
* Note: MKS Robin TFT screens use various TFT controllers. |
|
|
|
* If the screen stays white, disable 'LCD_RESET_PIN' |
|
|
|
* to let the bootloader init the screen. |
|
|
|
*/ |
|
|
|
//
|
|
|
|
// TFT with FSMC interface
|
|
|
|
//
|
|
|
|
#if HAS_FSMC_TFT |
|
|
|
/**
|
|
|
|
* Note: MKS Robin TFT screens use various TFT controllers |
|
|
@ -151,18 +149,17 @@ |
|
|
|
* Setting an 'TFT_RESET_PIN' may cause a flicker when entering the LCD menu |
|
|
|
* because Marlin uses the reset as a failsafe to revive a glitchy LCD. |
|
|
|
*/ |
|
|
|
#define TFT_CS_PIN PD7 // NE4
|
|
|
|
#define TFT_RS_PIN PG0 // A0
|
|
|
|
|
|
|
|
#define FSMC_CS_PIN TFT_CS_PIN |
|
|
|
#define FSMC_RS_PIN TFT_RS_PIN |
|
|
|
#define TFT_RESET_PIN PF15 |
|
|
|
#define TFT_BACKLIGHT_PIN PF11 |
|
|
|
|
|
|
|
#define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
|
|
|
|
#define FSMC_CS_PIN PD7 // NE4
|
|
|
|
#define FSMC_RS_PIN PG0 // A0
|
|
|
|
#define FSMC_DMA_DEV DMA2 |
|
|
|
#define FSMC_DMA_CHANNEL DMA_CH5 |
|
|
|
|
|
|
|
#define TFT_RESET_PIN PF15 |
|
|
|
#define TFT_BACKLIGHT_PIN PF11 |
|
|
|
#define TFT_CS_PIN FSMC_CS_PIN |
|
|
|
#define TFT_RS_PIN FSMC_RS_PIN |
|
|
|
|
|
|
|
#define TOUCH_BUTTONS_HW_SPI |
|
|
|
#define TOUCH_BUTTONS_HW_SPI_DEVICE 1 |
|
|
|