Browse Source

🐛 Fix FLSUN Hispeed FIL_RUNOUT_PIN, MKS Robin Mini TFT pins (#24204)

FB4S_WIFI
Keith Bennett 3 years ago
committed by Scott Lahteine
parent
commit
06c4a9acdb
  1. 8
      Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h
  2. 3
      Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h

8
Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h

@ -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
// //

3
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h

@ -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…
Cancel
Save