STM32F4 pins cleanup

This commit is contained in:
Scott Lahteine 2018-06-03 19:01:15 -05:00
parent c685c7b7dd
commit c16e41e9e6

View file

@ -27,12 +27,12 @@
#define DEFAULT_MACHINE_NAME "STM32F407VET6" #define DEFAULT_MACHINE_NAME "STM32F407VET6"
#define BOARD_NAME "STM32F4 Board" #define BOARD_NAME "STM32F4 Board"
// #define I2C_EEPROM //#define I2C_EEPROM
#define E2END 0xFFF // EEPROM end address (4kB) #define E2END 0xFFF // EEPROM end address (4kB)
// Ignore temp readings during develpment. // Ignore temp readings during develpment.
// #define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE //#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
#if E_STEPPERS > 2 || HOTENDS > 2 #if E_STEPPERS > 2 || HOTENDS > 2
#error "STM32F4 supports up to 2 hotends / E-steppers." #error "STM32F4 supports up to 2 hotends / E-steppers."
@ -52,9 +52,9 @@
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //
// #ifndef Z_MIN_PROBE_PIN //#ifndef Z_MIN_PROBE_PIN
// #define Z_MIN_PROBE_PIN PA4 // #define Z_MIN_PROBE_PIN PA4
// #endif //#endif
// //
// Steppers // Steppers
@ -63,37 +63,37 @@
#define X_STEP_PIN PD3 #define X_STEP_PIN PD3
#define X_DIR_PIN PD2 #define X_DIR_PIN PD2
#define X_ENABLE_PIN PD0 #define X_ENABLE_PIN PD0
// #ifndef X_CS_PIN //#ifndef X_CS_PIN
// #define X_CS_PIN PD1 // #define X_CS_PIN PD1
// #endif //#endif
#define Y_STEP_PIN PE11 #define Y_STEP_PIN PE11
#define Y_DIR_PIN PE10 #define Y_DIR_PIN PE10
#define Y_ENABLE_PIN PE13 #define Y_ENABLE_PIN PE13
// #ifndef Y_CS_PIN //#ifndef Y_CS_PIN
// #define Y_CS_PIN PE12 // #define Y_CS_PIN PE12
// #endif //#endif
#define Z_STEP_PIN PD6 #define Z_STEP_PIN PD6
#define Z_DIR_PIN PD7 #define Z_DIR_PIN PD7
#define Z_ENABLE_PIN PD4 #define Z_ENABLE_PIN PD4
// #ifndef Z_CS_PIN //#ifndef Z_CS_PIN
// #define Z_CS_PIN PD5 // #define Z_CS_PIN PD5
// #endif //#endif
#define E0_STEP_PIN PB5 #define E0_STEP_PIN PB5
#define E0_DIR_PIN PB6 #define E0_DIR_PIN PB6
#define E0_ENABLE_PIN PB3 #define E0_ENABLE_PIN PB3
// #ifndef E0_CS_PIN //#ifndef E0_CS_PIN
// #define E0_CS_PIN PB4 // #define E0_CS_PIN PB4
// #endif //#endif
#define E1_STEP_PIN PE4 #define E1_STEP_PIN PE4
#define E1_DIR_PIN PE2 #define E1_DIR_PIN PE2
#define E1_ENABLE_PIN PE3 #define E1_ENABLE_PIN PE3
// #ifndef E1_CS_PIN //#ifndef E1_CS_PIN
// #define E1_CS_PIN PE5 // #define E1_CS_PIN PE5
// #endif //#endif
#define SCK_PIN PA5 #define SCK_PIN PA5
#define MISO_PIN PA6 #define MISO_PIN PA6
@ -133,15 +133,15 @@
// Prusa i3 MK2 Multi Material Multiplexer Support // Prusa i3 MK2 Multi Material Multiplexer Support
// //
// #define E_MUX0_PIN PG3 //#define E_MUX0_PIN PG3
// #define E_MUX1_PIN PG4 //#define E_MUX1_PIN PG4
// //
// Servos // Servos
// //
// #define SERVO0_PIN PE13 //#define SERVO0_PIN PE13
// #define SERVO1_PIN PE14 //#define SERVO1_PIN PE14
#define SDSS PE7 #define SDSS PE7