瀏覽代碼

Fix Longer3D TFT defines, disable DMA (#19251)

Tanguy Pruvot 4 年之前
父節點
當前提交
7d8d0010e3
No account linked to committer's email address
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h

+ 5
- 2
Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h 查看文件

119
  */
119
  */
120
 
120
 
121
 #define LCD_RESET_PIN                       PC4   // pin 33
121
 #define LCD_RESET_PIN                       PC4   // pin 33
122
-#define LCD_BACKLIGHT_PIN                   PD12  // pin 59
122
+#define TFT_RESET_PIN                       PC4   // pin 33
123
+#define TFT_BACKLIGHT_PIN                   PD12  // pin 59
123
 #define FSMC_CS_PIN                         PD7   // pin 88 = FSMC_NE1
124
 #define FSMC_CS_PIN                         PD7   // pin 88 = FSMC_NE1
124
 #define FSMC_RS_PIN                         PD11  // pin 58 A16 Register. Only one address needed
125
 #define FSMC_RS_PIN                         PD11  // pin 58 A16 Register. Only one address needed
125
 
126
 
126
-#define LCD_USE_DMA_FSMC                          // Use DMA transfers to send data to the TFT
127
+//#define LCD_USE_DMA_FSMC                        // Use DMA transfers to send data to the TFT (broken)
127
 #define FSMC_DMA_DEV                        DMA2
128
 #define FSMC_DMA_DEV                        DMA2
128
 #define FSMC_DMA_CHANNEL                 DMA_CH5
129
 #define FSMC_DMA_CHANNEL                 DMA_CH5
129
 
130
 
136
 #define TFT_PIXEL_OFFSET_X                    32
137
 #define TFT_PIXEL_OFFSET_X                    32
137
 #define TFT_PIXEL_OFFSET_Y                    32
138
 #define TFT_PIXEL_OFFSET_Y                    32
138
 
139
 
140
+//#define TFT_DRIVER                     ILI9341
141
+
139
 /**
142
 /**
140
  * Note: Alfawise U20/U30 boards DON'T use SPI2, as the hardware designer
143
  * Note: Alfawise U20/U30 boards DON'T use SPI2, as the hardware designer
141
  * mixed up MOSI and MISO pins. SPI is managed in SW, and needs pins
144
  * mixed up MOSI and MISO pins. SPI is managed in SW, and needs pins

Loading…
取消
儲存