Browse Source

Clean up pins files

pull/1/head
Scott Lahteine 6 years ago
parent
commit
664e20754d
  1. 4
      Marlin/src/pins/pins_ANET_10.h
  2. 4
      Marlin/src/pins/pins_AZSMZ_MINI.h
  3. 6
      Marlin/src/pins/pins_AZTEEG_X5_GT.h
  4. 6
      Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h
  5. 4
      Marlin/src/pins/pins_BIQU_BQ111_A4.h
  6. 2
      Marlin/src/pins/pins_BRAINWAVE.h
  7. 2
      Marlin/src/pins/pins_BRAINWAVE_PRO.h
  8. 2
      Marlin/src/pins/pins_CHEAPTRONIC.h
  9. 2
      Marlin/src/pins/pins_CHEAPTRONICv2.h
  10. 2
      Marlin/src/pins/pins_CNCONTROLS_12.h
  11. 4
      Marlin/src/pins/pins_COHESION3D_MINI.h
  12. 4
      Marlin/src/pins/pins_COHESION3D_REMIX.h
  13. 6
      Marlin/src/pins/pins_EINSTART-S.h
  14. 2
      Marlin/src/pins/pins_EINSY_RAMBO.h
  15. 2
      Marlin/src/pins/pins_EINSY_RETRO.h
  16. 4
      Marlin/src/pins/pins_ESP32.h
  17. 6
      Marlin/src/pins/pins_FYSETC_F6_13.h
  18. 2
      Marlin/src/pins/pins_GEN3_PLUS.h
  19. 2
      Marlin/src/pins/pins_GEN7_CUSTOM.h
  20. 2
      Marlin/src/pins/pins_LEAPFROG.h
  21. 2
      Marlin/src/pins/pins_MEGATRONICS.h
  22. 2
      Marlin/src/pins/pins_MINITRONICS.h
  23. 20
      Marlin/src/pins/pins_MKS_SBASE.h
  24. 2
      Marlin/src/pins/pins_OMCA.h
  25. 2
      Marlin/src/pins/pins_OMCA_A.h
  26. 2
      Marlin/src/pins/pins_PRINTRBOARD.h
  27. 3
      Marlin/src/pins/pins_PRINTRBOARD_REVF.h
  28. 2
      Marlin/src/pins/pins_RADDS.h
  29. 4
      Marlin/src/pins/pins_RAMPS4DUE.h
  30. 4
      Marlin/src/pins/pins_RAMPS_DUO.h
  31. 2
      Marlin/src/pins/pins_RAMPS_FD_V1.h
  32. 2
      Marlin/src/pins/pins_RAMPS_FD_V2.h
  33. 2
      Marlin/src/pins/pins_RAMPS_OLD.h
  34. 4
      Marlin/src/pins/pins_RAMPS_PLUS.h
  35. 6
      Marlin/src/pins/pins_RAMPS_RE_ARM.h
  36. 4
      Marlin/src/pins/pins_RAMPS_SMART.h
  37. 4
      Marlin/src/pins/pins_RURAMPS4D_11.h
  38. 4
      Marlin/src/pins/pins_RURAMPS4D_13.h
  39. 6
      Marlin/src/pins/pins_SELENA_COMPACT.h
  40. 4
      Marlin/src/pins/pins_SILVER_GATE.h
  41. 6
      Marlin/src/pins/pins_SMOOTHIEBOARD.h
  42. 2
      Marlin/src/pins/pins_TEENSY2.h
  43. 2
      Marlin/src/pins/pins_TEENSYLU.h
  44. 4
      Marlin/src/pins/pins_TRIGORILLA_13.h
  45. 4
      Marlin/src/pins/pins_TRIGORILLA_14.h
  46. 5
      Marlin/src/pins/pins_ULTRATRONICS_PRO.h

4
Marlin/src/pins/pins_ANET_10.h

@ -92,9 +92,7 @@
#error "Oops! Select 'Anet V1.0', 'Anet V1.0 (Optiboot)' or 'Sanguino' in 'Tools > Board' and 'ATmega1284P' in 'Tools > Processor.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Anet"
#endif
#define BOARD_NAME "Anet 1.0"
//
// Limit Switches

4
Marlin/src/pins/pins_AZSMZ_MINI.h

@ -28,9 +28,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "AZSMZ MINI"
#endif
#define BOARD_NAME "AZSMZ MINI"
//
// Servos

6
Marlin/src/pins/pins_AZTEEG_X5_GT.h

@ -29,10 +29,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Azteeg X5 GT"
#define DEFAULT_WEBSITE_URL "https://www.panucatt.com/azteeg_X5_GT_reprap_3d_printer_controller_p/ax5gt.htm"
#endif
#define BOARD_NAME "Azteeg X5 GT"
#define DEFAULT_WEBSITE_URL "https://www.panucatt.com/azteeg_X5_GT_reprap_3d_printer_controller_p/ax5gt.htm"
//
// Set CPU

6
Marlin/src/pins/pins_AZTEEG_X5_MINI_WIFI.h

@ -29,10 +29,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Azteeg X5 MINI WIFI"
#define DEFAULT_WEBSITE_URL "http://www.panucatt.com/azteeg_X5_mini_reprap_3d_printer_controller_p/ax5mini.htm"
#endif
#define BOARD_NAME "Azteeg X5 MINI WIFI"
#define DEFAULT_WEBSITE_URL "http://www.panucatt.com/azteeg_X5_mini_reprap_3d_printer_controller_p/ax5mini.htm"
//
// LED

4
Marlin/src/pins/pins_BIQU_BQ111_A4.h

@ -34,9 +34,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "BIQU BQ111-A4"
#endif
#define BOARD_NAME "BIQU BQ111-A4"
//
// Limit Switches

2
Marlin/src/pins/pins_BRAINWAVE.h

@ -71,7 +71,7 @@
#error "Oops! Select 'AT90USB646_TEENSYPP' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Brainwave"
#define BOARD_NAME "Brainwave"
//
// Limit Switches

2
Marlin/src/pins/pins_BRAINWAVE_PRO.h

@ -78,7 +78,7 @@
#error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Brainwave Pro"
#define BOARD_NAME "Brainwave Pro"
//
// Limit Switches

2
Marlin/src/pins/pins_CHEAPTRONIC.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Cheaptronic v1.0"
#define BOARD_NAME "Cheaptronic v1.0"
//
// Limit Switches
//

2
Marlin/src/pins/pins_CHEAPTRONICv2.h

@ -30,7 +30,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Cheaptronic v2.0"
#define BOARD_NAME "Cheaptronic v2.0"
//
// Limit Switches

2
Marlin/src/pins/pins_CNCONTROLS_12.h

@ -6,7 +6,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#define BOARD_NAME "CN Controls V12"
#define BOARD_NAME "CN Controls V12"
//
// Limit Switches

4
Marlin/src/pins/pins_COHESION3D_MINI.h

@ -29,9 +29,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Cohesion3D Mini"
#endif
#define BOARD_NAME "Cohesion3D Mini"
//
// Servos

4
Marlin/src/pins/pins_COHESION3D_REMIX.h

@ -29,9 +29,7 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Cohesion3D ReMix"
#endif
#define BOARD_NAME "Cohesion3D ReMix"
//
// Servos

6
Marlin/src/pins/pins_EINSTART-S.h

@ -21,7 +21,7 @@
*/
/**
* Einstart S pin assignments
* Einstart-S pin assignments
* PCB Silkscreen: 3DPrinterCon_v3.5
*/
@ -37,9 +37,7 @@
#endif
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "EINSTART_S"
#endif
#define BOARD_NAME "Einstart-S"
//
// Limit Switches

2
Marlin/src/pins/pins_EINSY_RAMBO.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Einsy Rambo"
#define BOARD_NAME "Einsy Rambo"
//
// TMC2130 Configuration_adv defaults for EinsyRambo

2
Marlin/src/pins/pins_EINSY_RETRO.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Arduino Mega 2560 or Rambo' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Einsy Retro"
#define BOARD_NAME "Einsy Retro"
//
// TMC2130 Configuration_adv defaults for EinsyRetro

4
Marlin/src/pins/pins_ESP32.h

@ -24,9 +24,7 @@
* Espressif ESP32 (Tensilica Xtensa LX6) pin assignments
*/
#ifndef BOARD_NAME
#define BOARD_NAME "Espressif ESP32"
#endif
#define BOARD_NAME "Espressif ESP32"
//
// Limit Switches

6
Marlin/src/pins/pins_FYSETC_F6_13.h

@ -25,12 +25,10 @@
//
#ifndef __AVR_ATmega2560__
#error "Oops! Select 'FYSETC_F6' in 'Tools > Board.'"
#error "Oops! Select 'FYSETC F6' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "FYSETC_F6_13"
#endif
#define BOARD_NAME "FYSETC F6 1.3"
//
// Servos

2
Marlin/src/pins/pins_GEN3_PLUS.h

@ -54,7 +54,7 @@
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
#endif
#define BOARD_NAME "Gen3+"
#define BOARD_NAME "Gen3+"
//
// Limit Switches

2
Marlin/src/pins/pins_GEN7_CUSTOM.h

@ -58,7 +58,7 @@
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644', 'ATmega644P', or 'ATmega1284P' in 'Tools > Processor.'"
#endif
#define BOARD_NAME "Gen7 Custom"
#define BOARD_NAME "Gen7 Custom"
//
// Limit Switches

2
Marlin/src/pins/pins_LEAPFROG.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Mega 1280' or 'Mega 2560' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Leapfrog"
#define BOARD_NAME "Leapfrog"
//
// Limit Switches

2
Marlin/src/pins/pins_MEGATRONICS.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Megatronics"
#define BOARD_NAME "Megatronics"
//
// Limit Switches
//

2
Marlin/src/pins/pins_MINITRONICS.h

@ -39,7 +39,7 @@
#error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
#endif
#define BOARD_NAME "Minitronics v1.0 / v1.1"
#define BOARD_NAME "Minitronics v1.0/1.1"
//
// Limit Switches
//

20
Marlin/src/pins/pins_MKS_SBASE.h

@ -29,18 +29,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "MKS SBASE"
#define DEFAULT_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE"
#endif
// unused
/*
#define PIN_P0_27 P0_27 // EXP2/Onboard SD
#define PIN_P0_28 P0_28 // EXP2
#define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
#define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
*/
#define BOARD_NAME "MKS SBASE"
#define DEFAULT_WEBSITE_URL "https://github.com/makerbase-mks/MKS-SBASE"
#define LED_PIN P1_18 // Used as a status indicator
#define LED2_PIN P1_19
@ -303,6 +293,12 @@
#define E0_SERIAL_RX_PIN P0_26 // TH4
#endif
// UNUSED
#define PIN_P0_27 P0_27 // EXP2/Onboard SD
#define PIN_P0_28 P0_28 // EXP2
#define PIN_P0_02 P0_02 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
#define PIN_P0_03 P0_03 // AUX1 (Interrupt Capable/ADC/Serial Port 0)
/**
* PWMs
*

2
Marlin/src/pins/pins_OMCA.h

@ -80,7 +80,7 @@
#error "Oops! Select 'Sanguino' in 'Tools > Board' and 'ATmega644' or 'ATmega644P' in 'Tools > Processor.'"
#endif
#define BOARD_NAME "Final OMCA"
#define BOARD_NAME "Final OMCA"
//
// Limit Switches

2
Marlin/src/pins/pins_OMCA_A.h

@ -79,7 +79,7 @@
#error "Oops! Select 'Sanguino' in 'Tools > Board' and ATmega644 in 'Tools > Processor.'"
#endif
#define BOARD_NAME "Alpha OMCA"
#define BOARD_NAME "Alpha OMCA"
//
// Limit Switches

2
Marlin/src/pins/pins_PRINTRBOARD.h

@ -65,7 +65,7 @@
#error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Printrboard"
#define BOARD_NAME "Printrboard"
// Disable JTAG pins so they can be used for the Extrudrboard
#define DISABLE_JTAG

3
Marlin/src/pins/pins_PRINTRBOARD_REVF.h

@ -70,7 +70,8 @@
#error "USBCON should be defined by the platform for this board."
#endif
#define BOARD_NAME "Printrboard Rev.F"
#define BOARD_NAME "Printrboard Rev.F"
// Disable JTAG pins so EXP1 pins work correctly
// (Its pins are used for the Extrudrboard and filament sensor, for example).
#define DISABLE_JTAG

2
Marlin/src/pins/pins_RADDS.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif
#define BOARD_NAME "RADDS"
#define BOARD_NAME "RADDS"
//
// Servos

4
Marlin/src/pins/pins_RAMPS4DUE.h

@ -42,9 +42,7 @@
#error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RAMPS4DUE"
#endif
#define BOARD_NAME "RAMPS4DUE"
#define IS_RAMPS4DUE
#include "pins_RAMPS.h"

4
Marlin/src/pins/pins_RAMPS_DUO.h

@ -46,9 +46,7 @@
#error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RAMPS Duo"
#endif
#define BOARD_NAME "RAMPS Duo"
#define IS_RAMPS_DUO
#include "pins_RAMPS.h"

2
Marlin/src/pins/pins_RAMPS_FD_V1.h

@ -32,7 +32,7 @@
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RAMPS-FD"
#define BOARD_NAME "RAMPS-FD v1"
#endif
#define INVERTED_HEATER_PINS

2
Marlin/src/pins/pins_RAMPS_FD_V2.h

@ -27,7 +27,7 @@
* Use 1k thermistor tables
*/
#define BOARD_NAME "RAMPS-FD v2"
#define BOARD_NAME "RAMPS-FD v2"
#ifndef E0_CS_PIN
#define E0_CS_PIN 69 // moved from A13 to A15 on v2.2, if not earlier

2
Marlin/src/pins/pins_RAMPS_OLD.h

@ -28,7 +28,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#define BOARD_NAME "MEGA/RAMPS <1.2"
#define BOARD_NAME "RAMPS <1.2"
// Uncomment the following line for RAMPS v1.0
//#define RAMPS_V_1_0

4
Marlin/src/pins/pins_RAMPS_PLUS.h

@ -41,9 +41,7 @@
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RAMPS 1.4 Plus"
#endif
#define BOARD_NAME "RAMPS 1.4 Plus"
#define RAMPS_D8_PIN 10
#define RAMPS_D10_PIN 8

6
Marlin/src/pins/pins_RAMPS_RE_ARM.h

@ -34,15 +34,13 @@
*
*/
// numbers in parenthesis () are the mega2560 equivalent pin numbers
// Numbers in parentheses () are the corresponding mega2560 pin numbers
#ifndef TARGET_LPC1768
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Re-ARM RAMPS 1.4"
#endif
#define BOARD_NAME "Re-ARM RAMPS 1.4"
//
// Servos

4
Marlin/src/pins/pins_RAMPS_SMART.h

@ -63,9 +63,7 @@
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RAMPS-SMART"
#endif
#define BOARD_NAME "RAMPS-SMART"
#define IS_RAMPS_SMART
#include "pins_RAMPS.h"

4
Marlin/src/pins/pins_RURAMPS4D_11.h

@ -36,9 +36,7 @@
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RuRAMPS4Due v1.1"
#endif
#define BOARD_NAME "RuRAMPS4Due v1.1"
//
// Servos

4
Marlin/src/pins/pins_RURAMPS4D_13.h

@ -36,9 +36,7 @@
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "RuRAMPS4Due v1.3"
#endif
#define BOARD_NAME "RuRAMPS4Due v1.3"
//
// Servos

6
Marlin/src/pins/pins_SELENA_COMPACT.h

@ -29,10 +29,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Selena Compact"
#define DEFAULT_WEBSITE_URL "https://github.com/Ales2-k/Selena"
#endif
#define BOARD_NAME "Selena Compact"
#define DEFAULT_WEBSITE_URL "https://github.com/Ales2-k/Selena"
//
// Limit Switches

4
Marlin/src/pins/pins_SILVER_GATE.h

@ -24,9 +24,7 @@
#error "Oops! Select 'Silvergate' in 'Tools > Board.'"
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Silver Gate"
#endif
#define BOARD_NAME "Silver Gate"
#define X_STEP_PIN 43
#define X_DIR_PIN 44

6
Marlin/src/pins/pins_SMOOTHIEBOARD.h

@ -29,10 +29,8 @@
#error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
#endif
#ifndef BOARD_NAME
#define BOARD_NAME "Smoothieboard"
#define DEFAULT_WEBSITE_URL "http://smoothieware.org/smoothieboard"
#endif
#define BOARD_NAME "Smoothieboard"
#define DEFAULT_WEBSITE_URL "http://smoothieware.org/smoothieboard"
#undef F_CPU
#define F_CPU 120000000

2
Marlin/src/pins/pins_TEENSY2.h

@ -110,7 +110,7 @@
#error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Teensy++2.0"
#define BOARD_NAME "Teensy++2.0"
//
// Limit Switches

2
Marlin/src/pins/pins_TEENSYLU.h

@ -77,7 +77,7 @@
#error "Oops! Select 'Teensy++ 2.0' or 'Printrboard' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Teensylu"
#define BOARD_NAME "Teensylu"
//
// Limit Switch definitions that match the SCHEMATIC

4
Marlin/src/pins/pins_TRIGORILLA_13.h

@ -24,9 +24,7 @@
* Arduino Mega with RAMPS v1.3 for Anycubic
*/
#ifndef BOARD_NAME
#define BOARD_NAME "Anycubic RAMPS 1.3"
#endif
#define BOARD_NAME "Anycubic RAMPS 1.3"
#define IS_RAMPS_EFB
#define RAMPS_D9_PIN 44

4
Marlin/src/pins/pins_TRIGORILLA_14.h

@ -24,9 +24,7 @@
* Arduino Mega with RAMPS v1.4 for Anycubic
*/
#ifndef BOARD_NAME
#define BOARD_NAME "Anycubic RAMPS 1.4"
#endif
#define BOARD_NAME "Anycubic RAMPS 1.4"
// Labeled pins
#define TRIGORILLA_HEATER_BED_PIN 8

5
Marlin/src/pins/pins_ULTRATRONICS_PRO.h

@ -24,13 +24,12 @@
* ReprapWorld ULTRATRONICS v1.0
*/
#define KNOWN_BOARD
#define BOARD_NAME "Ultratronics v1.0"
#ifndef ARDUINO_ARCH_SAM
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
#endif
#define BOARD_NAME "Ultratronics v1.0"
//
// Servos
//

Loading…
Cancel
Save