Browse Source
Add HAS_PIN_27_BOARD for CREALITY_V4 (#20446)
Co-authored-by: ellensp <ellensp@hotmsil.com>
vanilla_fb_2.0.x
ellensp
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
6 deletions
-
Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
|
|
@ -48,17 +48,21 @@ |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(IIC_BL24CXX_EEPROM) |
|
|
|
#define IIC_EEPROM_SDA PA11 |
|
|
|
#define IIC_EEPROM_SCL PA12 |
|
|
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
|
|
|
|
#define IIC_EEPROM_SDA PA11 |
|
|
|
#define IIC_EEPROM_SCL PA12 |
|
|
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
|
|
|
|
#elif ENABLED(SDCARD_EEPROM_EMULATION) |
|
|
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
|
|
|
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
|
|
|
|
#endif |
|
|
|
|
|
|
|
//
|
|
|
|
// Servos
|
|
|
|
//
|
|
|
|
#define SERVO0_PIN PB0 // BLTouch OUT
|
|
|
|
#ifndef HAS_PIN_27_BOARD |
|
|
|
#define SERVO0_PIN PB0 // BLTouch OUT
|
|
|
|
#else |
|
|
|
#define SERVO0_PIN PC6 |
|
|
|
#endif |
|
|
|
|
|
|
|
//
|
|
|
|
// Limit Switches
|
|
|
@ -156,7 +160,9 @@ |
|
|
|
#define BTN_EN1 PB10 |
|
|
|
#define BTN_EN2 PB14 |
|
|
|
|
|
|
|
#define BEEPER_PIN PC6 |
|
|
|
#ifndef HAS_PIN_27_BOARD |
|
|
|
#define BEEPER_PIN PC6 |
|
|
|
#endif |
|
|
|
|
|
|
|
#elif ENABLED(VET6_12864_LCD) |
|
|
|
|
|
|
|