mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-22 18:25:18 +00:00
🐛 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
|
||||
|
||||
// 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
|
||||
@ -92,7 +92,7 @@
|
||||
#define Z_MAX_PIN PC4 // +Z
|
||||
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN MT_DET_1_PIN
|
||||
#define FIL_RUNOUT_PIN PA4 // MT_DET
|
||||
#endif
|
||||
|
||||
//
|
||||
@ -217,14 +217,14 @@
|
||||
//
|
||||
#if ENABLED(PSU_CONTROL)
|
||||
#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
|
||||
#endif
|
||||
|
||||
#if HAS_TFT_LVGL_UI
|
||||
#define MT_DET_1_PIN PA4 // MT_DET
|
||||
#define MT_DET_2_PIN PE6
|
||||
#define MT_DET_PIN_STATE LOW
|
||||
#define MT_DET_PIN_STATE LOW
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -153,6 +153,9 @@
|
||||
#define FSMC_CS_PIN PD7 // NE4
|
||||
#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 FSMC_DMA_DEV DMA2
|
||||
#define FSMC_DMA_CHANNEL DMA_CH5
|
||||
|
Loading…
Reference in New Issue
Block a user