Tanguy Pruvot
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h
|
|
@ -119,11 +119,12 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
#define LCD_RESET_PIN PC4 // pin 33
|
|
|
|
#define LCD_BACKLIGHT_PIN PD12 // pin 59
|
|
|
|
#define TFT_RESET_PIN PC4 // pin 33
|
|
|
|
#define TFT_BACKLIGHT_PIN PD12 // pin 59
|
|
|
|
#define FSMC_CS_PIN PD7 // pin 88 = FSMC_NE1
|
|
|
|
#define FSMC_RS_PIN PD11 // pin 58 A16 Register. Only one address needed
|
|
|
|
|
|
|
|
#define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
|
|
|
|
//#define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT (broken)
|
|
|
|
#define FSMC_DMA_DEV DMA2 |
|
|
|
#define FSMC_DMA_CHANNEL DMA_CH5 |
|
|
|
|
|
|
@ -136,6 +137,8 @@ |
|
|
|
#define TFT_PIXEL_OFFSET_X 32 |
|
|
|
#define TFT_PIXEL_OFFSET_Y 32 |
|
|
|
|
|
|
|
//#define TFT_DRIVER ILI9341
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Note: Alfawise U20/U30 boards DON'T use SPI2, as the hardware designer |
|
|
|
* mixed up MOSI and MISO pins. SPI is managed in SW, and needs pins |
|
|
|