Browse Source

🐛 Fix some BTT SKR2 pins (#22558)

BigTreeTech 2 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,13 +154,6 @@
154 154
 #endif
155 155
 
156 156
 //
157
-// NeoPixel LED
158
-//
159
-#ifndef NEOPIXEL_PIN
160
-  #define NEOPIXEL_PIN                      PE6
161
-#endif
162
-
163
-//
164 157
 // Control pin of driver/heater/fan power supply
165 158
 //
166 159
 #define SAFE_POWER_PIN                      PC13
@@ -512,6 +505,13 @@
512 505
 #endif
513 506
 
514 507
 //
508
+// NeoPixel LED
509
+//
510
+#ifndef NEOPIXEL_PIN
511
+  #define NEOPIXEL_PIN                      PE6
512
+#endif
513
+
514
+//
515 515
 // WIFI
516 516
 //
517 517
 

+ 1
- 0
ini/stm32f4.ini View File

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

Loading…
Cancel
Save