Format some pins files
This commit is contained in:
committed by
Scott Lahteine
parent
9340a33980
commit
2c325c2a7d
@@ -40,116 +40,116 @@
|
||||
#define DEFAULT_MACHINE_NAME "STM32F407VET6"
|
||||
|
||||
//#define I2C_EEPROM
|
||||
//#define E2END 0x1FFF // 8KB
|
||||
//#define E2END 0x1FFF // 8KB
|
||||
#define SRAM_EEPROM_EMULATION
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN PC6
|
||||
#define SERVO1_PIN PC7
|
||||
#define SERVO0_PIN PC6
|
||||
#define SERVO1_PIN PC7
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN PC13
|
||||
#define X_MAX_PIN PA15
|
||||
#define Y_MIN_PIN PA5
|
||||
#define Y_MAX_PIN PD12
|
||||
#define Z_MIN_PIN PD14
|
||||
#define Z_MAX_PIN PD15
|
||||
#define X_MIN_PIN PC13
|
||||
#define X_MAX_PIN PA15
|
||||
#define Y_MIN_PIN PA5
|
||||
#define Y_MAX_PIN PD12
|
||||
#define Z_MIN_PIN PD14
|
||||
#define Z_MAX_PIN PD15
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN PC4
|
||||
#define X_DIR_PIN PA4
|
||||
#define X_ENABLE_PIN PE7
|
||||
#define X_STEP_PIN PC4
|
||||
#define X_DIR_PIN PA4
|
||||
#define X_ENABLE_PIN PE7
|
||||
|
||||
#define Y_STEP_PIN PE5
|
||||
#define Y_DIR_PIN PE2
|
||||
#define Y_ENABLE_PIN PE6
|
||||
#define Y_STEP_PIN PE5
|
||||
#define Y_DIR_PIN PE2
|
||||
#define Y_ENABLE_PIN PE6
|
||||
|
||||
#define Z_STEP_PIN PD5
|
||||
#define Z_DIR_PIN PD3
|
||||
#define Z_ENABLE_PIN PD6
|
||||
#define Z_STEP_PIN PD5
|
||||
#define Z_DIR_PIN PD3
|
||||
#define Z_ENABLE_PIN PD6
|
||||
|
||||
#define E0_STEP_PIN PD7
|
||||
#define E0_DIR_PIN PD0
|
||||
#define E0_ENABLE_PIN PB9
|
||||
#define E0_STEP_PIN PD7
|
||||
#define E0_DIR_PIN PD0
|
||||
#define E0_ENABLE_PIN PB9
|
||||
|
||||
#define E1_STEP_PIN PE0
|
||||
#define E1_DIR_PIN PE1
|
||||
#define E1_ENABLE_PIN PB8
|
||||
#define E1_STEP_PIN PE0
|
||||
#define E1_DIR_PIN PE1
|
||||
#define E1_ENABLE_PIN PB8
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN PC0 // T0
|
||||
#define TEMP_1_PIN PC1 // T1
|
||||
#define TEMP_BED_PIN PC2 // TB
|
||||
#define TEMP_0_PIN PC0 // T0
|
||||
#define TEMP_1_PIN PC1 // T1
|
||||
#define TEMP_BED_PIN PC2 // TB
|
||||
|
||||
#ifndef TEMP_CHAMBER_PIN
|
||||
#define TEMP_CHAMBER_PIN PC3 // TC
|
||||
#define TEMP_CHAMBER_PIN PC3 // TC
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN PA2 // Heater0
|
||||
#define HEATER_1_PIN PA3 // Heater1
|
||||
#define HEATER_BED_PIN PA1 // Hotbed
|
||||
#define HEATER_0_PIN PA2 // Heater0
|
||||
#define HEATER_1_PIN PA3 // Heater1
|
||||
#define HEATER_BED_PIN PA1 // Hotbed
|
||||
|
||||
#define FAN_PIN PE9 // Fan0
|
||||
#define FAN1_PIN PE11 // Fan1
|
||||
#define FAN2_PIN PE13 // Fan2
|
||||
#define FAN3_PIN PE14 // Fan3
|
||||
#define FAN_PIN PE9 // Fan0
|
||||
#define FAN1_PIN PE11 // Fan1
|
||||
#define FAN2_PIN PE13 // Fan2
|
||||
#define FAN3_PIN PE14 // Fan3
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define LED_PIN PA6
|
||||
//#define LED_PIN PA7
|
||||
#define KILL_PIN PB1
|
||||
#define LED_PIN PA6
|
||||
//#define LED_PIN PA7
|
||||
#define KILL_PIN PB1
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
//#define SD_DETECT_PIN PC5
|
||||
//#define SD_DETECT_PIN PA8 // SDIO SD_DETECT_PIN, external SDIO card reader only
|
||||
//#define SD_DETECT_PIN PC5
|
||||
//#define SD_DETECT_PIN PA8 // SDIO SD_DETECT_PIN, external SDIO card reader only
|
||||
|
||||
#define BEEPER_PIN PD10
|
||||
#define LCD_PINS_RS PE15
|
||||
#define LCD_PINS_ENABLE PD8
|
||||
#define LCD_PINS_D4 PE10
|
||||
#define LCD_PINS_D5 PE12
|
||||
#define LCD_PINS_D6 PD1
|
||||
#define LCD_PINS_D7 PE8
|
||||
#define BTN_ENC PD9
|
||||
#define BTN_EN1 PD4
|
||||
#define BTN_EN2 PD13
|
||||
#define BEEPER_PIN PD10
|
||||
#define LCD_PINS_RS PE15
|
||||
#define LCD_PINS_ENABLE PD8
|
||||
#define LCD_PINS_D4 PE10
|
||||
#define LCD_PINS_D5 PE12
|
||||
#define LCD_PINS_D6 PD1
|
||||
#define LCD_PINS_D7 PE8
|
||||
#define BTN_ENC PD9
|
||||
#define BTN_EN1 PD4
|
||||
#define BTN_EN2 PD13
|
||||
|
||||
#define DOGLCD_CS LCD_PINS_D5
|
||||
#define DOGLCD_A0 LCD_PINS_D6
|
||||
#define DOGLCD_CS LCD_PINS_D5
|
||||
#define DOGLCD_A0 LCD_PINS_D6
|
||||
|
||||
//
|
||||
// Onboard SD support
|
||||
//
|
||||
#define SDIO_D0_PIN PC8
|
||||
#define SDIO_D1_PIN PC9
|
||||
#define SDIO_D2_PIN PC10
|
||||
#define SDIO_D3_PIN PC11
|
||||
#define SDIO_CK_PIN PC12
|
||||
#define SDIO_CMD_PIN PD2
|
||||
#define SDIO_D0_PIN PC8
|
||||
#define SDIO_D1_PIN PC9
|
||||
#define SDIO_D2_PIN PC10
|
||||
#define SDIO_D3_PIN PC11
|
||||
#define SDIO_CK_PIN PC12
|
||||
#define SDIO_CMD_PIN PD2
|
||||
|
||||
#if !defined(SDCARD_CONNECTION) || SDCARD_CONNECTION == ONBOARD
|
||||
#define SDIO_SUPPORT // Use SDIO for onboard SD
|
||||
#define SDIO_SUPPORT // Use SDIO for onboard SD
|
||||
|
||||
#ifndef SDIO_SUPPORT
|
||||
#define SOFTWARE_SPI // Use soft SPI for onboard SD
|
||||
#define SDSS SDIO_D3_PIN
|
||||
#define SCK_PIN SDIO_CK_PIN
|
||||
#define MISO_PIN SDIO_D0_PIN
|
||||
#define MOSI_PIN SDIO_CMD_PIN
|
||||
#define SOFTWARE_SPI // Use soft SPI for onboard SD
|
||||
#define SDSS SDIO_D3_PIN
|
||||
#define SCK_PIN SDIO_CK_PIN
|
||||
#define MISO_PIN SDIO_D0_PIN
|
||||
#define MOSI_PIN SDIO_CMD_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user