NEOPIXEL overridable on BTT SKR (#20797)

This commit is contained in:
Alexander D. Kanevskiy 2021-01-17 03:51:08 +02:00 committed by GitHub
parent f7e2467da1
commit 0fef29b6e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 5 deletions

View File

@ -70,7 +70,9 @@
#endif #endif
// LED driving pin // LED driving pin
#define NEOPIXEL_PIN P1_24 #ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN P1_24
#endif
// //
// Power Loss Detection // Power Loss Detection

View File

@ -177,4 +177,7 @@
// Misc. Functions // Misc. Functions
// //
#define LED_CONTROL_PIN PA13 #define LED_CONTROL_PIN PA13
#define NEOPIXEL_PIN PA8
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PA8
#endif

View File

@ -25,7 +25,9 @@
#define BOARD_INFO_NAME "BTT SKR Mini E3 V1.2" #define BOARD_INFO_NAME "BTT SKR Mini E3 V1.2"
#define NEOPIXEL_PIN PC7 // LED driving pin #ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PC7 // LED driving pin
#endif
/** /**
* TMC2208/TMC2209 stepper drivers * TMC2208/TMC2209 stepper drivers

View File

@ -39,9 +39,13 @@
// Release PA13/PA14 (led, usb control) from SWD pins // Release PA13/PA14 (led, usb control) from SWD pins
#define DISABLE_DEBUG #define DISABLE_DEBUG
#define NEOPIXEL_PIN PA8 // LED driving pin #ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PA8 // LED driving pin
#endif
#define PS_ON_PIN PC13 // Power Supply Control #ifndef PS_ON_PIN
#define PS_ON_PIN PC13 // Power Supply Control
#endif
#define FAN1_PIN PC7 #define FAN1_PIN PC7