1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 21:36:21 +00:00

Add HAS_PIN_27_BOARD for CREALITY_V4 (#20446)

Co-authored-by: ellensp <ellensp@hotmsil.com>
This commit is contained in:
ellensp 2020-12-13 07:59:17 +13:00 committed by GitHub
parent 087a6fea13
commit 2eab920935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)