Add port for 5DPrint D8 Driver board
This commit is contained in:
parent
5107018414
commit
2fa514e88a
@ -1,6 +1,7 @@
|
||||
#ifndef PINS_H
|
||||
#define PINS_H
|
||||
|
||||
#if MOTHERBOARD != 88
|
||||
#define X_MS1_PIN -1
|
||||
#define X_MS2_PIN -1
|
||||
#define Y_MS1_PIN -1
|
||||
@ -12,6 +13,87 @@
|
||||
#define E1_MS1_PIN -1
|
||||
#define E1_MS2_PIN -1
|
||||
#define DIGIPOTSS_PIN -1
|
||||
#endif
|
||||
|
||||
/****************************************************************************************
|
||||
* 5DPrint D8 Driver board
|
||||
* https://bitbucket.org/makible/5dprint-d8-controller-board
|
||||
****************************************************************************************/
|
||||
|
||||
#if MOTHERBOARD == 88
|
||||
|
||||
#define KNOWN_BOARD 1
|
||||
#define AT90USB 1286 // Disable MarlinSerial etc.
|
||||
|
||||
#ifndef __AVR_AT90USB1286__
|
||||
#error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
|
||||
#endif
|
||||
|
||||
#define LARGE_FLASH true
|
||||
|
||||
#define X_STEP_PIN 0
|
||||
#define X_DIR_PIN 1
|
||||
#define X_ENABLE_PIN 23
|
||||
#define X_STOP_PIN 37
|
||||
|
||||
#define Y_STEP_PIN 2
|
||||
#define Y_DIR_PIN 3
|
||||
#define Y_ENABLE_PIN 19
|
||||
#define Y_STOP_PIN 36
|
||||
|
||||
#define Z_STEP_PIN 4
|
||||
#define Z_DIR_PIN 5
|
||||
#define Z_ENABLE_PIN 18
|
||||
#define Z_STOP_PIN 39
|
||||
|
||||
#define E0_STEP_PIN 6
|
||||
#define E0_DIR_PIN 7
|
||||
#define E0_ENABLE_PIN 17
|
||||
|
||||
#define HEATER_0_PIN 21 // Extruder
|
||||
#define HEATER_1_PIN -1
|
||||
#define HEATER_2_PIN -1
|
||||
#define HEATER_BED_PIN 20 // Bed
|
||||
#define FAN_PIN 22 // Fan
|
||||
// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
|
||||
// for the fan and Teensyduino uses a different pin mapping.
|
||||
|
||||
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
|
||||
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
|
||||
|
||||
#define TEMP_1_PIN -1
|
||||
#define TEMP_2_PIN -1
|
||||
|
||||
#define SDPOWER -1
|
||||
#define SDSS 8
|
||||
#define LED_PIN -1
|
||||
#define PS_ON_PIN -1
|
||||
#define KILL_PIN -1
|
||||
#define ALARM_PIN -1
|
||||
|
||||
#ifndef SDSUPPORT
|
||||
// these pins are defined in the SD library if building with SD support
|
||||
#define SCK_PIN 9
|
||||
#define MISO_PIN 11
|
||||
#define MOSI_PIN 10
|
||||
#endif
|
||||
|
||||
// Microstepping pins
|
||||
#define X_MS1_PIN 13
|
||||
#define X_MS2_PIN 14
|
||||
#define Y_MS1_PIN 33
|
||||
#define Y_MS2_PIN 32
|
||||
#define Z_MS1_PIN 31
|
||||
#define Z_MS2_PIN 30
|
||||
#define E0_MS1_PIN 29
|
||||
#define E0_MS2_PIN 28
|
||||
|
||||
#endif /* 88 */
|
||||
|
||||
/****************************************************************************************
|
||||
*
|
||||
*
|
||||
****************************************************************************************/
|
||||
|
||||
#if MOTHERBOARD == 99
|
||||
#define KNOWN_BOARD 1
|
||||
|
Loading…
Reference in New Issue
Block a user