Browse Source

🐛 Fix some BTT SKR2 pins (#22558)

BigTreeTech 4 years ago
parent
commit
feb6d2887e
No account linked to committer's email address
2 changed files with 8 additions and 7 deletions
  1. 7
    7
      Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h
  2. 1
    0
      ini/stm32f4.ini

+ 7
- 7
Marlin/src/pins/stm32f4/pins_BTT_SKR_V2_0_common.h View File

154
 #endif
154
 #endif
155
 
155
 
156
 //
156
 //
157
-// NeoPixel LED
158
-//
159
-#ifndef NEOPIXEL_PIN
160
-  #define NEOPIXEL_PIN                      PE6
161
-#endif
162
-
163
-//
164
 // Control pin of driver/heater/fan power supply
157
 // Control pin of driver/heater/fan power supply
165
 //
158
 //
166
 #define SAFE_POWER_PIN                      PC13
159
 #define SAFE_POWER_PIN                      PC13
512
 #endif
505
 #endif
513
 
506
 
514
 //
507
 //
508
+// NeoPixel LED
509
+//
510
+#ifndef NEOPIXEL_PIN
511
+  #define NEOPIXEL_PIN                      PE6
512
+#endif
513
+
514
+//
515
 // WIFI
515
 // WIFI
516
 //
516
 //
517
 
517
 

+ 1
- 0
ini/stm32f4.ini View File

207
                               -DUSE_USBHOST_HS -DUSE_USB_HS_IN_FS
207
                               -DUSE_USBHOST_HS -DUSE_USB_HS_IN_FS
208
                               -DUSBD_IRQ_PRIO=5 -DUSBD_IRQ_SUBPRIO=6
208
                               -DUSBD_IRQ_PRIO=5 -DUSBD_IRQ_SUBPRIO=6
209
                               -DHSE_VALUE=8000000U -DHAL_SD_MODULE_ENABLED
209
                               -DHSE_VALUE=8000000U -DHAL_SD_MODULE_ENABLED
210
+                              -DPIN_SERIAL3_RX=PD_9 -DPIN_SERIAL3_TX=PD_8
210
 
211
 
211
 #
212
 #
212
 # BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Media Share Support
213
 # BigTreeTech SKR V2.0 (STM32F407VGT6 ARM Cortex-M4) with USB Media Share Support

Loading…
Cancel
Save