aboutsummaryrefslogtreecommitdiff
path: root/Marlin/src/pins/sam
diff options
context:
space:
mode:
authorGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
committerGeorgiy Bondarenko <69736697+nehilo@users.noreply.github.com>2021-03-04 20:54:23 +0300
commite8701195e66f2d27ffe17fb514eae8173795aaf7 (patch)
tree9f519c4abf6556b9ae7190a6210d87ead1dfadde /Marlin/src/pins/sam
downloadkp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz
kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip
Initial commit
Diffstat (limited to 'Marlin/src/pins/sam')
-rw-r--r--Marlin/src/pins/sam/pins_ADSK.h207
-rw-r--r--Marlin/src/pins/sam/pins_ALLIGATOR_R2.h159
-rw-r--r--Marlin/src/pins/sam/pins_ARCHIM1.h206
-rw-r--r--Marlin/src/pins/sam/pins_ARCHIM2.h257
-rw-r--r--Marlin/src/pins/sam/pins_CNCONTROLS_15D.h138
-rw-r--r--Marlin/src/pins/sam/pins_DUE3DOM.h176
-rw-r--r--Marlin/src/pins/sam/pins_DUE3DOM_MINI.h179
-rw-r--r--Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h173
-rw-r--r--Marlin/src/pins/sam/pins_RADDS.h298
-rw-r--r--Marlin/src/pins/sam/pins_RAMPS4DUE.h57
-rw-r--r--Marlin/src/pins/sam/pins_RAMPS_DUO.h136
-rw-r--r--Marlin/src/pins/sam/pins_RAMPS_FD_V1.h239
-rw-r--r--Marlin/src/pins/sam/pins_RAMPS_FD_V2.h52
-rw-r--r--Marlin/src/pins/sam/pins_RAMPS_SMART.h110
-rw-r--r--Marlin/src/pins/sam/pins_RURAMPS4D_11.h278
-rw-r--r--Marlin/src/pins/sam/pins_RURAMPS4D_13.h260
-rw-r--r--Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h179
17 files changed, 3104 insertions, 0 deletions
diff --git a/Marlin/src/pins/sam/pins_ADSK.h b/Marlin/src/pins/sam/pins_ADSK.h
new file mode 100644
index 0000000..b0e171c
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_ADSK.h
@@ -0,0 +1,207 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * Arduino DUE Shield Kit (ADSK) pin assignments
+ */
+
+#define BOARD_INFO_NAME "ADSK"
+
+#if NOT_TARGET(__SAM3X8E__, __AVR_ATmega1280__, __AVR_ATmega2560__)
+ #error "Oops! Select 'Arduino Due or Mega' in 'Tools > Board.'"
+#endif
+
+/* CNC shield modifications:
+FROM THE BOTTOM CUT THE 5V PIN THAT GOES TO ARDUINO!!!
+On the top put jumper between 5V and 3V3 pins,
+ jumper between D12 and A.STEP, jumper between D13 and A.DIR
+*/
+
+/* CNC shield 3D printer connections:
+X,Y,Z steppers as normal
+A stepper for E0 extruder
+(X-)&(GND) - X limit
+(Y-)&(GND) - Y limit
+(Z-)&(GND) - Z limit
+(Abort)&(GND) - Extruder thermistor (also require pullup resistor 4.7K between "Abort" and
+ Vcc (now "5V" on the board but actual 3.3V because of jumper))
+(Hold)&(GND) - Bed thermistor (also require pullup resistor 4.7K between "Hold" and
+ Vcc (now "5V" on the board but actual 3.3V because of jumper))
+(CoolEn) - 3.3v signal to controll extruder heater MOSFET
+(Resume) - 3.3v signal to control heatbed MOSFET
+(SDA) - 3.3v signal to controll extruder fan
+(SCL) - 3.3v signal to controll extruder cooling fan
+*/
+
+/* CNC Shield pinout
+"Name on the board": DUE pin
+"Abort": Analog pin 0 or Digital pin 54
+"Hold": Analog pin 1 or Digital pin 55
+"Resume": Analog pin 2 or Digital pin 56
+"CoolEn": Analog pin 3 or Digital pin 57
+"SDA": Analog pin 4 or Digital pin 58
+"SCL": Analog pin 5 or Digital pin 59
+"E-STOP": Reset pin
+"RX": Digital pin 0
+"TX": Digital pin 1
+"X.STEP": Digital pin 2
+"Y.STEP": Digital pin 3
+"Z.STEP": Digital pin 4
+"X.DIR": Digital pin 5
+"Y.DIR": Digital pin 6
+"Z.DIR": Digital pin 7
+"EN": Digital pin 8
+"X+","X-": Digital pin 9
+"Y+","Y-": Digital pin 10
+"Z+","Z-": Digital pin 11
+"SpinEn": Digital pin 12 -> will be connected to A.STEP with jumper
+"SpinDir": Digital pin 13 -> will be connected to A.DIR with jumper
+*/
+
+//
+// Servos
+//
+#define SERVO0_PIN 61 // Analog pin 7, Digital pin 61
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 9
+#define Y_MIN_PIN 10
+#define Z_MIN_PIN 11
+
+#define Z_MIN_PROBE_PIN 62 // Analog pin 8, Digital pin 62
+
+//
+// Steppers
+//
+#define X_STEP_PIN 2
+#define X_DIR_PIN 5
+#define X_ENABLE_PIN 8
+
+#define Y_STEP_PIN 3
+#define Y_DIR_PIN 6
+#define Y_ENABLE_PIN 8
+
+#define Z_STEP_PIN 4
+#define Z_DIR_PIN 7
+#define Z_ENABLE_PIN 8
+
+#define E0_STEP_PIN 12
+#define E0_DIR_PIN 13
+#define E0_ENABLE_PIN 8
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 55 // "Hold": Analog pin 1, Digital pin 55
+#define HEATER_BED_PIN 57 // "CoolEn": Analog pin 3, Digital pin 57
+#define FAN_PIN 54 // "Abort": Analog pin 0, Digital pin 54
+#undef E0_AUTO_FAN_PIN
+#define E0_AUTO_FAN_PIN 56 // "Resume": Analog pin 2, Digital pin 56
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 4 // "SDA": Analog pin 4, Digital pin 58
+#define TEMP_BED_PIN 5 // "SCL": Analog pin 5, Digital pin 59
+
+//
+// Misc. Functions
+//
+#define SDSS 52
+
+#if ENABLED(ZONESTAR_LCD)
+
+ /**
+ * The 2004 LCD should be powered with 5V.
+ * The next LCD pins RS,D4,D5,D6,D7 have internal pull-ups to 5V and as result the 5V will be on these pins.
+ * Luckily these internal pull-ups have really high resistance and adding 33K pull-down resistors will create
+ * simple voltage divider that will bring the voltage down just slightly bellow 3.3V.
+ *
+ * This LCD also has buttons that connected to the same ADC pin with different voltage divider combinations.
+ * On the LCD panel there is internal pull-up resistor of the 4.7K connected to 5V.
+ * Connecting another 4.7K pull-down resistor between ADC pin and the GND
+ * will result in scaled values for voltage dividers and will bring them down to be always below 3.3V.
+ *
+ * For 2004 LCD to work with 3.3V board like Arduino DUE the next required:
+ * Pull-down resistors of 33K between each of LCD pins RS,D4,D5,D6,D7 and the GND.
+ * Pull-down resistor of 4.7K between ADC_KEYPAD_PIN and the GND
+ *
+ * All these modifications will still work with 5V based boards but require proper scaled ADC values
+ */
+
+ #ifdef __SAM3X8E__
+ #define AREF_VOLTS 3.3
+ #else
+ #define AREF_VOLTS 5.0
+ #endif
+
+ //
+ // LCD / Controller
+ //
+ #define LCD_PINS_ENABLE 14
+ #define LCD_PINS_RS 15
+ #define LCD_PINS_D4 16
+ #define LCD_PINS_D5 17
+ #define LCD_PINS_D6 18
+ #define LCD_PINS_D7 19
+ #define ADC_KEYPAD_PIN 6 //60 // Analog pin 6, Digital pin 60
+
+ /**
+ * The below defines will scale all the values to work properly on both
+ * 5V (Mega) and 3.3V (DUE) boards with all pull-up resistors added for 3.3V
+ */
+
+ #define ADC_BUTTONS_VALUE_SCALE (5.0/AREF_VOLTS) // The LCD module pullup voltage is 5.0V but ADC reference voltage is 3.3V
+
+ #define ADC_BUTTONS_R_PULLDOWN 4.7 // Moves voltage down to be bellow 3.3V instead of 5V
+ // the resistors values will be scaled because of 4.7K pulldown parallel resistor
+ #define _ADC_BUTTONS_R_SCALED(R) ((R) * (ADC_BUTTONS_R_PULLDOWN) / ((R) + ADC_BUTTONS_R_PULLDOWN))
+
+ // buttons pullup resistor
+ #define ADC_BUTTONS_R_PULLUP 4.7 // the resistor on the 2004 LCD panel
+ // buttons resistors with scaled values because of parallel pulldown resistor
+ #define ADC_BUTTONS_LEFT_R_PULLDOWN _ADC_BUTTONS_R_SCALED(0.47)
+ #define ADC_BUTTONS_RIGHT_R_PULLDOWN _ADC_BUTTONS_R_SCALED(4.7)
+ #define ADC_BUTTONS_UP_R_PULLDOWN _ADC_BUTTONS_R_SCALED(1.0)
+ #define ADC_BUTTONS_DOWN_R_PULLDOWN _ADC_BUTTONS_R_SCALED(10.0)
+ #define ADC_BUTTONS_MIDDLE_R_PULLDOWN _ADC_BUTTONS_R_SCALED(2.2)
+
+#endif // ZONESTAR_LCD
+
+/**
+ * RJ45 8 pins extruder connector
+ *
+ * 1 - GND (Please do not connect to the same GND as extruder heater to prevent ground offset voltage)
+ * 2 - thermistor
+ * 3 - SERVO PWM
+ * 4 - extruder heater
+ * 5 - FAN (print cooling)
+ * 6 - FAN (extruder cooling)
+ * 7 - Probe signal
+ * 8 - 5V
+ *
+ * Standard ethernet pairs: 1&2, 3&6, 4&5, 7&8
+ * Use CAT7 cable to have all pairs shielded
+ */
diff --git a/Marlin/src/pins/sam/pins_ALLIGATOR_R2.h b/Marlin/src/pins/sam/pins_ALLIGATOR_R2.h
new file mode 100644
index 0000000..b01d1aa
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_ALLIGATOR_R2.h
@@ -0,0 +1,159 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * Alligator Board R2
+ * https://reprap.org/wiki/Alligator_Board
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "Alligator Board R2"
+
+//
+// Servos
+//
+#define SERVO0_PIN 36
+#define SERVO1_PIN 40
+#define SERVO2_PIN 41
+#define SERVO3_PIN -1
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 33 // PC1
+#define X_MAX_PIN 34 // PC2
+#define Y_MIN_PIN 35 // PC3
+#define Y_MAX_PIN 37 // PC5
+#define Z_MIN_PIN 38 // PC6
+#define Z_MAX_PIN 39 // PC7
+
+//
+// Steppers
+//
+#define X_STEP_PIN 96 // PB24
+#define X_DIR_PIN 2 // PB25
+#define X_ENABLE_PIN 24 // PA15, motor RESET pin
+
+#define Y_STEP_PIN 94 // PB22
+#define Y_DIR_PIN 95 // PB23
+#define Y_ENABLE_PIN 24 // PA15, motor RESET pin
+
+#define Z_STEP_PIN 98 // PC27
+#define Z_DIR_PIN 3 // PC28
+#define Z_ENABLE_PIN 24 // PA15, motor RESET pin
+
+#define E0_STEP_PIN 5 // PC25
+#define E0_DIR_PIN 4 // PC26
+#define E0_ENABLE_PIN 24 // PA15, motor RESET pin
+
+#define E1_STEP_PIN 28 // PD3 on piggy
+#define E1_DIR_PIN 27 // PD2 on piggy
+#define E1_ENABLE_PIN 24 // PA15, motor RESET pin
+
+#define E2_STEP_PIN 11 // PD7 on piggy
+#define E2_DIR_PIN 29 // PD6 on piggy
+#define E2_ENABLE_PIN 24 // PA15, motor RESET pin
+
+#define E3_STEP_PIN 30 // PD9 on piggy
+#define E3_DIR_PIN 12 // PD8 on piggy
+#define E3_ENABLE_PIN 24 // PA15, motor RESET pin
+
+// Microstepping pins - Mapping not from fastio.h (?)
+#define X_MS1_PIN 99 // PC10
+#define Y_MS1_PIN 10 // PC29
+#define Z_MS1_PIN 44 // PC19
+#define E0_MS1_PIN 45 // PC18
+
+//#define MOTOR_FAULT_PIN 22 // PB26 , motor X-Y-Z-E0 motor FAULT
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 1 // Analog Input (PA24)
+#define TEMP_1_PIN 2 // Analog Input (PA23 on piggy)
+#define TEMP_2_PIN 3 // Analog Input (PA22 on piggy)
+#define TEMP_3_PIN 4 // Analog Input (PA6 on piggy)
+#define TEMP_BED_PIN 0 // Analog Input (PA16)
+
+//
+// Heaters / Fans
+//
+// Note that on the Due pin A0 on the board is channel 2 on the ARM chip
+#define HEATER_0_PIN 68 // PA1
+#define HEATER_1_PIN 8 // PC22 on piggy
+#define HEATER_2_PIN 9 // PC21 on piggy
+#define HEATER_3_PIN 97 // PC20 on piggy
+#define HEATER_BED_PIN 69 // PA0
+
+#ifndef FAN_PIN
+ #define FAN_PIN 92 // PA5
+#endif
+#define FAN1_PIN 31 // PA7
+
+//
+// Misc. Functions
+//
+#define SDSS 77 // PA28
+#define SD_DETECT_PIN 87 // PA29
+#define LED_RED_PIN 40 // PC8
+#define LED_GREEN_PIN 41 // PC9
+
+#define EXP_VOLTAGE_LEVEL_PIN 65
+
+#define SPI_CHAN_DAC 1
+
+#define DAC0_SYNC 53 // PB14
+#define DAC1_SYNC 6 // PC24
+
+// 64K SPI EEPROM
+#define SPI_EEPROM
+#define SPI_CHAN_EEPROM1 2
+#define SPI_EEPROM1_CS 25 // PD0
+
+// 2K SPI EEPROM
+#define SPI_EEPROM2_CS 26 // PD1
+
+// FLASH SPI
+// 32Mb
+#define SPI_FLASH_CS 23 // PA14
+
+//
+// LCD / Controller
+//
+#if IS_RRD_FG_SC
+ #define LCD_PINS_RS 18
+ #define LCD_PINS_ENABLE 15
+ #define LCD_PINS_D4 19
+ #define BEEPER_PIN 64
+ #undef UI_VOLTAGE_LEVEL
+ #define UI_VOLTAGE_LEVEL 1
+#endif
+
+#if IS_NEWPANEL
+ #define BTN_EN1 14
+ #define BTN_EN2 16
+ #define BTN_ENC 17
+#endif
diff --git a/Marlin/src/pins/sam/pins_ARCHIM1.h b/Marlin/src/pins/sam/pins_ARCHIM1.h
new file mode 100644
index 0000000..57bbeb6
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_ARCHIM1.h
@@ -0,0 +1,206 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * ARCHIM1 pin assignment
+ *
+ * The Archim 1.0 board requires Arduino Archim addons installed.
+ *
+ * - Add the following URL to Arduino IDE's Additional Board Manager URLs:
+ * https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json
+ *
+ * - In the Arduino IDE Board Manager search for Archim and install the package.
+ *
+ * - Change your target board to "Archim".
+ *
+ * Further information on the UltiMachine website...
+ * https://github.com/ultimachine/Archim/wiki
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Archim' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "Archim 1.0"
+
+//
+// Timers
+//
+// These are already defined in DUE, so must be undefined first
+#define STEP_TIMER_NUM 3
+#define HAL_STEP_TIMER_ISR() void TC3_Handler()
+
+//
+// Items marked * have been altered from Archim v1.0
+//
+
+//
+// Servos
+//
+#define SERVO0_PIN 20 // D20 PB12 (Header J20 20)
+#define SERVO1_PIN 21 // D21 PB13 (Header J20 19)
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 14 // PD4 MIN ES1
+#define X_MAX_PIN 32 // PD10 MAX ES1
+#define Y_MIN_PIN 29 // PD6 MIN ES2
+#define Y_MAX_PIN 15 // PD5 MAX ES2
+#define Z_MIN_PIN 31 // PA7 MIN ES3
+#define Z_MAX_PIN 30 // PD9 MAX ES3
+
+//
+// Z Probe (when not Z_MIN_PIN)
+//
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 32
+#endif
+
+#ifndef FIL_RUNOUT_PIN
+ #define FIL_RUNOUT_PIN 66 // D66 PB15 (Header J20 15)
+#endif
+#ifndef FIL_RUNOUT2_PIN
+ #define FIL_RUNOUT2_PIN 67 // D67 PB16 (Header J20 16)
+#endif
+
+//
+// Steppers
+//
+#define X_STEP_PIN 40 // PC8 STEP1 *
+#define X_DIR_PIN 59 // PA4 DIR1 *
+#define X_ENABLE_PIN 41 // PC9 EN1
+
+#define Y_STEP_PIN 49 // PC14 STEP2 *
+#define Y_DIR_PIN 47 // PC16 DIR2 *
+#define Y_ENABLE_PIN 48 // PC15 EN2 *
+
+#define Z_STEP_PIN 36 // PC4 STEP Z *
+#define Z_DIR_PIN 107 // PB10 DIR Z *
+#define Z_ENABLE_PIN 96 // PC10 EN Z -AddOns *
+
+#define E0_STEP_PIN 78 // PB23 STEP3 *
+#define E0_DIR_PIN 22 // PB26 DIR3 *
+#define E0_ENABLE_PIN 97 // PB24 EN3 -Addons *
+
+#define E1_STEP_PIN 26 // PD1 STEP4 *
+#define E1_DIR_PIN 27 // PD2 DIR4 *
+#define E1_ENABLE_PIN 28 // PD3 EN4 *
+
+// Microstepping mode pins *
+#define X_MS1_PIN 39 // PC7 MOD0E1 - As listed in schematic
+#define X_MS2_PIN 38 // PC6 MOD1E1
+#define X_MS3_PIN 37 // PC5 MOD2E1
+
+#define Y_MS1_PIN 50 // PC13 MODE0E2
+#define Y_MS2_PIN 51 // PC12 MODE1E2
+#define Y_MS3_PIN 92 // PC11 MODE2E2 - AddOns
+
+#define Z_MS1_PIN 44 // PC19 MOD0E Z
+#define Z_MS2_PIN 45 // PC18 MOD1E Z
+#define Z_MS3_PIN 46 // PC17 MOD2E Z
+
+#define E0_MS1_PIN 105 // PB22 MOD0E3 - AddOns
+#define E0_MS2_PIN 106 // PC27 MOD1E3 - AddOns
+#define E0_MS3_PIN 104 // PC20 MOD2E3 - AddOns
+
+#define E1_MS1_PIN 25 // PD0 MOD0E4
+#define E1_MS2_PIN 18 // PA11 MOD1E4
+#define E1_MS3_PIN 19 // PA10 MOD2E4
+
+// Motor current PWM pins *
+#define MOTOR_CURRENT_PWM_X_PIN 58 // PA6 X-REF TIOB2
+#define MOTOR_CURRENT_PWM_Y_PIN 12 // PD8 Y-REF TIOB8
+#define MOTOR_CURRENT_PWM_Z_PIN 10 // PC29 Z-REF TIOB7
+#define MOTOR_CURRENT_PWM_E0_PIN 3 // PC28 E1-REF TIOA7
+#define MOTOR_CURRENT_PWM_E1_PIN 11 // PD7 E2-REF TIOA8
+
+#define MOTOR_CURRENT_PWM_RANGE 2750 // (3.3 Volts * 100000 Ohms) / (100000 Ohms + 20000 Ohms) = 2.75 Volts (max vref)
+#define DEFAULT_PWM_MOTOR_CURRENT { 1000, 1000, 1000 } //, 1000, 1000} // X Y Z E0 E1, 1000 = 1000mAh
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 10 // D10 PB19 THERM AN1 *
+#define TEMP_1_PIN 9 // D9 PB18 THERM AN2 *
+#define TEMP_2_PIN 8 // D8 PB17 THERM AN4 *
+#define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 *
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 6 // D6 PC24 FET_PWM3
+#define HEATER_1_PIN 7 // D7 PC23 FET_PWM4
+#define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
+#define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
+
+#ifndef FAN_PIN
+ #define FAN_PIN 4 // D4 PC26 FET_PWM1
+#endif
+#define FAN1_PIN 5 // D5 PC25 FET_PWM2
+
+//
+// Misc. Functions
+//
+
+// Internal MicroSD card reader on the PCB
+#define INT_SCK_PIN 42 // D42 PA19/MCCK
+#define INT_MISO_PIN 43 // D43 PA20/MCCDA
+#define INT_MOSI_PIN 73 // D73 PA21/MCDA0
+#define INT_SDSS 55 // D55 PA24/MCDA3
+
+// External SD card reader on SC2
+#define SD_SCK_PIN 76 // D76 PA27
+#define SD_MISO_PIN 74 // D74 PA25
+#define SD_MOSI_PIN 75 // D75 PA26
+#define SDSS 87 // D87 PA29
+
+// 2MB SPI Flash
+#define SPI_FLASH_SS 52 // D52 PB21
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+ #define BEEPER_PIN 23 // D24 PA15_CTS1
+ #define LCD_PINS_RS 17 // D17 PA12_RXD1
+ #define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
+ #define LCD_PINS_D4 69 // D69 PA0_CANTX0
+ #define LCD_PINS_D5 54 // D54 PA16_SCK1
+ #define LCD_PINS_D6 68 // D68 PA1_CANRX0
+ #define LCD_PINS_D7 34 // D34 PC2_PWML0
+
+ #define SD_DETECT_PIN 2 // D2 PB25_TIOA0
+
+ #if IS_NEWPANEL
+ // Buttons on AUX-2
+ #define BTN_EN1 60 // D60 PA3_TIOB1
+ #define BTN_EN2 13 // D13 PB27_TIOB0
+ #define BTN_ENC 16 // D16 PA13_TXD1
+ #endif // IS_NEWPANEL
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
diff --git a/Marlin/src/pins/sam/pins_ARCHIM2.h b/Marlin/src/pins/sam/pins_ARCHIM2.h
new file mode 100644
index 0000000..3776cf8
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_ARCHIM2.h
@@ -0,0 +1,257 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * ARCHIM2 pin assignment
+ *
+ * The Archim 2.0 board requires Arduino Archim addons installed.
+ *
+ * - Add the following URL to Arduino IDE's Additional Board Manager URLs:
+ * https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json
+ *
+ * - In the Arduino IDE Board Manager search for Archim and install the package.
+ *
+ * - Change your target board to "Archim".
+ *
+ * Further information on the UltiMachine website...
+ * https://github.com/ultimachine/Archim/wiki
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Archim' in 'Tools > Board.'"
+#elif DISABLED(TMC_USE_SW_SPI)
+ #error "Archim2 requires Software SPI. Enable TMC_USE_SW_SPI in Configuration_adv.h."
+#endif
+
+#define BOARD_INFO_NAME "Archim 2.0"
+
+//
+// Items marked * have been altered from Archim v1.0
+//
+
+//
+// Servos
+//
+#define SERVO0_PIN 20 // D20 PB12 (Header J20 20)
+#define SERVO1_PIN 21 // D21 PB13 (Header J20 19)
+
+//
+// Limit Switches
+//
+
+#if ENABLED(SENSORLESS_HOMING)
+
+ // Only use Diag Pins when SENSORLESS_HOMING is enabled for the TMC2130 drivers.
+ // Otherwise use a physical endstop based configuration.
+
+ // TMC2130 Diag Pins
+ #define X_DIAG_PIN 59 // PA4
+ #define Y_DIAG_PIN 48 // PC15
+ #define Z_DIAG_PIN 36 // PC4
+ #define E0_DIAG_PIN 78 // PB23
+ #define E1_DIAG_PIN 25 // PD0
+
+ #if X_HOME_DIR < 0
+ #define X_MIN_PIN X_DIAG_PIN
+ #define X_MAX_PIN 32
+ #else
+ #define X_MIN_PIN 14
+ #define X_MAX_PIN X_DIAG_PIN
+ #endif
+
+ #if Y_HOME_DIR < 0
+ #define Y_MIN_PIN Y_DIAG_PIN
+ #define Y_MAX_PIN 15
+ #else
+ #define Y_MIN_PIN 29
+ #define Y_MAX_PIN Y_DIAG_PIN
+ #endif
+
+#else
+
+ #define X_MIN_PIN 14 // PD4 MIN ES1
+ #define X_MAX_PIN 32 // PD10 MAX ES1
+ #define Y_MIN_PIN 29 // PD6 MIN ES2
+ #define Y_MAX_PIN 15 // PD5 MAX ES2
+
+#endif
+
+#define Z_MIN_PIN 31 // PA7 MIN ES3
+#define Z_MAX_PIN 30 // PD9 MAX ES3
+
+//
+// Z Probe (when not Z_MIN_PIN)
+//
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 32
+#endif
+
+//
+// Steppers
+//
+#define X_STEP_PIN 38 // PC6 X-STEP *
+#define X_DIR_PIN 37 // PC5 X-DIR *
+#define X_ENABLE_PIN 41 // PC9 EN1
+#ifndef X_CS_PIN
+ #define X_CS_PIN 39 // PC7 X_nCS
+#endif
+
+#define Y_STEP_PIN 51 // PC12 Y-STEP *
+#define Y_DIR_PIN 92 // PC11 Y-DIR -AddOns *
+#define Y_ENABLE_PIN 49 // PC14 Y-EN *
+#ifndef Y_CS_PIN
+ #define Y_CS_PIN 50 // PC13 Y_nCS
+#endif
+
+#define Z_STEP_PIN 46 // PC17 Z-STEP *
+#define Z_DIR_PIN 47 // PC16 Z-DIR *
+#define Z_ENABLE_PIN 44 // PC19 Z-END *
+#ifndef Z_CS_PIN
+ #define Z_CS_PIN 45 // PC18 Z_nCS
+#endif
+
+#define E0_STEP_PIN 107 // PB10 E1-STEP -AddOns *
+#define E0_DIR_PIN 96 // PC10 E1-DIR -AddOns *
+#define E0_ENABLE_PIN 105 // PB22 E1-EN -AddOns *
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN 104 // PC20 E1_nCS -AddOns *
+#endif
+
+#define E1_STEP_PIN 22 // PB26 E2_STEP *
+#define E1_DIR_PIN 97 // PB24 E2_DIR -AddOns *
+#define E1_ENABLE_PIN 18 // PA11 E2-EN
+#ifndef E1_CS_PIN
+ #define E1_CS_PIN 19 // PA10 E2_nCS
+#endif
+
+//
+// Software SPI pins for TMC2130 stepper drivers.
+// Required for the Archim2 board.
+//
+#if ENABLED(TMC_USE_SW_SPI)
+ #ifndef TMC_SW_MOSI
+ #define TMC_SW_MOSI 28 // PD3
+ #endif
+ #ifndef TMC_SW_MISO
+ #define TMC_SW_MISO 26 // PD1
+ #endif
+ #ifndef TMC_SW_SCK
+ #define TMC_SW_SCK 27 // PD2
+ #endif
+#endif
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 10 // D10 PB19 THERM AN1 *
+#define TEMP_1_PIN 9 // D9 PB18 THERM AN2 *
+#define TEMP_2_PIN 8 // D8 PB17 THERM AN4 *
+#define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 *
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 6 // D6 PC24 FET_PWM3
+#define HEATER_1_PIN 7 // D7 PC23 FET_PWM4
+#define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
+#define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
+
+#ifndef FAN_PIN
+ #define FAN_PIN 4 // D4 PC26 FET_PWM1
+#endif
+#define FAN1_PIN 5 // D5 PC25 FET_PWM2
+
+//
+// Misc. Functions
+//
+
+// Internal MicroSD card reader on the PCB
+#define INT_SCK_PIN 42 // D42 PA19/MCCK
+#define INT_MISO_PIN 43 // D43 PA20/MCCDA
+#define INT_MOSI_PIN 73 // D73 PA21/MCDA0
+#define INT_SDSS 55 // D55 PA24/MCDA3
+
+// External SD card reader on SC2
+#define SD_SCK_PIN 76 // D76 PA27
+#define SD_MISO_PIN 74 // D74 PA25
+#define SD_MOSI_PIN 75 // D75 PA26
+#define SDSS 87 // D87 PA29
+
+// Unused Digital GPIO J20 Pins
+#define GPIO_PB1_J20_5 94 // D94 PB1 (Header J20 5)
+#define GPIO_PB0_J20_6 95 // D95 PB0 (Header J20 6)
+#define GPIO_PB3_J20_7 103 // D103 PB3 (Header J20 7)
+#define GPIO_PB2_J20_8 93 // D93 PB2 (Header J20 8)
+#define GPIO_PB6_J20_9 99 // D99 PB6 (Header J20 9)
+#define GPIO_PB5_J20_10 101 // D101 PB5 (Header J20 10)
+#define GPIO_PB8_J20_11 100 // D100 PB8 (Header J20 11)
+#define GPIO_PB4_J20_12 102 // D102 PB4 (Header J20 12)
+#define GPIO_PB9_J20_13 108 // D108 PB9 (Header J20 13)
+#define GPIO_PB7_J20_14 98 // D98 PB7 (Header J20 14)
+#define GPIO_PB15_J20_15 66 // D66 PB15 (Header J20 15)
+#define GPIO_PB16_J20_16 67 // D67 PB16 (Header J20 16)
+#define GPIO_PB14_J20_17 53 // D53 PB14 (Header J20 17)
+#define GPIO_PA18_J20_21 71 // D71 PA17 (Header J20 21)
+#define GPIO_PA17_J20_22 70 // D70 PA17 (Header J20 22)
+
+// Case Light
+
+#ifndef CASE_LIGHT_PIN
+ #define CASE_LIGHT_PIN GPIO_PB1_J20_5
+#endif
+
+// 2MB SPI Flash
+#define SPI_FLASH_SS 52 // D52 PB21
+
+//
+// Filament Runout Sensor
+//
+
+#ifndef FIL_RUNOUT_PIN
+ #define FIL_RUNOUT_PIN GPIO_PB15_J20_15
+#endif
+#ifndef FIL_RUNOUT2_PIN
+ #define FIL_RUNOUT2_PIN GPIO_PB16_J20_16
+#endif
+
+//
+// LCD / Controller
+//
+#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
+ #define BEEPER_PIN 23 // D24 PA15_CTS1
+ #define LCD_PINS_RS 17 // D17 PA12_RXD1
+ #define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
+ #define LCD_PINS_D4 69 // D69 PA0_CANTX0
+ #define LCD_PINS_D5 54 // D54 PA16_SCK1
+ #define LCD_PINS_D6 68 // D68 PA1_CANRX0
+ #define LCD_PINS_D7 34 // D34 PC2_PWML0
+
+ #define SD_DETECT_PIN 2 // D2 PB25_TIOA0
+#endif
+
+#if ANY(IS_ULTIPANEL, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
+ // Buttons on AUX-2
+ #define BTN_EN1 60 // D60 PA3_TIOB1
+ #define BTN_EN2 13 // D13 PB27_TIOB0
+ #define BTN_ENC 16 // D16 PA13_TXD1 // the click
+#endif
diff --git a/Marlin/src/pins/sam/pins_CNCONTROLS_15D.h b/Marlin/src/pins/sam/pins_CNCONTROLS_15D.h
new file mode 100644
index 0000000..5bf3145
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_CNCONTROLS_15D.h
@@ -0,0 +1,138 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+
+/**
+ * CNControls V15 for HMS434 with DUE pin assignments
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "CN Controls V15D"
+
+//
+// Servos
+//
+#define SERVO0_PIN 6
+
+//
+// Limit Switches
+//
+#define X_STOP_PIN 34
+#define Y_STOP_PIN 39
+#define Z_STOP_PIN 62
+
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 49
+#endif
+
+//
+// Steppers
+//
+#define X_STEP_PIN 14
+#define X_DIR_PIN 25
+#define X_ENABLE_PIN 26
+
+#define Y_STEP_PIN 11
+#define Y_DIR_PIN 12
+#define Y_ENABLE_PIN 15
+
+#define Z_STEP_PIN 24
+#define Z_DIR_PIN 27
+#define Z_ENABLE_PIN 28
+
+#define E0_STEP_PIN 64
+#define E0_DIR_PIN 65
+#define E0_ENABLE_PIN 63
+
+#define E1_STEP_PIN 8
+#define E1_DIR_PIN 7
+#define E1_ENABLE_PIN 29
+
+//
+// Temperature Sensors
+// Analog Inputs
+//
+#define TEMP_0_PIN 1
+#define TEMP_1_PIN 2
+#define TEMP_BED_PIN 4
+
+#ifndef TEMP_CHAMBER_PIN
+ #define TEMP_CHAMBER_PIN 5
+#endif
+
+//
+// Heaters
+//
+#define HEATER_0_PIN 3
+#define HEATER_1_PIN 4
+#define HEATER_BED_PIN 32
+#define HEATER_CHAMBER_PIN 33
+
+//
+// Fans
+//
+//#define FAN_PIN 8
+
+//
+// Auto fans
+//
+#define AUTO_FAN_PIN 30
+#ifndef E0_AUTO_FAN_PIN
+ #define E0_AUTO_FAN_PIN AUTO_FAN_PIN
+#endif
+#ifndef E1_AUTO_FAN_PIN
+ #define E1_AUTO_FAN_PIN AUTO_FAN_PIN
+#endif
+#ifndef E2_AUTO_FAN_PIN
+ #define E2_AUTO_FAN_PIN AUTO_FAN_PIN
+#endif
+#ifndef E3_AUTO_FAN_PIN
+ #define E3_AUTO_FAN_PIN AUTO_FAN_PIN
+#endif
+#ifndef CHAMBER_AUTO_FAN_PIN
+ #define CHAMBER_AUTO_FAN_PIN 10
+#endif
+
+//
+// SD card
+//
+#define SD_SCK_PIN 76
+#define SD_MISO_PIN 74
+#define SD_MOSI_PIN 75
+#define SDSS 53
+#define SD_DETECT_PIN 40
+
+// Common I/O
+
+//#define PWM_1_PIN 6 // probe
+//#define PWM_2_PIN 13
+//#define SPARE_IO 17
+#define BEEPER_PIN 13
+#define STAT_LED_BLUE_PIN -1
+#define STAT_LED_RED_PIN 31
+
+// G425 CALIBRATION_GCODE default pin
+#ifndef CALIBRATION_PIN
+ #define CALIBRATION_PIN 66
+#endif
diff --git a/Marlin/src/pins/sam/pins_DUE3DOM.h b/Marlin/src/pins/sam/pins_DUE3DOM.h
new file mode 100644
index 0000000..90d6bdc
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_DUE3DOM.h
@@ -0,0 +1,176 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * DUE3DOM pin assignments
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "DUE3DOM"
+
+//
+// Servos
+//
+#define SERVO0_PIN 5
+#define SERVO1_PIN 6
+#define SERVO2_PIN 13
+#define SERVO3_PIN -1
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 38
+#define X_MAX_PIN 36
+#define Y_MIN_PIN 34
+#define Y_MAX_PIN 32
+#define Z_MIN_PIN 30
+#define Z_MAX_PIN 28
+
+//
+// Steppers
+//
+#define X_STEP_PIN 2
+#define X_DIR_PIN 3
+#define X_ENABLE_PIN 22
+
+#define Y_STEP_PIN 17
+#define Y_DIR_PIN 16
+#define Y_ENABLE_PIN 26
+
+#define Z_STEP_PIN 61 // Z1 STP
+#define Z_DIR_PIN 60 // Z1 DIR
+#define Z_ENABLE_PIN 15 // Z1 ENA
+
+#define E0_STEP_PIN 64 // Z2 STP
+#define E0_DIR_PIN 63 // Z2 DIR
+#define E0_ENABLE_PIN 62 // Z2 ENA
+
+#define E1_STEP_PIN 51 // E1 STP
+#define E1_DIR_PIN 53 // E1 DIR
+#define E1_ENABLE_PIN 65 // E1 ENA
+
+#define E2_STEP_PIN 24 // E2 STP
+#define E2_DIR_PIN 23 // E2 DIR
+#define E2_ENABLE_PIN 49 // E2 ENA
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor)
+#define TEMP_1_PIN 2 // Analog Input (HOTEND1 thermistor)
+#define TEMP_2_PIN 5 // Analog Input (unused)
+#define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
+
+// SPI for Max6675 or Max31855 Thermocouple
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN -1
+#else
+ #define MAX6675_SS_PIN -1
+#endif
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 7 // HOTEND0 MOSFET
+#define HEATER_1_PIN 8 // HOTEND1 MOSFET
+#define HEATER_BED_PIN 39 // BED MOSFET
+
+#ifndef FAN_PIN
+ #define FAN_PIN 11 // FAN1 header on board - PRINT FAN
+#endif
+#define FAN1_PIN 9 // FAN2 header on board - CONTROLLER FAN
+#define FAN2_PIN 12 // FAN3 header on board - EXTRUDER0 FAN
+
+//
+// Misc. Functions
+//
+#define SDSS 4
+#define PS_ON_PIN 40
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+
+ #define LCD_PINS_RS 42
+ #define LCD_PINS_ENABLE 43
+ #define LCD_PINS_D4 44
+ #define LCD_PINS_D5 45
+ #define LCD_PINS_D6 46
+ #define LCD_PINS_D7 47
+
+ #if IS_RRD_SC
+
+ #define BEEPER_PIN 41
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+
+ #define SDSS 4
+ #define SD_DETECT_PIN 14
+
+ #elif ENABLED(RADDS_DISPLAY)
+
+ #define BEEPER_PIN 41
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+
+ #define BTN_BACK 71
+
+ #undef SDSS
+ #define SDSS 4
+ #define SD_DETECT_PIN 14
+
+ #elif HAS_U8GLIB_I2C_OLED
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+ #define BEEPER_PIN 41
+ #define LCD_SDSS 4
+ #define SD_DETECT_PIN 14
+
+ #elif ENABLED(SPARK_FULL_GRAPHICS)
+
+ #define LCD_PINS_D4 29
+ #define LCD_PINS_ENABLE 27
+ #define LCD_PINS_RS 25
+
+ #define BTN_EN1 35
+ #define BTN_EN2 33
+ #define BTN_ENC 37
+
+ #define BEEPER_PIN -1
+ #endif // SPARK_FULL_GRAPHICS
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
diff --git a/Marlin/src/pins/sam/pins_DUE3DOM_MINI.h b/Marlin/src/pins/sam/pins_DUE3DOM_MINI.h
new file mode 100644
index 0000000..5a20542
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_DUE3DOM_MINI.h
@@ -0,0 +1,179 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * DUE3DOM MINI pin assignments
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "DUE3DOM MINI"
+
+//
+// Servos
+//
+#define SERVO0_PIN 5
+#define SERVO1_PIN 6
+#define SERVO2_PIN 8 // 4-pin header FAN0
+#define SERVO3_PIN -1
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 38
+#define X_MAX_PIN -1
+#define Y_MIN_PIN 34
+#define Y_MAX_PIN -1
+#define Z_MIN_PIN 30
+#define Z_MAX_PIN -1
+
+//
+// Steppers
+//
+#define X_STEP_PIN 17
+#define X_DIR_PIN 16
+#define X_ENABLE_PIN 22
+
+#define Y_STEP_PIN 2
+#define Y_DIR_PIN 3
+#define Y_ENABLE_PIN 26
+
+#define Z_STEP_PIN 64
+#define Z_DIR_PIN 63
+#define Z_ENABLE_PIN 15
+
+#define E0_STEP_PIN 61
+#define E0_DIR_PIN 60
+#define E0_ENABLE_PIN 62
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor)
+#define TEMP_1_PIN 2 // Analog Input (unused)
+#define TEMP_2_PIN 5 // Analog Input (OnBoard thermistor beta 3950)
+#define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
+
+// SPI for Max6675 or Max31855 Thermocouple
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 53
+#else
+ #define MAX6675_SS_PIN 53
+#endif
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 13 // HOTEND0 MOSFET
+#define HEATER_BED_PIN 7 // BED MOSFET
+
+#ifndef FAN_PIN
+ #define FAN_PIN 11 // FAN1 header on board - PRINT FAN
+#endif
+#define FAN1_PIN 12 // FAN2 header on board - CONTROLLER FAN
+#define FAN2_PIN 9 // FAN3 header on board - EXTRUDER0 FAN
+//#define FAN3_PIN 8 // FAN0 4-pin header on board
+
+//
+// Misc. Functions
+//
+#define SDSS 4
+#define PS_ON_PIN 40
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+
+ #define LCD_PINS_RS 42
+ #define LCD_PINS_ENABLE 43
+ #define LCD_PINS_D4 44
+ #define LCD_PINS_D5 45
+ #define LCD_PINS_D6 46
+ #define LCD_PINS_D7 47
+
+ #if IS_RRD_SC
+
+ #define BEEPER_PIN 41
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+
+ #define SDSS 4
+ #define SD_DETECT_PIN 14
+
+ #elif ENABLED(RADDS_DISPLAY)
+
+ #define BEEPER_PIN 41
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+
+ #define BTN_BACK 71
+
+ #undef SDSS
+ #define SDSS 4
+ #define SD_DETECT_PIN 14
+
+ #elif HAS_U8GLIB_I2C_OLED
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+ #define BEEPER_PIN 41
+ #define LCD_SDSS 4
+ #define SD_DETECT_PIN 14
+
+ #elif ENABLED(SPARK_FULL_GRAPHICS)
+
+ #define LCD_PINS_D4 29
+ #define LCD_PINS_ENABLE 27
+ #define LCD_PINS_RS 25
+
+ #define BTN_EN1 35
+ #define BTN_EN2 33
+ #define BTN_ENC 37
+
+ #define BEEPER_PIN -1
+
+ #elif ENABLED(MINIPANEL)
+ #define BTN_EN1 52
+ #define BTN_EN2 50
+ #define BTN_ENC 48
+ #define LCD_SDSS 4
+ #define SD_DETECT_PIN 14
+ #define BEEPER_PIN 41
+ #define DOGLCD_A0 46
+ #define DOGLCD_CS 45
+
+ #endif // SPARK_FULL_GRAPHICS
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
diff --git a/Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h b/Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h
new file mode 100644
index 0000000..424d858
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_PRINTRBOARD_G2.h
@@ -0,0 +1,173 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * PRINTRBOARD_G2
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#ifndef BOARD_INFO_NAME
+ #define BOARD_INFO_NAME "Printrboard G2"
+#endif
+
+//
+// Servos
+//
+//#define SERVO0_PIN -1
+//#define SERVO1_PIN -1
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 22 // PB26
+#define Y_MAX_PIN 18 // PA11
+#define Z_MIN_PIN 19 // PA10
+
+//
+// Z Probe (when not Z_MIN_PIN)
+//
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 22
+#endif
+
+#ifndef FIL_RUNOUT_PIN
+ //#define FIL_RUNOUT_PIN 57 // PA22
+#endif
+#ifndef FIL_RUNOUT2_PIN
+ //#define FIL_RUNOUT2_PIN 21 // PB13
+#endif
+
+//
+// LED defines
+//
+//#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
+//#define NEOPIXEL_PIN 20 // LED driving pin on motherboard
+//#define NEOPIXEL_PIXELS 3 // Number of LEDs in the strip
+//#define SDA0 20 // PB12 NeoPixel pin I2C data
+//#define SCL0 21 // PB13 I2C clock
+
+// D0_12 #REF! (INDICATOR_LED)
+// B28 JTAG-CLK
+// B31 JTAG_TMS /SWD_DIO
+//A18 INTERRUPT_OUT
+//A12 USART_RX not used
+//A13 USART_TX not used
+//A14 UART_RTS
+//A15 UART_CTS
+//PB2 Unassigned
+//PB4 to PB9 Unassigned
+//#define UART_RX_PIN 0 // PA8 "RX0"
+//#define UART_TX_PIN 1 // PA9 "TX0"
+//#define UART_RTS_PIN 23 // PA14
+//#define UART_CTS_PIN 24 // PA15
+
+//
+// Steppers
+//
+#define Z_STEP_PIN 73 // PA21 MOTOR 1
+#define Z_DIR_PIN 75 // PA26
+#define Z_ENABLE_PIN 74 // PA25
+
+#define X_STEP_PIN 66 // PB15 MOTOR 2
+#define X_DIR_PIN 54 // PA16
+#define X_ENABLE_PIN 67 // PB16
+
+#define Y_STEP_PIN 34 // PA29 MOTOR 3
+#define Y_DIR_PIN 35 // PB1
+#define Y_ENABLE_PIN 36 // PB0
+
+#define E0_STEP_PIN 53 // PB14 MOTOR 4
+#define E0_DIR_PIN 78 // PB23
+#define E0_ENABLE_PIN 37 // PB22
+
+// Microstepping mode pins
+#define Z_MS1_PIN 52 // PB21 MODE0 MOTOR 1
+#define Z_MS2_PIN 52 // PB21 MODE1
+#define Z_MS3_PIN 65 // PB20 MODE2
+
+#define X_MS1_PIN 43 // PA20 MODE0 MOTOR 2
+#define X_MS2_PIN 43 // PA20 MODE1
+#define X_MS3_PIN 42 // PA19 MODE2
+
+#define Y_MS1_PIN 77 // PA28 MODE0 MOTOR 3
+#define Y_MS2_PIN 77 // PA28 MODE1
+#define Y_MS3_PIN 76 // PA27 MODE2
+
+#define E0_MS1_PIN 38 // PB11 MODE0 MOTOR 4
+#define E0_MS2_PIN 38 // PB11 MODE1
+#define E0_MS3_PIN 39 // PB10 MODE2
+
+// Motor current PWM pins
+#define MOTOR_CURRENT_PWM_X_PIN 62 // PB17 MOTOR 1
+#define MOTOR_CURRENT_PWM_Z_PIN 63 // PB18 MOTOR 2
+#define MOTOR_CURRENT_PWM_Y_PIN 64 // PB19 MOTOR 3
+#define MOTOR_CURRENT_PWM_E_PIN 61 // PA2 MOTOR 4
+
+#define DEFAULT_PWM_MOTOR_CURRENT { 300, 400, 1000} // XY Z E0, 1000 = 1000mAh
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 2 // digital 56 PA23
+#define TEMP_BED_PIN 5 // digital 59 PA4
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 40 // PA5
+#define HEATER_BED_PIN 41 // PB24
+
+#ifndef FAN_PIN
+ #define FAN_PIN 13 // PB27 Fan1A
+#endif
+#define FAN1_PIN 58 // PA6 Fan1B
+
+#define FET_SAFETY_PIN 31 // PA7 must be pulsed low every 50 mS or FETs are turned off
+#define FET_SAFETY_DELAY 50 // 50 mS delay between pulses
+#define FET_SAFETY_INVERTED true // true - negative going pulse of 2 uS
+
+/////////////////////////////////////////////////////////
+
+#define SD_MISO_PIN 68 // set to unused pins for now
+#define SD_MOSI_PIN 69 // set to unused pins for now
+#define SD_SCK_PIN 70 // set to unused pins for now
+#define SDSS 71 // set to unused pins for now
+
+/**
+ * G2 uses 8 pins that are not available in the DUE environment:
+ * 34 PA29 - Y_STEP_PIN
+ * 35 PB1 - Y_DIR_PIN
+ * 36 PB0 - Y_ENABLE_PIN
+ * 37 PB22 - E0_ENABLE_PIN
+ * 38 PB11 - E0_MS1_PIN - normally used by the USB native port
+ * 39 PB10 - E0_MS3_PIN - normally used by the USB native port
+ * 40 PA5 - HEATER_0_PIN
+ * 41 PB24 - HEATER_BED_PIN
+ *
+ * None of these are in the arduino_due_x variant so digitalWrite and digitalRead can't be used on them.
+ *
+ * They can be accessed via FASTIO functions WRITE, READ, OUT_WRITE, OUTPUT, ...
+ */
diff --git a/Marlin/src/pins/sam/pins_RADDS.h b/Marlin/src/pins/sam/pins_RADDS.h
new file mode 100644
index 0000000..7b9c7f1
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RADDS.h
@@ -0,0 +1,298 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * RADDS
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "RADDS"
+
+//
+// EEPROM
+//
+#if EITHER(NO_EEPROM_SELECTED, I2C_EEPROM)
+ #define I2C_EEPROM
+ #define MARLIN_EEPROM_SIZE 0x2000 // 8KB
+#endif
+
+//
+// Servos
+//
+#if !HAS_CUTTER
+ #define SERVO0_PIN 5
+#endif
+#define SERVO1_PIN 6
+#define SERVO2_PIN 39
+#define SERVO3_PIN 40
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 28
+#define X_MAX_PIN 34
+#define Y_MIN_PIN 30
+#define Y_MAX_PIN 36
+#define Z_MIN_PIN 32
+#define Z_MAX_PIN 38
+
+//
+// Z Probe (when not Z_MIN_PIN)
+//
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 38
+#endif
+
+//
+// Steppers
+//
+#define X_STEP_PIN 24
+#define X_DIR_PIN 23
+#define X_ENABLE_PIN 26
+#ifndef X_CS_PIN
+ #define X_CS_PIN 25
+#endif
+
+#define Y_STEP_PIN 17
+#define Y_DIR_PIN 16
+#define Y_ENABLE_PIN 22
+#ifndef Y_CS_PIN
+ #define Y_CS_PIN 27
+#endif
+
+#define Z_STEP_PIN 2
+#define Z_DIR_PIN 3
+#define Z_ENABLE_PIN 15
+#ifndef Z_CS_PIN
+ #define Z_CS_PIN 29
+#endif
+
+#define E0_STEP_PIN 61
+#define E0_DIR_PIN 60
+#define E0_ENABLE_PIN 62
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN 31
+#endif
+
+#define E1_STEP_PIN 64
+#define E1_DIR_PIN 63
+#define E1_ENABLE_PIN 65
+#ifndef E1_CS_PIN
+ #define E1_CS_PIN 33
+#endif
+
+#define E2_STEP_PIN 51
+#define E2_DIR_PIN 53
+#define E2_ENABLE_PIN 49
+#ifndef E2_CS_PIN
+ #define E2_CS_PIN 35
+#endif
+
+/**
+ * RADDS Extension Board V2 / V3
+ * http://doku.radds.org/dokumentation/extension-board
+ */
+//#define RADDS_EXTENSION 2
+#if RADDS_EXTENSION >= 2
+ #define E3_DIR_PIN 33
+ #define E3_STEP_PIN 35
+ #define E3_ENABLE_PIN 37
+ #ifndef E3_CS_PIN
+ #define E3_CS_PIN 6
+ #endif
+
+ #if RADDS_EXTENSION == 3
+
+ #define E4_DIR_PIN 27
+ #define E4_STEP_PIN 29
+ #define E4_ENABLE_PIN 31
+ #ifndef E4_CS_PIN
+ #define E4_CS_PIN 39
+ #endif
+
+ #define E5_DIR_PIN 66
+ #define E5_STEP_PIN 67
+ #define E5_ENABLE_PIN 68
+ #ifndef E5_CS_PIN
+ #define E5_CS_PIN 6
+ #endif
+
+ #define RADDS_EXT_MSI_PIN 69
+
+ #define BOARD_INIT() OUT_WRITE(RADDS_EXT_VDD_PIN, HIGH)
+
+ #else
+
+ #define E4_DIR_PIN 27
+ #define E4_STEP_PIN 29
+ #define E4_ENABLE_PIN 31
+ #ifndef E4_CS_PIN
+ #define E4_CS_PIN 39
+ #endif
+
+ // E3 and E4 share the same MSx pins
+ #define E3_MS1_PIN 67
+ #define E4_MS1_PIN 67
+ #define E3_MS2_PIN 68
+ #define E4_MS2_PIN 68
+ #define E3_MS3_PIN 69
+ #define E4_MS3_PIN 69
+
+ #define RADDS_EXT_VDD2_PIN 66
+
+ #define BOARD_INIT() do{ OUT_WRITE(RADDS_EXT_VDD_PIN, HIGH); OUT_WRITE(RADDS_EXT_VDD2_PIN, HIGH); }while(0)
+
+ #endif
+
+ #define RADDS_EXT_VDD_PIN 25
+
+#endif
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 0 // Analog Input
+#define TEMP_1_PIN 1 // Analog Input
+#define TEMP_2_PIN 2 // Analog Input
+#define TEMP_3_PIN 3 // Analog Input
+#define TEMP_4_PIN 5 // dummy so will compile when PINS_DEBUGGING is enabled
+#define TEMP_BED_PIN 4 // Analog Input
+
+// SPI for Max6675 or Max31855 Thermocouple
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 53
+#else
+ #define MAX6675_SS_PIN 49
+#endif
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 13
+#define HEATER_1_PIN 12
+#define HEATER_2_PIN 11
+#if !HAS_CUTTER
+ #define HEATER_BED_PIN 7 // BED
+#endif
+
+#ifndef FAN_PIN
+ #define FAN_PIN 9
+#endif
+#define FAN1_PIN 8
+
+//
+// Misc. Functions
+//
+#define SD_DETECT_PIN 14
+#define PS_ON_PIN 40 // SERVO3_PIN
+
+#ifndef FIL_RUNOUT_PIN
+ #define FIL_RUNOUT_PIN 39 // SERVO2_PIN
+#endif
+
+//
+// M3/M4/M5 - Spindle/Laser Control
+//
+#if HAS_CUTTER
+ #if !NUM_SERVOS
+ #define SPINDLE_LASER_PWM_PIN 5 // SERVO0_PIN
+ #endif
+ #define SPINDLE_LASER_ENA_PIN 7 // HEATER_BED_PIN - Pullup/down!
+#endif
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+
+ #if ENABLED(RADDS_DISPLAY)
+
+ #define LCD_PINS_RS 42
+ #define LCD_PINS_ENABLE 43
+ #define LCD_PINS_D4 44
+ #define LCD_PINS_D5 45
+ #define LCD_PINS_D6 46
+ #define LCD_PINS_D7 47
+
+ #define BEEPER_PIN 41
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+
+ #define BTN_BACK 71
+
+ #define SDSS 10
+ #define SD_DETECT_PIN 14
+
+ #elif IS_RRD_FG_SC
+
+ // The REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER requires
+ // an adapter such as https://www.thingiverse.com/thing:1740725
+
+ #define LCD_PINS_RS 42
+ #define LCD_PINS_ENABLE 43
+ #define LCD_PINS_D4 44
+
+ #define BEEPER_PIN 41
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+
+ #define SDSS 10
+ #define SD_DETECT_PIN 14
+
+ #elif HAS_U8GLIB_I2C_OLED
+
+ #define BTN_EN1 50
+ #define BTN_EN2 52
+ #define BTN_ENC 48
+ #define BEEPER_PIN 41
+ #define LCD_SDSS 10
+ #define SD_DETECT_PIN 14
+
+ #elif ENABLED(SPARK_FULL_GRAPHICS)
+
+ #define LCD_PINS_D4 29
+ #define LCD_PINS_ENABLE 27
+ #define LCD_PINS_RS 25
+
+ #define BTN_EN1 35
+ #define BTN_EN2 33
+ #define BTN_ENC 37
+
+ #endif // SPARK_FULL_GRAPHICS
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
+
+#ifndef SDSS
+ #define SDSS 4
+#endif
diff --git a/Marlin/src/pins/sam/pins_RAMPS4DUE.h b/Marlin/src/pins/sam/pins_RAMPS4DUE.h
new file mode 100644
index 0000000..5454833
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RAMPS4DUE.h
@@ -0,0 +1,57 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * Arduino Mega or Due with RAMPS4DUE pin assignments
+ *
+ * Applies to the following boards:
+ *
+ * RAMPS4DUE_EFB (Hotend, Fan, Bed)
+ * RAMPS4DUE_EEB (Hotend0, Hotend1, Bed)
+ * RAMPS4DUE_EFF (Hotend, Fan0, Fan1)
+ * RAMPS4DUE_EEF (Hotend0, Hotend1, Fan)
+ * RAMPS4DUE_SF (Spindle, Controller Fan)
+ *
+ * Differences between
+ * RAMPS_14 | RAMPS4DUE
+ * A13 | A9/D63 (shares the same pin with AUX2_4PIN)
+ * A14 | A10/D64 (shares the same pin with AUX2_5PIN)
+ * A15 | NC
+ */
+
+#if NOT_TARGET(__SAM3X8E__, __AVR_ATmega2560__)
+ #error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "RAMPS4DUE"
+
+#define IS_RAMPS4DUE
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 9 // Analog Input
+#define TEMP_1_PIN -1 // Analog Input
+#define TEMP_BED_PIN 10 // Analog Input
+
+#include "../ramps/pins_RAMPS.h"
diff --git a/Marlin/src/pins/sam/pins_RAMPS_DUO.h b/Marlin/src/pins/sam/pins_RAMPS_DUO.h
new file mode 100644
index 0000000..d2ab5c9
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RAMPS_DUO.h
@@ -0,0 +1,136 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * Arduino Mega or Due with RAMPS Duo pin assignments
+ *
+ * Applies to the following boards:
+ *
+ * RAMPS_DUO_EFB (Hotend, Fan, Bed)
+ * RAMPS_DUO_EEB (Hotend0, Hotend1, Bed)
+ * RAMPS_DUO_EFF (Hotend, Fan0, Fan1)
+ * RAMPS_DUO_EEF (Hotend0, Hotend1, Fan)
+ * RAMPS_DUO_SF (Spindle, Controller Fan)
+ *
+ * Differences between
+ * RAMPS_14 | RAMPS_DUO
+ * A9/D63 | A12/D66
+ * A10/D64 | A13/D67
+ * A11/D65 | A14/D68
+ * A12/D66 | A15/D69
+ * A13 | A9
+ * A14 | A10
+ * A15 | A11
+ */
+
+#if NOT_TARGET(__SAM3X8E__, __AVR_ATmega2560__)
+ #error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "RAMPS Duo"
+
+#define IS_RAMPS_DUO
+
+#include "../ramps/pins_RAMPS.h"
+
+//
+// Temperature Sensors
+//
+#undef TEMP_0_PIN
+#define TEMP_0_PIN 9 // Analog Input
+
+#undef TEMP_1_PIN
+#define TEMP_1_PIN 11 // Analog Input
+
+#undef TEMP_BED_PIN
+#define TEMP_BED_PIN 10 // Analog Input
+
+// SPI for Max6675 or Max31855 Thermocouple
+#undef MAX6675_SS_PIN
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 69 // Don't use 53 if using Display/SD card
+#else
+ #define MAX6675_SS_PIN 69 // Don't use 49 (SD_DETECT_PIN)
+#endif
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+
+ #if BOTH(IS_NEWPANEL, PANEL_ONE)
+ #undef LCD_PINS_D4
+ #define LCD_PINS_D4 68
+
+ #undef LCD_PINS_D5
+ #define LCD_PINS_D5 69
+
+ #undef LCD_PINS_D7
+ #define LCD_PINS_D7 67
+ #endif
+
+ #if IS_NEWPANEL
+
+ #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
+
+ #undef BTN_EN1
+ #define BTN_EN1 67
+
+ #undef BTN_ENC
+ #define BTN_ENC 66
+
+ #elif ENABLED(MINIPANEL)
+
+ #undef DOGLCD_CS
+ #define DOGLCD_CS 69
+
+ #undef LCD_BACKLIGHT_PIN
+ #define LCD_BACKLIGHT_PIN 68 // backlight LED on A14/D68
+
+ #undef KILL_PIN
+ #define KILL_PIN 67
+
+ #undef BTN_EN2
+ #define BTN_EN2 66
+
+ #else
+
+ #if IS_RRW_KEYPAD
+ #undef BTN_EN1
+ #define BTN_EN1 67 // encoder
+
+ #undef BTN_ENC
+ #define BTN_ENC 66 // enter button
+ #elif ENABLED(PANEL_ONE)
+ #undef BTN_EN2
+ #define BTN_EN2 66 // AUX2 PIN 4
+ #endif
+ #endif
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+ #endif // IS_NEWPANEL
+
+#endif // HAS_WIRED_LCD
diff --git a/Marlin/src/pins/sam/pins_RAMPS_FD_V1.h b/Marlin/src/pins/sam/pins_RAMPS_FD_V1.h
new file mode 100644
index 0000000..80e8f0d
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RAMPS_FD_V1.h
@@ -0,0 +1,239 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * RAMPS-FD
+ *
+ * No EEPROM
+ * Use 4k7 thermistor tables
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#ifndef BOARD_INFO_NAME
+ #define BOARD_INFO_NAME "RAMPS-FD v1"
+#endif
+
+#define INVERTED_HEATER_PINS
+#define INVERTED_BED_PINS
+#define INVERTED_FAN_PINS
+
+//
+// Servos
+//
+#define SERVO0_PIN 7
+#define SERVO1_PIN 6
+#define SERVO2_PIN 5
+#define SERVO3_PIN 3
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 22
+#define X_MAX_PIN 30
+#define Y_MIN_PIN 24
+#define Y_MAX_PIN 38
+#define Z_MIN_PIN 26
+#define Z_MAX_PIN 34
+
+//
+// Steppers
+//
+#define X_STEP_PIN 63
+#define X_DIR_PIN 62
+#define X_ENABLE_PIN 48
+#ifndef X_CS_PIN
+ #define X_CS_PIN 68
+#endif
+
+#define Y_STEP_PIN 65
+#define Y_DIR_PIN 64
+#define Y_ENABLE_PIN 46
+#ifndef Y_CS_PIN
+ #define Y_CS_PIN 60
+#endif
+
+#define Z_STEP_PIN 67
+#define Z_DIR_PIN 66
+#define Z_ENABLE_PIN 44
+#ifndef Z_CS_PIN
+ #define Z_CS_PIN 58
+#endif
+
+#define E0_STEP_PIN 36
+#define E0_DIR_PIN 28
+#define E0_ENABLE_PIN 42
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN 67
+#endif
+
+#define E1_STEP_PIN 43
+#define E1_DIR_PIN 41
+#define E1_ENABLE_PIN 39
+#ifndef E1_CS_PIN
+ #define E1_CS_PIN 61
+#endif
+
+#define E2_STEP_PIN 32
+#define E2_DIR_PIN 47
+#define E2_ENABLE_PIN 45
+#ifndef E2_CS_PIN
+ #define E2_CS_PIN 59
+#endif
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 1 // Analog Input
+#define TEMP_1_PIN 2 // Analog Input
+#define TEMP_2_PIN 3 // Analog Input
+#define TEMP_BED_PIN 0 // Analog Input
+
+// SPI for Max6675 or Max31855 Thermocouple
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 53
+#else
+ #define MAX6675_SS_PIN 49
+#endif
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 9
+#define HEATER_1_PIN 10
+#define HEATER_2_PIN 11
+#define HEATER_BED_PIN 8
+
+#ifndef FAN_PIN
+ #define FAN_PIN 12
+#endif
+
+//
+// Misc. Functions
+//
+#define SDSS 4
+#define LED_PIN 13
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+ // ramps-fd lcd adaptor
+
+ #define BEEPER_PIN 37
+ #define BTN_EN1 33
+ #define BTN_EN2 31
+ #define BTN_ENC 35
+ #define SD_DETECT_PIN 49
+
+ #if IS_NEWPANEL
+ #define LCD_PINS_RS 16
+ #define LCD_PINS_ENABLE 17
+ #endif
+
+ #if ENABLED(FYSETC_MINI_12864)
+ #define DOGLCD_CS LCD_PINS_ENABLE
+ #define DOGLCD_A0 LCD_PINS_RS
+ #define DOGLCD_SCK 76
+ #define DOGLCD_MOSI 75
+
+ //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
+ // results in LCD soft SPI mode 3, SD soft SPI mode 0
+
+ #define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
+
+ #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
+ #ifndef RGB_LED_R_PIN
+ #define RGB_LED_R_PIN 25
+ #endif
+ #ifndef RGB_LED_G_PIN
+ #define RGB_LED_G_PIN 27
+ #endif
+ #ifndef RGB_LED_B_PIN
+ #define RGB_LED_B_PIN 29
+ #endif
+ #elif ENABLED(FYSETC_MINI_12864_2_1)
+ #define NEOPIXEL_PIN 25
+ #endif
+
+ #elif IS_NEWPANEL
+
+ #define LCD_PINS_D4 23
+ #define LCD_PINS_D5 25
+ #define LCD_PINS_D6 27
+ #define LCD_PINS_D7 29
+
+ #if ENABLED(MINIPANEL)
+ #define DOGLCD_CS 25
+ #define DOGLCD_A0 27
+ #endif
+
+ #endif
+
+ #if ANY(VIKI2, miniVIKI)
+ #define DOGLCD_A0 16
+ #define KILL_PIN 51
+ #define STAT_LED_BLUE_PIN 29
+ #define STAT_LED_RED_PIN 23
+ #define DOGLCD_CS 17
+ #define DOGLCD_SCK 76 // SCK_PIN - Required for DUE Hardware SPI
+ #define DOGLCD_MOSI 75 // MOSI_PIN
+ #define DOGLCD_MISO 74 // MISO_PIN
+ #endif
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
+
+#if HAS_TMC_UART
+ /**
+ * TMC2208/TMC2209 stepper drivers
+ *
+ * Hardware serial communication ports.
+ * If undefined software serial is used according to the pins below
+ */
+ //#define X_HARDWARE_SERIAL Serial1
+ //#define X2_HARDWARE_SERIAL Serial1
+ //#define Y_HARDWARE_SERIAL Serial1
+ //#define Y2_HARDWARE_SERIAL Serial1
+ //#define Z_HARDWARE_SERIAL Serial1
+ //#define Z2_HARDWARE_SERIAL Serial1
+ //#define E0_HARDWARE_SERIAL Serial1
+ //#define E1_HARDWARE_SERIAL Serial1
+ //#define E2_HARDWARE_SERIAL Serial1
+ //#define E3_HARDWARE_SERIAL Serial1
+ //#define E4_HARDWARE_SERIAL Serial1
+#endif
+
+//
+// M3/M4/M5 - Spindle/Laser Control
+//
+#if HOTENDS < 3 && HAS_CUTTER && !PIN_EXISTS(SPINDLE_LASER_ENA)
+ #define SPINDLE_LASER_ENA_PIN 45 // Use E2 ENA
+ #define SPINDLE_LASER_PWM_PIN 12 // Hardware PWM
+ #define SPINDLE_DIR_PIN 47 // Use E2 DIR
+#endif
diff --git a/Marlin/src/pins/sam/pins_RAMPS_FD_V2.h b/Marlin/src/pins/sam/pins_RAMPS_FD_V2.h
new file mode 100644
index 0000000..55a42b2
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RAMPS_FD_V2.h
@@ -0,0 +1,52 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * RAMPS-FD v2
+ *
+ * EEPROM supported
+ * Use 1k thermistor tables
+ */
+
+#define BOARD_INFO_NAME "RAMPS-FD v2"
+
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN 69 // moved from A13 to A15 on v2.2, if not earlier
+#endif
+
+#include "pins_RAMPS_FD_V1.h"
+
+#undef INVERTED_HEATER_PINS
+#undef INVERTED_BED_PINS
+#undef INVERTED_FAN_PINS
+
+#define I2C_EEPROM
+#define MARLIN_EEPROM_SIZE 0x10000 // 64K in a 24C512
+
+#ifndef PS_ON_PIN
+ #define PS_ON_PIN 12
+#endif
+
+#ifndef FILWIDTH_PIN
+ #define FILWIDTH_PIN 5 // Analog Input on AUX2
+#endif
diff --git a/Marlin/src/pins/sam/pins_RAMPS_SMART.h b/Marlin/src/pins/sam/pins_RAMPS_SMART.h
new file mode 100644
index 0000000..9b76ee2
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RAMPS_SMART.h
@@ -0,0 +1,110 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * Arduino Due with RAMPS-SMART pin assignments
+ *
+ * Applies to the following boards:
+ *
+ * RAMPS_SMART_EFB (Hotend, Fan, Bed)
+ * RAMPS_SMART_EEB (Hotend0, Hotend1, Bed)
+ * RAMPS_SMART_EFF (Hotend, Fan0, Fan1)
+ * RAMPS_SMART_EEF (Hotend0, Hotend1, Fan)
+ * RAMPS_SMART_SF (Spindle, Controller Fan)
+ *
+ * Differences between
+ * RAMPS_14 | RAMPS-SMART
+ * NONE | D16 (Additional AUX-3 pin(AUX3_2PIN), shares the same pin with AUX4_18PIN)
+ * NONE | D17 (Additional AUX-3 pin(AUX3_1PIN), shares the same pin with AUX4_17PIN)
+ * D0 | NONE
+ * D1 | NONE
+ * A3/D57 | NONE
+ * A4/D58 | NONE
+ * A5/D59 | A3/D57
+ * A9/D63 | A4/D58
+ * A10/D64 | A5/D59
+ * A11/D65 | D66
+ * A12/D66 | D67
+ * A13 | A9
+ * A14 | A10
+ * A15 | A11
+ *
+ *
+ * REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER works fine connected to AUX-4 with
+ * Smart Adapter, but requires removing the AUX3 pin header on the adapter to fit.
+ * To use the SD card reader, wire its pins to AUX-3 (and use Software SPI).
+ *
+ * To use Hardware SPI for SD, the SDSS pin must be set to 52 instead of 53.
+ * Hardware SPI also requires additional wiring because the board doesn't pass
+ * the 6-pin SPI header from the DUE board.
+ * (Search the web for "Arduino DUE Board Pinout" to see the correct header.)
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "RAMPS-SMART"
+#define IS_RAMPS_SMART
+#include "../ramps/pins_RAMPS.h"
+
+// I2C EEPROM with 4K of space
+#define I2C_EEPROM
+#define MARLIN_EEPROM_SIZE 0x1000
+
+#define RESET_PIN 42 // Resets the board if the jumper is attached
+
+//
+// Temperature Sensors
+//
+#undef TEMP_0_PIN
+#define TEMP_0_PIN 9 // Analog Input
+
+#undef TEMP_1_PIN
+#define TEMP_1_PIN 10 // Analog Input
+
+#undef TEMP_BED_PIN
+#define TEMP_BED_PIN 11 // Analog Input
+
+// SPI for Max6675 or Max31855 Thermocouple
+#undef MAX6675_SS_PIN
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 67 // Don't use 53 if using Display/SD card
+#else
+ #define MAX6675_SS_PIN 67 // Don't use 49 (SD_DETECT_PIN)
+#endif
+
+//
+// LCD / Controller
+//
+// Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel
+#if ENABLED(AZSMZ_12864)
+ #define BEEPER_PIN 66 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 65
+ #define DOGLCD_A0 59
+ #define DOGLCD_CS 44
+ #define BTN_EN1 58
+ #define BTN_EN2 40
+ #define BTN_ENC 67 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 66
+ #define SD_DETECT_PIN 49 // Pin 49 for display sd interface, 72 for easy adapter board
+ #define KILL_PIN 42
+#endif
diff --git a/Marlin/src/pins/sam/pins_RURAMPS4D_11.h b/Marlin/src/pins/sam/pins_RURAMPS4D_11.h
new file mode 100644
index 0000000..6a28340
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RURAMPS4D_11.h
@@ -0,0 +1,278 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * Ported sys0724 & Vynt
+ */
+
+/**
+ * Arduino Mega? or Due with RuRAMPS4DUE pin assignments
+ *
+ * Applies to the following boards:
+ * RURAMPS4DUE (Hotend0, Hotend1, Hotend2, Fan0, Fan1, Bed)
+ *
+ * Differences between
+ * RADDS | RuRAMPS4DUE
+ * |
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "RuRAMPS4Due v1.1"
+
+//
+// Servos
+//
+#define SERVO0_PIN 5
+#define SERVO1_PIN 3
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 45
+#define X_MAX_PIN 39
+#define Y_MIN_PIN 46
+#define Y_MAX_PIN 41
+#define Z_MIN_PIN 47
+#define Z_MAX_PIN 43
+
+//
+// Z Probe (when not Z_MIN_PIN)
+//
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 43
+#endif
+
+//
+// Steppers
+//
+#define X_STEP_PIN 37 // Support Extension Board
+#define X_DIR_PIN 36
+#define X_ENABLE_PIN 38
+#ifndef X_CS_PIN
+ #define X_CS_PIN -1
+#endif
+
+#define Y_STEP_PIN 32 // Support Extension Board
+#define Y_DIR_PIN 35
+#define Y_ENABLE_PIN 34
+#ifndef Y_CS_PIN
+ #define Y_CS_PIN -1
+#endif
+
+#define Z_STEP_PIN 30 // Support Extension Board
+#define Z_DIR_PIN 2
+#define Z_ENABLE_PIN 33
+#ifndef Z_CS_PIN
+ #define Z_CS_PIN -1
+#endif
+
+#define E0_STEP_PIN 29
+#define E0_DIR_PIN 28
+#define E0_ENABLE_PIN 31
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN -1
+#endif
+
+#define E1_STEP_PIN 22
+#define E1_DIR_PIN 24
+#define E1_ENABLE_PIN 26
+#ifndef E1_CS_PIN
+ #define E1_CS_PIN -1
+#endif
+
+#define E2_STEP_PIN 25
+#define E2_DIR_PIN 23
+#define E2_ENABLE_PIN 27
+#ifndef E2_CS_PIN
+ #define E2_CS_PIN -1
+#endif
+
+#define E3_STEP_PIN 15 // Only For Extension Board
+#define E3_DIR_PIN 14
+#define E3_ENABLE_PIN 61
+#ifndef E3_CS_PIN
+ #define E3_CS_PIN -1
+#endif
+
+// For Future: Microstepping pins - Mapping not from fastio.h (?)
+//#define E3_MS1_PIN ?
+//#define E3_MS2_PIN ?
+//#define E3_MS3_PIN ?
+
+#if HAS_CUSTOM_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 49
+#endif
+
+#if HAS_FILAMENT_SENSOR
+ #ifndef FIL_RUNOUT_PIN
+ #define FIL_RUNOUT_PIN Y_MIN_PIN
+ #endif
+#endif
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 13
+#define HEATER_1_PIN 12
+#define HEATER_2_PIN 11
+#define HEATER_BED_PIN 7 // BED H1
+
+#ifndef FAN_PIN
+ #define FAN_PIN 9
+#endif
+#define FAN1_PIN 8
+#define CONTROLLER_FAN_PIN -1
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 0 // ANALOG A0
+#define TEMP_1_PIN 1 // ANALOG A1
+#define TEMP_2_PIN 2 // ANALOG A2
+#define TEMP_3_PIN 3 // ANALOG A3
+#define TEMP_BED_PIN 4 // ANALOG A4
+
+// The thermocouple uses Analog pins
+#if ENABLED(VER_WITH_THERMOCOUPLE) // Defined in Configuration.h
+ #define TEMP_4_PIN 5 // A5
+ #define TEMP_5_PIN 6 // A6 (Marlin 2.0 not support)
+#endif
+
+// SPI for Max6675 or Max31855 Thermocouple
+/*
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 53
+#else
+ #define MAX6675_SS_PIN 49
+#endif
+*/
+
+//
+// Misc. Functions
+//
+#define SDSS 4 // 4,10,52 if using HW SPI.
+#define LED_PIN -1 // 13 - HEATER_0_PIN
+#define PS_ON_PIN -1 // 65
+
+// MKS TFT / Nextion Use internal USART-1
+#define TFT_LCD_MODULE_COM 1
+#define TFT_LCD_MODULE_BAUDRATE 115600
+
+// ESP WiFi Use internal USART-2
+#define ESP_WIFI_MODULE_COM 2
+#define ESP_WIFI_MODULE_BAUDRATE 115600
+#define ESP_WIFI_MODULE_RESET_PIN -1
+#define PIGGY_GPIO_PIN -1
+
+//
+// EEPROM
+//
+#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256)
+#define I2C_EEPROM // EEPROM on I2C-0
+//#define EEPROM_SD // EEPROM on SDCARD
+//#define SPI_EEPROM // EEPROM on SPI-0
+//#define SPI_CHAN_EEPROM1 ?
+//#define SPI_EEPROM1_CS ?
+// 2K EEPROM
+//#define SPI_EEPROM2_CS ?
+// 32Mb FLASH
+//#define SPI_FLASH_CS ?
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+
+ #if ANY(RADDS_DISPLAY, IS_RRD_SC, IS_RRD_FG_SC)
+ #define BEEPER_PIN 62
+ #define LCD_PINS_D4 48
+ #define LCD_PINS_D5 50
+ #define LCD_PINS_D6 52
+ #define LCD_PINS_D7 53
+ #define SD_DETECT_PIN 51
+ #endif
+
+ #if EITHER(RADDS_DISPLAY, IS_RRD_SC)
+
+ #define LCD_PINS_RS 63
+ #define LCD_PINS_ENABLE 64
+
+ #elif IS_RRD_FG_SC
+
+ #define LCD_PINS_RS 52
+ #define LCD_PINS_ENABLE 53
+
+ #elif HAS_U8GLIB_I2C_OLED
+
+ #define BEEPER_PIN 62
+ #define LCD_SDSS 10
+ #define SD_DETECT_PIN 51
+
+ #elif ENABLED(FYSETC_MINI_12864)
+
+ #define BEEPER_PIN 62
+ #define DOGLCD_CS 64
+ #define DOGLCD_A0 63
+
+ //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
+ // results in LCD soft SPI mode 3, SD soft SPI mode 0
+
+ #define LCD_RESET_PIN 48 // Must be high or open for LCD to operate normally.
+
+ #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
+ #ifndef RGB_LED_R_PIN
+ #define RGB_LED_R_PIN 50 // D5
+ #endif
+ #ifndef RGB_LED_G_PIN
+ #define RGB_LED_G_PIN 52 // D6
+ #endif
+ #ifndef RGB_LED_B_PIN
+ #define RGB_LED_B_PIN 53 // D7
+ #endif
+ #elif ENABLED(FYSETC_MINI_12864_2_1)
+ #define NEOPIXEL_PIN 50 // D5
+ #endif
+
+ #elif ENABLED(SPARK_FULL_GRAPHICS)
+
+ //http://doku.radds.org/dokumentation/other-electronics/sparklcd/
+ #error "Oops! SPARK_FULL_GRAPHICS not supported with RURAMPS4D."
+ //#define LCD_PINS_D4 29 //?
+ //#define LCD_PINS_ENABLE 27 //?
+ //#define LCD_PINS_RS 25 //?
+ //#define BTN_EN1 35 //?
+ //#define BTN_EN2 33 //?
+ //#define BTN_ENC 37 //?
+
+ #endif // SPARK_FULL_GRAPHICS
+
+ #if IS_NEWPANEL
+ #define BTN_EN1 44
+ #define BTN_EN2 42
+ #define BTN_ENC 40
+ #endif
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
diff --git a/Marlin/src/pins/sam/pins_RURAMPS4D_13.h b/Marlin/src/pins/sam/pins_RURAMPS4D_13.h
new file mode 100644
index 0000000..6ec10f6
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_RURAMPS4D_13.h
@@ -0,0 +1,260 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ * Ported sys0724 & Vynt
+ */
+
+/**
+ * Arduino Mega? or Due with RuRAMPS4DUE pin assignments
+ *
+ * Applies to the following boards:
+ * RURAMPS4DUE (Hotend0, Hotend1, Hotend2, Fan0, Fan1, Bed)
+ *
+ * Differences between
+ * RADDS | RuRAMPS4DUE
+ * |
+ */
+
+#if NOT_TARGET(__SAM3X8E__)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "RuRAMPS4Due v1.3"
+
+//
+// Servos
+//
+#define SERVO0_PIN 5
+#define SERVO1_PIN 3
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 45
+#define X_MAX_PIN 39
+#define Y_MIN_PIN 46
+#define Y_MAX_PIN 41
+#define Z_MIN_PIN 47
+#define Z_MAX_PIN 43
+
+//
+// Z Probe (when not Z_MIN_PIN)
+//
+#ifndef Z_MIN_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 49
+#endif
+
+//
+// Steppers
+//
+#define X_STEP_PIN 37 // Support Extension Board
+#define X_DIR_PIN 36
+#define X_ENABLE_PIN 31
+#ifndef X_CS_PIN
+ #define X_CS_PIN 38
+#endif
+
+#define Y_STEP_PIN 32 // Support Extension Board
+#define Y_DIR_PIN 35
+#define Y_ENABLE_PIN 31
+#ifndef Y_CS_PIN
+ #define Y_CS_PIN 34
+#endif
+
+#define Z_STEP_PIN 30 // Support Extension Board
+#define Z_DIR_PIN 2
+#define Z_ENABLE_PIN 31
+#ifndef Z_CS_PIN
+ #define Z_CS_PIN 10
+#endif
+
+#define E0_STEP_PIN 29
+#define E0_DIR_PIN 28
+#define E0_ENABLE_PIN 33
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN 14
+#endif
+
+#define E1_STEP_PIN 22
+#define E1_DIR_PIN 24
+#define E1_ENABLE_PIN 26
+#ifndef E1_CS_PIN
+ #define E1_CS_PIN 15
+#endif
+
+#define E2_STEP_PIN 25
+#define E2_DIR_PIN 23
+#define E2_ENABLE_PIN 27
+#ifndef E2_CS_PIN
+ #define E2_CS_PIN 61
+#endif
+
+#if HAS_CUSTOM_PROBE_PIN
+ #define Z_MIN_PROBE_PIN 49
+#endif
+
+#if HAS_FILAMENT_SENSOR
+ #ifndef FIL_RUNOUT_PIN
+ #define FIL_RUNOUT_PIN Y_MIN_PIN
+ #endif
+#endif
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 13
+#define HEATER_1_PIN 12
+#define HEATER_2_PIN 11
+#define HEATER_BED_PIN 7 // BED H1
+
+#define FAN_PIN 9
+#define FAN1_PIN 8
+#define CONTROLLER_FAN_PIN -1
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 0 // ANALOG A0
+#define TEMP_1_PIN 1 // ANALOG A1
+#define TEMP_2_PIN 2 // ANALOG A2
+#define TEMP_3_PIN 3 // ANALOG A3
+#define TEMP_BED_PIN 4 // ANALOG A4
+
+// The thermocouple uses Analog pins
+#if ENABLED(VER_WITH_THERMOCOUPLE) // Defined in Configuration.h
+ #define TEMP_4_PIN 5 // A5
+ #define TEMP_5_PIN 6 // A6 (Marlin 2.0 not support)
+#endif
+
+// SPI for Max6675 or Max31855 Thermocouple
+/*
+#if DISABLED(SDSUPPORT)
+ #define MAX6675_SS_PIN 53
+#else
+ #define MAX6675_SS_PIN 49
+#endif
+*/
+
+//
+// Misc. Functions
+//
+#define SDSS 4 // 4,10,52 if using HW SPI.
+#define LED_PIN -1 // 13 - HEATER_0_PIN
+#define PS_ON_PIN -1 // 65
+
+// MKS TFT / Nextion Use internal USART-1
+#define TFT_LCD_MODULE_COM 1
+#define TFT_LCD_MODULE_BAUDRATE 115200
+
+// ESP WiFi Use internal USART-2
+#define ESP_WIFI_MODULE_COM 2
+#define ESP_WIFI_MODULE_BAUDRATE 115200
+#define ESP_WIFI_MODULE_RESET_PIN -1
+#define PIGGY_GPIO_PIN -1
+
+//
+// EEPROM
+//
+#define MARLIN_EEPROM_SIZE 0x8000 // 32Kb (24lc256)
+#define I2C_EEPROM // EEPROM on I2C-0
+//#define EEPROM_SD // EEPROM on SDCARD
+//#define SPI_EEPROM // EEPROM on SPI-0
+//#define SPI_CHAN_EEPROM1 ?
+//#define SPI_EEPROM1_CS ?
+// 2K EEPROM
+//#define SPI_EEPROM2_CS ?
+// 32Mb FLASH
+//#define SPI_FLASH_CS ?
+
+//
+// LCD / Controller
+//
+#if HAS_WIRED_LCD
+
+ #if ANY(RADDS_DISPLAY, IS_RRD_SC, IS_RRD_FG_SC)
+ #define BEEPER_PIN 62
+ #define LCD_PINS_D4 48
+ #define LCD_PINS_D5 50
+ #define LCD_PINS_D6 52
+ #define LCD_PINS_D7 53
+ #define SD_DETECT_PIN 51
+ #endif
+
+ #if EITHER(RADDS_DISPLAY, IS_RRD_SC)
+
+ #define LCD_PINS_RS 63
+ #define LCD_PINS_ENABLE 64
+
+ #elif IS_RRD_FG_SC
+
+ #define LCD_PINS_RS 52
+ #define LCD_PINS_ENABLE 53
+
+ #elif HAS_U8GLIB_I2C_OLED
+
+ #define BEEPER_PIN 62
+ #define LCD_SDSS 10
+ #define SD_DETECT_PIN 51
+
+ #elif ENABLED(FYSETC_MINI_12864)
+
+ #define BEEPER_PIN 62
+ #define DOGLCD_CS 64
+ #define DOGLCD_A0 63
+
+ //#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
+ // results in LCD soft SPI mode 3, SD soft SPI mode 0
+
+ #define LCD_RESET_PIN 48 // Must be high or open for LCD to operate normally.
+
+ #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
+ #ifndef RGB_LED_R_PIN
+ #define RGB_LED_R_PIN 50 // D5
+ #endif
+ #ifndef RGB_LED_G_PIN
+ #define RGB_LED_G_PIN 52 // D6
+ #endif
+ #ifndef RGB_LED_B_PIN
+ #define RGB_LED_B_PIN 53 // D7
+ #endif
+ #elif ENABLED(FYSETC_MINI_12864_2_1)
+ #define NEOPIXEL_PIN 50 // D5
+ #endif
+
+ #elif ENABLED(MKS_MINI_12864)
+
+ #define DOGLCD_A0 52
+ #define DOGLCD_CS 50
+
+ #define SD_DETECT_PIN 51
+
+ #endif
+
+ #if IS_NEWPANEL
+ #define BTN_EN1 44
+ #define BTN_EN2 42
+ #define BTN_ENC 40
+ #endif
+
+ #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
+ #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
+ #endif
+
+#endif // HAS_WIRED_LCD
diff --git a/Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h b/Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h
new file mode 100644
index 0000000..ea09618
--- /dev/null
+++ b/Marlin/src/pins/sam/pins_ULTRATRONICS_PRO.h
@@ -0,0 +1,179 @@
+/**
+ * Marlin 3D Printer Firmware
+ * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
+ *
+ * Based on Sprinter and grbl.
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ *
+ */
+#pragma once
+
+/**
+ * ReprapWorld ULTRATRONICS v1.0
+ * https://reprapworld.com/documentation/datasheet_ultratronics10_05.pdf
+ */
+
+#if NOT_TARGET(ARDUINO_ARCH_SAM)
+ #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
+#endif
+
+#define BOARD_INFO_NAME "Ultratronics v1.0"
+
+//
+// Servos
+//
+#if NUM_SERVOS > 0
+ #define SERVO0_PIN 11
+ #if NUM_SERVOS > 1
+ #define SERVO1_PIN 12
+ #endif
+#endif
+
+//
+// Limit Switches
+//
+#define X_MIN_PIN 31
+#define X_MAX_PIN 30
+#define Y_MIN_PIN 12
+#define Y_MAX_PIN 11
+#define Z_MIN_PIN 29
+#define Z_MAX_PIN 28
+
+//
+// Steppers
+//
+#define X_STEP_PIN 35
+#define X_DIR_PIN 34
+#define X_ENABLE_PIN 37
+#ifndef X_CS_PIN
+ #define X_CS_PIN 18
+#endif
+
+#define Y_STEP_PIN 22
+#define Y_DIR_PIN 23
+#define Y_ENABLE_PIN 33
+#ifndef Y_CS_PIN
+ #define Y_CS_PIN 19
+#endif
+
+#define Z_STEP_PIN 25
+#define Z_DIR_PIN 26
+#define Z_ENABLE_PIN 24
+#ifndef Z_CS_PIN
+ #define Z_CS_PIN 16
+#endif
+
+#define E0_STEP_PIN 47
+#define E0_DIR_PIN 46
+#define E0_ENABLE_PIN 48
+#ifndef E0_CS_PIN
+ #define E0_CS_PIN 17
+#endif
+
+#define E1_STEP_PIN 44
+#define E1_DIR_PIN 36
+#define E1_ENABLE_PIN 45
+#ifndef E1_CS_PIN
+ #define E1_CS_PIN -1
+#endif
+
+#define E2_STEP_PIN 42
+#define E2_DIR_PIN 41
+#define E2_ENABLE_PIN 43
+#ifndef E2_CS_PIN
+ #define E2_CS_PIN -1
+#endif
+
+#define E3_STEP_PIN 39
+#define E3_DIR_PIN 38
+#define E3_ENABLE_PIN 40
+#ifndef E3_CS_PIN
+ #define E3_CS_PIN -1
+#endif
+
+//
+// Temperature Sensors
+//
+#define TEMP_0_PIN 0 // Analog Input
+#define TEMP_1_PIN 2 // Analog Input
+#define TEMP_2_PIN 3 // Analog Input
+#define TEMP_3_PIN 4 // Analog Input
+#define TEMP_BED_PIN 1 // Analog Input
+
+//
+// Heaters / Fans
+//
+#define HEATER_0_PIN 3
+#define HEATER_1_PIN 8
+#define HEATER_2_PIN 7
+#define HEATER_3_PIN 9
+#define HEATER_BED_PIN 2
+
+#ifndef FAN_PIN
+ #define FAN_PIN 6
+#endif
+#define FAN2_PIN 5
+
+//
+// Misc. Functions
+//
+#define SDSS 59
+#define SD_DETECT_PIN 60
+#define LED_PIN 13
+#define PS_ON_PIN 32
+
+//
+// SPI Buses
+//
+
+#define DAC0_SYNC 53 // PB14
+#define SPI_CHAN_DAC 1
+
+#define SPI_CHAN_EEPROM1 -1
+#define SPI_EEPROM1_CS -1
+#define SPI_EEPROM2_CS -1
+#define SPI_FLASH_CS -1
+
+#define SD_SCK_PIN 76
+#define SD_MISO_PIN 74
+#define SD_MOSI_PIN 75
+
+// SPI for Max6675 or Max31855 Thermocouple
+#define MAX6675_SS_PIN 65
+#define MAX31855_SS0 65
+#define MAX31855_SS1 52
+#define MAX31855_SS2 50
+#define MAX31855_SS3 51
+
+#define ENC424_SS 61
+
+//
+// LCD / Controller
+//
+
+#define BEEPER_PIN 27
+
+#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
+
+ #define LCD_PINS_RS A8 // CS chip select / SS chip slave select
+ #define LCD_PINS_ENABLE MOSI // SID (MOSI)
+ #define LCD_PINS_D4 SCK // SCK (CLK) clock
+
+ #define BTN_EN1 20
+ #define BTN_EN2 21
+ #define BTN_ENC 64
+
+#endif // REPRAPWORLD_GRAPHICAL_LCD