Clean up pins files

This commit is contained in:
Scott Lahteine 2018-11-14 00:23:18 -06:00
parent 1eb5249598
commit 664e20754d
46 changed files with 62 additions and 110 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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

View File

@ -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
//

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
//

View File

@ -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
//

View File

@ -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
*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

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

View File

@ -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"

View File

@ -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"

View File

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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
//