Skip to content

Commit

Permalink
Add HAS_PIN_27_BOARD for CREALITY_V4 (#20446)
Browse files Browse the repository at this point in the history
Co-authored-by: ellensp <ellensp@hotmsil.com>
  • Loading branch information
2 people authored and thinkyhead committed Apr 29, 2021
1 parent d0c2b64 commit 5aebc9f
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Marlin/src/pins/stm32f1/pins_CREALITY_V4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 5aebc9f

Please sign in to comment.