Browse Source

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

Keith Bennett 2 years ago
parent
commit
e340a61e52
No account linked to committer's email address

+ 4
- 4
Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h View File

41
 #define BOARD_NO_NATIVE_USB
41
 #define BOARD_NO_NATIVE_USB
42
 
42
 
43
 // Avoid conflict with TIMER_SERVO when using the STM32 HAL
43
 // Avoid conflict with TIMER_SERVO when using the STM32 HAL
44
-#define TEMP_TIMER  5
44
+#define TEMP_TIMER                             5
45
 
45
 
46
 //
46
 //
47
 // Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
47
 // Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
92
 #define Z_MAX_PIN                           PC4   // +Z
92
 #define Z_MAX_PIN                           PC4   // +Z
93
 
93
 
94
 #ifndef FIL_RUNOUT_PIN
94
 #ifndef FIL_RUNOUT_PIN
95
-  #define FIL_RUNOUT_PIN            MT_DET_1_PIN
95
+  #define FIL_RUNOUT_PIN                    PA4   // MT_DET
96
 #endif
96
 #endif
97
 
97
 
98
 //
98
 //
217
 //
217
 //
218
 #if ENABLED(PSU_CONTROL)
218
 #if ENABLED(PSU_CONTROL)
219
   #define KILL_PIN                          PA2   // PW_DET
219
   #define KILL_PIN                          PA2   // PW_DET
220
-  #define KILL_PIN_STATE                   HIGH
220
+  #define KILL_PIN_STATE                    HIGH
221
   //#define PS_ON_PIN                       PA3   // PW_CN /PW_OFF
221
   //#define PS_ON_PIN                       PA3   // PW_CN /PW_OFF
222
 #endif
222
 #endif
223
 
223
 
224
 #if HAS_TFT_LVGL_UI
224
 #if HAS_TFT_LVGL_UI
225
   #define MT_DET_1_PIN                      PA4   // MT_DET
225
   #define MT_DET_1_PIN                      PA4   // MT_DET
226
   #define MT_DET_2_PIN                      PE6
226
   #define MT_DET_2_PIN                      PE6
227
-  #define MT_DET_PIN_STATE                  LOW
227
+  #define MT_DET_PIN_STATE                   LOW
228
 #endif
228
 #endif
229
 
229
 
230
 //
230
 //

+ 3
- 0
Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h View File

153
   #define FSMC_CS_PIN                       PD7   // NE4
153
   #define FSMC_CS_PIN                       PD7   // NE4
154
   #define FSMC_RS_PIN                       PD11  // A0
154
   #define FSMC_RS_PIN                       PD11  // A0
155
 
155
 
156
+  #define TFT_CS_PIN                 FSMC_CS_PIN
157
+  #define TFT_RS_PIN                 FSMC_RS_PIN
158
+
156
   #define LCD_USE_DMA_FSMC                        // Use DMA transfers to send data to the TFT
159
   #define LCD_USE_DMA_FSMC                        // Use DMA transfers to send data to the TFT
157
   #define FSMC_DMA_DEV                      DMA2
160
   #define FSMC_DMA_DEV                      DMA2
158
   #define FSMC_DMA_CHANNEL               DMA_CH5
161
   #define FSMC_DMA_CHANNEL               DMA_CH5

Loading…
Cancel
Save