Commit a47bdc6e authored by MagoKimbra's avatar MagoKimbra

Add Ramps_FD and Smart Ramps to Arduino Mega

parent 81a02a56
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
#define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignments #define BOARD_DUEMILANOVE_328P 4 // Duemilanove w/ ATMega328P pin assignments
#define BOARD_RADDS 402 // RADDS ARM 32 #define BOARD_RADDS 402 // RADDS ARM 32
#define BOARD_RAMPS_FD_V1 403 // RAMPS-FD V1 ARM 32 #define BOARD_RAMPS_FD_V1 403 // RAMPS-FD V1
#define BOARD_RAMPS_FD_V2 404 // RAMPS-FD V2 ARM 32 #define BOARD_RAMPS_FD_V2 404 // RAMPS-FD V2
#define BOARD_SMART_RAMPS 408 // SMART RAMPS ARM 32 #define BOARD_SMART_RAMPS 408 // SMART RAMPS
#define BOARD_RAMPS4DUE 433 // RAMPS4DUE with AndrewBCN's RAMPS mods (http://forums.reprap.org/read.php?219,479626,page=1) ARM 32 #define BOARD_RAMPS4DUE 433 // RAMPS4DUE with AndrewBCN's RAMPS mods (http://forums.reprap.org/read.php?219,479626,page=1) ARM 32
#define BOARD_GEN6 5 // Gen6 #define BOARD_GEN6 5 // Gen6
......
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
* *
* 4 BOARD_DUEMILANOVE_328P - Duemilanove w/ ATMega328P pin assignment * 4 BOARD_DUEMILANOVE_328P - Duemilanove w/ ATMega328P pin assignment
*401 BOARD_RADDS - Radds Arduino DUE *401 BOARD_RADDS - Radds Arduino DUE
*403 BOARD_RAMPS_FD_V1 - Ramps FD version 1 Arduino DUE *403 BOARD_RAMPS_FD_V1 - Ramps FD version 1
*404 BOARD_RAMPS_FD_V2 - Ramps FD version 2 Arduino DUE *404 BOARD_RAMPS_FD_V2 - Ramps FD version 2
*408 BOARD_SMART_RAMPS - Smart Ramps for Arduino DUE *408 BOARD_SMART_RAMPS - Smart Ramps
*433 BOARD_RAMPS4DUE - Ramps for Arduino DUE *433 BOARD_RAMPS4DUE - Ramps for Arduino DUE
* *
* 5 BOARD_GEN6 - Gen6 * 5 BOARD_GEN6 - Gen6
...@@ -2153,14 +2153,14 @@ ...@@ -2153,14 +2153,14 @@
// SPI for Max6675 Thermocouple // SPI for Max6675 Thermocouple
//works with radds??? #if DISABLED(SDSUPPORT) // works with radds??? #if DISABLED(SDSUPPORT)
//// these pins are defined in the SD library if building with SD support // these pins are defined in the SD library if building with SD support
// #define MAX_SCK_PIN 52 //#define MAX_SCK_PIN 52
// #define MAX_MISO_PIN 50 //#define MAX_MISO_PIN 50
// #define MAX_MOSI_PIN 51 //#define MAX_MOSI_PIN 51
// #define MAX6675_SS 53 //#define MAX6675_SS 53
//#else //#else
// #define MAX6675_SS 49 //#define MAX6675_SS 49
//#endif //#endif
#endif //RADDS #endif //RADDS
...@@ -2170,17 +2170,12 @@ ...@@ -2170,17 +2170,12 @@
/**************************************************************************************** /****************************************************************************************
* 403 - 404 * 403 - 404
* Arduino Due pin assignment * Arduino pin assignment
* Ramps - FD v1 & v2 * Ramps - FD v1 & v2
****************************************************************************************/ ****************************************************************************************/
#if MB(RAMPS_FD_V1) || MB(RAMPS_FD_V2) #if MB(RAMPS_FD_V1) || MB(RAMPS_FD_V2)
#define KNOWN_BOARD 1 #define KNOWN_BOARD 1
#ifndef __SAM3X8E__
#error Oops! Make sure you have 'Arduino Due' selected from the 'Tools -> Boards' menu.
#endif
#if MB(RAMPS_FD_V1) #if MB(RAMPS_FD_V1)
#define RAMPS_FD_V1 #define RAMPS_FD_V1
#define INVERTED_HEATER_PINS #define INVERTED_HEATER_PINS
...@@ -2305,16 +2300,12 @@ ...@@ -2305,16 +2300,12 @@
/**************************************************************************************** /****************************************************************************************
* 408 * 408
* Arduino Due pin assignment * Arduino pin assignment
* for SMART_RAMPS * for SMART_RAMPS
****************************************************************************************/ ****************************************************************************************/
#if MB(SMART_RAMPS) #if MB(SMART_RAMPS)
#define KNOWN_BOARD #define KNOWN_BOARD
#ifndef __SAM3X8E__
#error Oops! Make sure you have 'Arduino Due' selected from the 'Tools -> Boards' menu.
#endif
#define ORIG_X_STEP_PIN 54 #define ORIG_X_STEP_PIN 54
#define ORIG_X_DIR_PIN 55 #define ORIG_X_DIR_PIN 55
#define ORIG_X_ENABLE_PIN 38 #define ORIG_X_ENABLE_PIN 38
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment