Update Robin Pro TFT Pins (#21879)
This commit is contained in:
@@ -210,12 +210,16 @@
|
|||||||
* If the screen stays white, disable 'LCD_RESET_PIN'
|
* If the screen stays white, disable 'LCD_RESET_PIN'
|
||||||
* to let the bootloader init the screen.
|
* to let the bootloader init the screen.
|
||||||
*/
|
*/
|
||||||
#if HAS_FSMC_GRAPHICAL_TFT
|
#if HAS_FSMC_TFT
|
||||||
#define FSMC_CS_PIN PD7 // NE4
|
#define FSMC_CS_PIN PD7 // NE4
|
||||||
#define FSMC_RS_PIN PD11 // A0
|
#define FSMC_RS_PIN PD11 // A0
|
||||||
|
#define TFT_CS_PIN FSMC_CS_PIN
|
||||||
|
#define TFT_RS_PIN FSMC_RS_PIN
|
||||||
|
|
||||||
#define LCD_RESET_PIN PF6
|
#define LCD_RESET_PIN PF6
|
||||||
#define LCD_BACKLIGHT_PIN PD13
|
#define LCD_BACKLIGHT_PIN PD13
|
||||||
|
#define TFT_RESET_PIN LCD_RESET_PIN
|
||||||
|
#define TFT_BACKLIGHT_PIN LCD_BACKLIGHT_PIN
|
||||||
|
|
||||||
#if NEED_TOUCH_PINS
|
#if NEED_TOUCH_PINS
|
||||||
#define TOUCH_CS_PIN PA7
|
#define TOUCH_CS_PIN PA7
|
||||||
@@ -251,7 +255,8 @@
|
|||||||
#define DOGLCD_SCK PB13
|
#define DOGLCD_SCK PB13
|
||||||
#define DOGLCD_MOSI PB15
|
#define DOGLCD_MOSI PB15
|
||||||
|
|
||||||
#else // !MKS_MINI_12864 && !ENDER2_STOCKDISPLAY
|
#else
|
||||||
|
// !MKS_MINI_12864 && !ENDER2_STOCKDISPLAY
|
||||||
|
|
||||||
#define LCD_PINS_D4 PF14
|
#define LCD_PINS_D4 PF14
|
||||||
#if IS_ULTIPANEL
|
#if IS_ULTIPANEL
|
||||||
@@ -278,3 +283,12 @@
|
|||||||
#ifndef BOARD_ST7920_DELAY_3
|
#ifndef BOARD_ST7920_DELAY_3
|
||||||
#define BOARD_ST7920_DELAY_3 DELAY_NS(125)
|
#define BOARD_ST7920_DELAY_3 DELAY_NS(125)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define HAS_SPI_FLASH 1
|
||||||
|
#if HAS_SPI_FLASH
|
||||||
|
#define SPI_FLASH_SIZE 0x1000000 // 16MB
|
||||||
|
#define W25QXX_CS_PIN PB12 // Flash chip-select
|
||||||
|
#define W25QXX_MOSI_PIN PB15
|
||||||
|
#define W25QXX_MISO_PIN PB14
|
||||||
|
#define W25QXX_SCK_PIN PB13
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user