🐛 Fix FLSUN Hispeed FIL_RUNOUT_PIN, MKS Robin Mini TFT pins (#24204)
This commit is contained in:
parent
8a301196e1
commit
06c4a9acdb
|
@ -41,7 +41,7 @@
|
||||||
#define BOARD_NO_NATIVE_USB
|
#define BOARD_NO_NATIVE_USB
|
||||||
|
|
||||||
// Avoid conflict with TIMER_SERVO when using the STM32 HAL
|
// Avoid conflict with TIMER_SERVO when using the STM32 HAL
|
||||||
#define TEMP_TIMER 5
|
#define TEMP_TIMER 5
|
||||||
|
|
||||||
//
|
//
|
||||||
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
#define Z_MAX_PIN PC4 // +Z
|
#define Z_MAX_PIN PC4 // +Z
|
||||||
|
|
||||||
#ifndef FIL_RUNOUT_PIN
|
#ifndef FIL_RUNOUT_PIN
|
||||||
#define FIL_RUNOUT_PIN MT_DET_1_PIN
|
#define FIL_RUNOUT_PIN PA4 // MT_DET
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -217,14 +217,14 @@
|
||||||
//
|
//
|
||||||
#if ENABLED(PSU_CONTROL)
|
#if ENABLED(PSU_CONTROL)
|
||||||
#define KILL_PIN PA2 // PW_DET
|
#define KILL_PIN PA2 // PW_DET
|
||||||
#define KILL_PIN_STATE HIGH
|
#define KILL_PIN_STATE HIGH
|
||||||
//#define PS_ON_PIN PA3 // PW_CN /PW_OFF
|
//#define PS_ON_PIN PA3 // PW_CN /PW_OFF
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_TFT_LVGL_UI
|
#if HAS_TFT_LVGL_UI
|
||||||
#define MT_DET_1_PIN PA4 // MT_DET
|
#define MT_DET_1_PIN PA4 // MT_DET
|
||||||
#define MT_DET_2_PIN PE6
|
#define MT_DET_2_PIN PE6
|
||||||
#define MT_DET_PIN_STATE LOW
|
#define MT_DET_PIN_STATE LOW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -153,6 +153,9 @@
|
||||||
#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_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
|
||||||
#define FSMC_DMA_DEV DMA2
|
#define FSMC_DMA_DEV DMA2
|
||||||
#define FSMC_DMA_CHANNEL DMA_CH5
|
#define FSMC_DMA_CHANNEL DMA_CH5
|
||||||
|
|
Loading…
Reference in a new issue