Merge pull request #164 from guanix/Marlin_v1

Melzi support
This commit is contained in:
ErikZalm 2012-05-16 12:21:48 -07:00
commit 804e0d6117
2 changed files with 14 additions and 1 deletions

View File

@ -26,6 +26,7 @@
// Gen6 = 5 // Gen6 = 5
// Gen6 deluxe = 51 // Gen6 deluxe = 51
// Sanguinololu 1.2 and above = 62 // Sanguinololu 1.2 and above = 62
// Melzi = 63
// Ultimaker = 7 // Ultimaker = 7
// Teensylu = 8 // Teensylu = 8
// Gen3+ =9 // Gen3+ =9

View File

@ -554,7 +554,10 @@
* Sanguinololu pin assignment * Sanguinololu pin assignment
* *
****************************************************************************************/ ****************************************************************************************/
#if MOTHERBOARD == 62 #if MOTHERBOARD == 63
#define MELZI
#endif
#if MOTHERBOARD == 62 || MOTHERBOARD == 63
#undef MOTHERBOARD #undef MOTHERBOARD
#define MOTHERBOARD 6 #define MOTHERBOARD 6
#define SANGUINOLOLU_V_1_2 #define SANGUINOLOLU_V_1_2
@ -589,6 +592,11 @@
#define FAN_PIN -1 #define FAN_PIN -1
#ifdef MELZI
#define LED_PIN 28
#define FAN_PIN 4
#endif
#define PS_ON_PIN -1 #define PS_ON_PIN -1
#define KILL_PIN -1 #define KILL_PIN -1
@ -621,6 +629,10 @@
#define SDPOWER -1 #define SDPOWER -1
#define SDSS 31 #define SDSS 31
#ifdef MELZI
#define SDSS 24
#endif
#endif #endif