SKRmini support for Fysetc Mini Panel (#14319)
This commit is contained in:
committed by
Scott Lahteine
parent
bf64dd4db6
commit
75aeb41ab7
@ -28,8 +28,8 @@
|
||||
#define BOARD_NAME "BIGTREE SKR mini V1.1"
|
||||
#endif
|
||||
|
||||
//#define DISABLE_DEBUG
|
||||
#define DISABLE_JTAG
|
||||
//#define DISABLE_DEBUG
|
||||
#define DISABLE_JTAG
|
||||
|
||||
// Ignore temp readings during develpment.
|
||||
//#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
|
||||
@ -98,12 +98,11 @@
|
||||
* (MOSI) PB5 | · · | PB8 (BTN_EN2) (LCD_D5) PB7 | · · | PC13 (LCD_D4)
|
||||
* (SD_SS) PA15 | · · | PD2 (BTN_EN1) (LCD_RS) PC12 | · · | PB6 (LCD_EN)
|
||||
* (SCK) PB3 | · · | PB4 (MISO) (BTN_ENC) PC11 | · · | PC10 (BEEPER)
|
||||
*  ̄ ̄ ̄  ̄ ̄ ̄
|
||||
* ----- -----
|
||||
* EXP2 EXP1
|
||||
*/
|
||||
|
||||
#if ENABLED(ULTRA_LCD)
|
||||
|
||||
#define BEEPER_PIN PC10
|
||||
#define BTN_ENC PC11
|
||||
#define LCD_PINS_RS PC12
|
||||
@ -112,13 +111,46 @@
|
||||
#define BTN_EN2 PB8
|
||||
|
||||
#define LCD_PINS_ENABLE PB6
|
||||
#define LCD_PINS_D4 PC13
|
||||
|
||||
#if ENABLED(ULTIPANEL)
|
||||
#define LCD_PINS_D5 PB7
|
||||
#define LCD_PINS_D6 PC15
|
||||
#define LCD_PINS_D7 PC14
|
||||
#endif
|
||||
#if ENABLED(FYSETC_MINI_12864)
|
||||
|
||||
#define LCD_BACKLIGHT_PIN -1
|
||||
#define LCD_RESET_PIN PC13
|
||||
#define DOGLCD_A0 PC12
|
||||
#define DOGLCD_CS PB6
|
||||
#define DOGLCD_SCK PB3
|
||||
#define DOGLCD_MOSI PB5
|
||||
|
||||
#define FORCE_SOFT_SPI // SPI MODE3
|
||||
|
||||
#define LED_PIN PB7 // red pwm
|
||||
//#define LED_PIN PC15 // green
|
||||
//#define LED_PIN PC14 // blue
|
||||
|
||||
//#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
||||
// #ifndef RGB_LED_R_PIN
|
||||
// #define RGB_LED_R_PIN PB7
|
||||
// #endif
|
||||
// #ifndef RGB_LED_G_PIN
|
||||
// #define RGB_LED_G_PIN PC15
|
||||
// #endif
|
||||
// #ifndef RGB_LED_B_PIN
|
||||
// #define RGB_LED_B_PIN PC14
|
||||
// #endif
|
||||
//#elif ENABLED(FYSETC_MINI_12864_2_1)
|
||||
// #define NEOPIXEL_PIN PB7
|
||||
//#endif
|
||||
|
||||
#else // !FYSETC_MINI_12864
|
||||
|
||||
#define LCD_PINS_D4 PC13
|
||||
#if ENABLED(ULTIPANEL)
|
||||
#define LCD_PINS_D5 PB7
|
||||
#define LCD_PINS_D6 PC15
|
||||
#define LCD_PINS_D7 PC14
|
||||
#endif
|
||||
|
||||
#endif // !FYSETC_MINI_12864
|
||||
|
||||
#endif // ULTRA_LCD
|
||||
|
||||
|
Reference in New Issue
Block a user