Apply spacing in pins files
This commit is contained in:
parent
4d533b9baa
commit
436e5b7ea3
76 changed files with 953 additions and 972 deletions
|
@ -33,7 +33,7 @@
|
|||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
||||
#define CASE_LIGHT_PIN 6 // must define it here or else RAMPS will define it
|
||||
#define CASE_LIGHT_PIN 6 // Define before RAMPS pins include
|
||||
#endif
|
||||
#define BOARD_NAME "Azteeg X3"
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
#undef SCL
|
||||
#if SERVO0_PIN == 7
|
||||
#undef SERVO0_PIN
|
||||
#def SERVO0_PIN 11
|
||||
#define SERVO0_PIN 11
|
||||
#endif
|
||||
#define SPINDLE_LASER_PWM_PIN 7 // MUST BE HARDWARE PWM
|
||||
#define SPINDLE_LASER_ENABLE_PIN 20 // Pin should have a pullup!
|
||||
|
|
|
@ -29,10 +29,9 @@
|
|||
#endif
|
||||
|
||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
||||
#define CASE_LIGHT_PIN 44 // must define it here or else RAMPS will define it
|
||||
#define CASE_LIGHT_PIN 44 // Define before RAMPS pins include
|
||||
#endif
|
||||
|
||||
|
||||
#define BOARD_NAME "Azteeg X3 Pro"
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
@ -162,7 +161,7 @@
|
|||
#undef SPINDLE_LASER_ENABLE_PIN
|
||||
#undef SPINDLE_DIR_PIN
|
||||
|
||||
#if ENABLED(SPINDLE_LASER_ENABLE) // use EXP2 header
|
||||
#if ENABLED(SPINDLE_LASER_ENABLE) // EXP2 header
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#undef BTN_EN2
|
||||
#define BTN_EN2 31 // need 7 for the spindle speed PWM
|
||||
|
|
0
Marlin/src/pins/pins_BRAINWAVE.h
Executable file → Normal file
0
Marlin/src/pins/pins_BRAINWAVE.h
Executable file → Normal file
0
Marlin/src/pins/pins_BRAINWAVE_PRO.h
Executable file → Normal file
0
Marlin/src/pins/pins_BRAINWAVE_PRO.h
Executable file → Normal file
|
@ -122,21 +122,21 @@
|
|||
#define TLC_XLAT_PIN 22
|
||||
#define TLC_DATA_PIN 24
|
||||
|
||||
// We also need to define pin to port number mapping for the 2560 to match the pins listed above. If you change the TLC pins, update this as well per the 2560 datasheet!
|
||||
// This currently only works with the RA Board.
|
||||
#define TLC_CLOCK_BIT 3 // bit 3 on port A
|
||||
#define TLC_CLOCK_PORT &PORTA // bit 3 on port A
|
||||
// We also need to define pin to port number mapping for the 2560 to match the pins listed above.
|
||||
// If you change the TLC pins, update this as well per the 2560 datasheet! This currently only works with the RA Board.
|
||||
#define TLC_CLOCK_BIT 3
|
||||
#define TLC_CLOCK_PORT &PORTA
|
||||
|
||||
#define TLC_BLANK_BIT 1 // bit 1 on port A
|
||||
#define TLC_BLANK_PORT &PORTA // bit 1 on port A
|
||||
#define TLC_BLANK_BIT 1
|
||||
#define TLC_BLANK_PORT &PORTA
|
||||
|
||||
#define TLC_DATA_BIT 2 // bit 2 on port A
|
||||
#define TLC_DATA_PORT &PORTA // bit 2 on port A
|
||||
#define TLC_DATA_BIT 2
|
||||
#define TLC_DATA_PORT &PORTA
|
||||
|
||||
#define TLC_XLAT_BIT 0 // bit 0 on port A
|
||||
#define TLC_XLAT_PORT &PORTA // bit 0 on port A
|
||||
#define TLC_XLAT_BIT 0
|
||||
#define TLC_XLAT_PORT &PORTA
|
||||
|
||||
// change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
|
||||
// Change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
|
||||
// Leave it at at least 1 if you have enabled RA_LIGHTING
|
||||
// The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module.
|
||||
#define NUM_TLCS 2
|
||||
|
@ -144,6 +144,6 @@
|
|||
// These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
|
||||
// Modify them according to your specific situation.
|
||||
// NOTE: the array should be 8 long for every TLC you have. These defaults assume (2) TLCs.
|
||||
#define TRANS_ARRAY {0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8} //forwards
|
||||
//#define TRANS_ARRAY {7, 6, 5, 4, 3, 2, 1, 0, 8, 9, 10, 11, 12, 13, 14, 15} //backwards
|
||||
#define TRANS_ARRAY { 0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8 } // forward
|
||||
//#define TRANS_ARRAY { 7, 6, 5, 4, 3, 2, 1, 0, 8, 9, 10, 11, 12, 13, 14, 15 } // backward
|
||||
#endif // RA_DISCO
|
||||
|
|
|
@ -98,4 +98,3 @@
|
|||
#define PS_ON_PIN 14 // Alex, does this work on the card?
|
||||
|
||||
// Alex extras from Gen3+
|
||||
|
||||
|
|
|
@ -48,9 +48,9 @@
|
|||
#undef FIL_RUNOUT_PIN
|
||||
|
||||
#define LCD_SDSS 31 // Smart Controller SD card reader (rather than the Melzi)
|
||||
#define LCD_PINS_RS 28 // st9720 CS
|
||||
#define LCD_PINS_ENABLE 17 // st9720 DAT
|
||||
#define LCD_PINS_D4 30 // st9720 CLK
|
||||
#define LCD_PINS_RS 28 // ST9720 CS
|
||||
#define LCD_PINS_ENABLE 17 // ST9720 DAT
|
||||
#define LCD_PINS_D4 30 // ST9720 CLK
|
||||
#define FIL_RUNOUT_PIN -1 // Uses Beeper/LED Pin Pulled to GND
|
||||
|
||||
// Alter timing for graphical display
|
||||
|
|
|
@ -35,9 +35,9 @@
|
|||
#undef BTN_EN2
|
||||
#undef BTN_ENC
|
||||
|
||||
#define LCD_PINS_RS 17 // st9720 CS
|
||||
#define LCD_PINS_ENABLE 16 // st9720 DAT
|
||||
#define LCD_PINS_D4 11 // st9720 CLK
|
||||
#define LCD_PINS_RS 17 // ST9720 CS
|
||||
#define LCD_PINS_ENABLE 16 // ST9720 DAT
|
||||
#define LCD_PINS_D4 11 // ST9720 CLK
|
||||
#define BTN_EN1 30
|
||||
#define BTN_EN2 29
|
||||
#define BTN_ENC 28
|
||||
|
|
|
@ -272,8 +272,6 @@
|
|||
#define SPINDLE_DIR_PIN 67 // K5
|
||||
|
||||
|
||||
|
||||
|
||||
// Check if all pins are defined in mega/pins_arduino.h
|
||||
#include <Arduino.h>
|
||||
static_assert(NUM_DIGITAL_PINS > MAX_PIN, "add missing pins to [arduino dir]/hardware/arduino/avr/variants/mega/pins_arduino.h based on fastio.h"
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
#define HEATER_BED_PIN 4 // won't compile
|
||||
#define TEMP_BED_PIN 50
|
||||
#define TEMP_0_PIN 51
|
||||
#define SPINDLE_LASER_ENABLE_PIN 52 // using A6 because it already has a pull up on it
|
||||
#define SPINDLE_LASER_ENABLE_PIN 52 // using A6 because it already has a pullup
|
||||
#define SPINDLE_LASER_PWM_PIN 3 // WARNING - LED & resistor pull up to +12/+24V stepper voltage
|
||||
#define SPINDLE_DIR_PIN 53
|
||||
#endif
|
||||
|
|
0
Marlin/src/pins/pins_PRINTRBOARD.h
Executable file → Normal file
0
Marlin/src/pins/pins_PRINTRBOARD.h
Executable file → Normal file
|
@ -44,17 +44,9 @@
|
|||
* 7 | 11
|
||||
*/
|
||||
|
||||
#if ENABLED(TARGET_LPC1768)
|
||||
#error "Oops! Set MOTHERBOARD to an LPC1768-based board when building for LPC1768."
|
||||
#elif defined(__STM32F1__)
|
||||
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
|
||||
#endif
|
||||
|
||||
#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768)
|
||||
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
||||
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_NAME
|
||||
#define BOARD_NAME "RAMPS 1.4"
|
||||
|
@ -547,10 +539,6 @@
|
|||
|
||||
#define ADC_KEYPAD_PIN 12
|
||||
|
||||
#elif ENABLED(AZSMZ_12864)
|
||||
|
||||
// Pins only defined for RAMPS_SMART currently
|
||||
|
||||
#else
|
||||
|
||||
// Beeper on AUX-4
|
||||
|
|
|
@ -129,7 +129,6 @@
|
|||
//#define ?? 6 // A6 - ( 0) - RXD0 - J4-4 & AUX-1
|
||||
#define FILWIDTH_PIN 7 // A7 - ( 1) - TXD0 - J4-5 & AUX-1
|
||||
|
||||
|
||||
//
|
||||
// Augmentation for auto-assigning RAMPS plugs
|
||||
//
|
||||
|
|
0
Marlin/src/pins/pins_SAV_MKI.h
Executable file → Normal file
0
Marlin/src/pins/pins_SAV_MKI.h
Executable file → Normal file
|
@ -280,4 +280,3 @@
|
|||
#define U_MIN_PIN -1
|
||||
#define V_MIN_PIN -1
|
||||
#define W_MIN_PIN -1
|
||||
|
||||
|
|
|
@ -289,4 +289,3 @@
|
|||
#define U_MIN_PIN -1
|
||||
#define V_MIN_PIN -1
|
||||
#define W_MIN_PIN -1
|
||||
|
||||
|
|
0
Marlin/src/pins/pins_TEENSY2.h
Executable file → Normal file
0
Marlin/src/pins/pins_TEENSY2.h
Executable file → Normal file
|
@ -72,7 +72,7 @@
|
|||
//
|
||||
#define STEPPER_ENABLE_PIN _STM32_PIN(PORTE, 0)
|
||||
|
||||
#define X_STEP_PIN _STM32_PIN(PORTC, 6) //96, 39 in arduino
|
||||
#define X_STEP_PIN _STM32_PIN(PORTC, 6) // 96, 39 in Arduino
|
||||
#define X_DIR_PIN _STM32_PIN(PORTC, 7)
|
||||
#define X_ENABLE_PIN _STM32_PIN(PORTC, 8)
|
||||
|
||||
|
@ -147,8 +147,8 @@
|
|||
// Misc. Functions
|
||||
//
|
||||
|
||||
//#define CASE_LIGHT_PIN_CI _STM32_PIN(PORTF, 13) //
|
||||
//#define CASE_LIGHT_PIN_DO _STM32_PIN(PORTF, 14) //
|
||||
//#define CASE_LIGHT_PIN_CI _STM32_PIN(PORTF, 13)
|
||||
//#define CASE_LIGHT_PIN_DO _STM32_PIN(PORTF, 14)
|
||||
//#define NEOPIXEL_PIN _STM32_PIN(PORTF, 13)
|
||||
|
||||
//
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 13 // untested
|
||||
#define SERVO0_PIN 13 // UNTESTED
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
|
|
Reference in a new issue