|
@ -49,25 +49,21 @@ |
|
|
#define I2C_EEPROM |
|
|
#define I2C_EEPROM |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/* I2C */ |
|
|
|
|
|
#if ENABLED(I2C_EEPROM) |
|
|
#if ENABLED(I2C_EEPROM) |
|
|
#define IIC_EEPROM_SDA PB7 |
|
|
#define IIC_EEPROM_SDA PB7 |
|
|
#define IIC_EEPROM_SCL PB6 |
|
|
#define IIC_EEPROM_SCL PB6 |
|
|
|
|
|
|
|
|
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB
|
|
|
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB
|
|
|
#elif ENABLED(SDCARD_EEPROM_EMULATION) |
|
|
#elif ENABLED(SDCARD_EEPROM_EMULATION) |
|
|
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB
|
|
|
#define MARLIN_EEPROM_SIZE 0x1000 // 4KB
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define E2END (MARLIN_EEPROM_SIZE - 1) // 2KB
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|
// Limit Switches
|
|
|
// Limit Switches
|
|
|
//
|
|
|
//
|
|
|
|
|
|
|
|
|
#define X_STOP_PIN PC0 |
|
|
#define X_STOP_PIN PC0 |
|
|
#define Y_STOP_PIN PC1 |
|
|
#define Y_STOP_PIN PC1 |
|
|
#define Z_STOP_PIN PC14 // Endtop or Probe
|
|
|
#define Z_STOP_PIN PC14 // Endstop or Probe
|
|
|
|
|
|
|
|
|
#define FIL_RUNOUT_PIN PC15 |
|
|
#define FIL_RUNOUT_PIN PC15 |
|
|
|
|
|
|
|
@ -165,7 +161,7 @@ |
|
|
#if SD_CONNECTION_IS(ONBOARD) |
|
|
#if SD_CONNECTION_IS(ONBOARD) |
|
|
#define SD_DETECT_PIN PC4 |
|
|
#define SD_DETECT_PIN PC4 |
|
|
#define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card
|
|
|
#define ONBOARD_SD_CS_PIN PA4 // Chip select for "System" SD card
|
|
|
#define SDSS ONBOARD_SD_CS_PIN |
|
|
#define SDSS ONBOARD_SD_CS_PIN |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|