NEOPIXEL overridable on BTT SKR (#20797)

This commit is contained in:
Alexander D. Kanevskiy 2021-01-17 03:51:08 +02:00 committed by Scott Lahteine
parent 63e3117510
commit d814d8f954
4 changed files with 16 additions and 5 deletions

View File

@ -70,7 +70,9 @@
#endif #endif
// LED driving pin // LED driving pin
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN P1_24 #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
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PA8 #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"
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PC7 // LED driving 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
#ifndef NEOPIXEL_PIN
#define NEOPIXEL_PIN PA8 // LED driving pin #define NEOPIXEL_PIN PA8 // LED driving pin
#endif
#ifndef PS_ON_PIN
#define PS_ON_PIN PC13 // Power Supply Control #define PS_ON_PIN PC13 // Power Supply Control
#endif
#define FAN1_PIN PC7 #define FAN1_PIN PC7