mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-07 23:27:43 -07:00
✨ Pins updates
This commit is contained in:
parent
a3ce3c3fee
commit
5407a3f365
193 changed files with 1931 additions and 2015 deletions
|
|
@ -113,7 +113,7 @@
|
|||
// #define FAN_SOFT_PWM_REQUIRED // check if needed
|
||||
|
||||
// NeoPixel Rings
|
||||
#define NEOPIXEL_PIN 14
|
||||
#define BOARD_NEOPIXEL_PIN 14
|
||||
#define NEOPIXEL2_PIN 27
|
||||
|
||||
// SPI
|
||||
|
|
|
|||
|
|
@ -42,16 +42,13 @@
|
|||
//
|
||||
// TMC2209 stepper drivers
|
||||
//
|
||||
|
||||
//
|
||||
// Hardware serial 1
|
||||
//
|
||||
#define X_HARDWARE_SERIAL Serial1
|
||||
#define Y_HARDWARE_SERIAL Serial1
|
||||
#define Z_HARDWARE_SERIAL Serial1
|
||||
#define E0_HARDWARE_SERIAL Serial1
|
||||
|
||||
#define TMC_BAUD_RATE 115200
|
||||
#ifndef TMC_BAUD_RATE
|
||||
#define TMC_BAUD_RATE 115200
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "MKS TinyBee"
|
||||
#define BOARD_WEBSITE_URL "https://github.com/makerbase-mks"
|
||||
#define BOARD_WEBSITE_URL "github.com/makerbase-mks/MKS-TinyBee"
|
||||
#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
|
||||
|
||||
// MAX_EXPANDER_BITS is defined for MKS TinyBee in HAL/ESP32/inc/Conditionals_adv.h
|
||||
|
|
@ -43,15 +43,23 @@
|
|||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 2
|
||||
#define SERVO0_PIN 2 // 3D TOUCH
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN 33
|
||||
#define Y_STOP_PIN 32
|
||||
#define Z_STOP_PIN 22
|
||||
//#define FIL_RUNOUT_PIN 35
|
||||
#define X_STOP_PIN 33 // X
|
||||
#define Y_STOP_PIN 32 // Y
|
||||
#define Z_STOP_PIN 22 // Z
|
||||
#ifndef FIL_RUNOUT_PIN
|
||||
#define FIL_RUNOUT_PIN 35 // MT_DET
|
||||
#endif
|
||||
//
|
||||
// Probe enable
|
||||
//
|
||||
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
|
||||
#define PROBE_ENABLE_PIN SERVO0_PIN // 3D TOUCH
|
||||
#endif
|
||||
|
||||
//
|
||||
// Enable I2S stepper stream
|
||||
|
|
@ -68,49 +76,44 @@
|
|||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 129
|
||||
#define X_STEP_PIN 129 // X
|
||||
#define X_DIR_PIN 130
|
||||
#define X_ENABLE_PIN 128
|
||||
|
||||
#define Y_STEP_PIN 132
|
||||
#define Y_STEP_PIN 132 // Y
|
||||
#define Y_DIR_PIN 133
|
||||
#define Y_ENABLE_PIN 131
|
||||
|
||||
#define Z_STEP_PIN 135
|
||||
#define Z_STEP_PIN 135 // Z1
|
||||
#define Z_DIR_PIN 136
|
||||
#define Z_ENABLE_PIN 134
|
||||
|
||||
#define E0_STEP_PIN 138
|
||||
#define E0_STEP_PIN 138 // E0
|
||||
#define E0_DIR_PIN 139
|
||||
#define E0_ENABLE_PIN 137
|
||||
|
||||
#define E1_STEP_PIN 141
|
||||
#define E1_STEP_PIN 141 // E1
|
||||
#define E1_DIR_PIN 142
|
||||
#define E1_ENABLE_PIN 140
|
||||
|
||||
#define Z2_STEP_PIN 141
|
||||
#define Z2_DIR_PIN 142
|
||||
#define Z2_ENABLE_PIN 140
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 36 // Analog Input
|
||||
#define TEMP_1_PIN 34 // Analog Input, you need set R6=0Ω and R7=NC
|
||||
#define TEMP_BED_PIN 39 // Analog Input
|
||||
#define TEMP_0_PIN 36 // TH1 / Analog Input
|
||||
#define TEMP_1_PIN 34 // TH2 / Analog Input, you need set R6=0Ω and R7=NC
|
||||
#define TEMP_BED_PIN 39 // TB / Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 145
|
||||
#define HEATER_1_PIN 146
|
||||
#define FAN0_PIN 147
|
||||
#define FAN1_PIN 148
|
||||
#define HEATER_BED_PIN 144
|
||||
#define HEATER_0_PIN 145 // HE0
|
||||
#define HEATER_1_PIN 146 // HE1
|
||||
#define FAN0_PIN 147 // FAN1
|
||||
#define FAN1_PIN 148 // FAN2
|
||||
#define HEATER_BED_PIN 144 // H-BED
|
||||
|
||||
//#define CONTROLLER_FAN_PIN 148
|
||||
//#define E0_AUTO_FAN_PIN 148 // need to update Configuration_adv.h @section extruder
|
||||
//#define E1_AUTO_FAN_PIN 149 // need to update Configuration_adv.h @section extruder
|
||||
//#define CONTROLLER_FAN_PIN 148 // FAN2
|
||||
//#define E0_AUTO_FAN_PIN 148 // FAN2
|
||||
|
||||
//
|
||||
// ADC Reference Voltage
|
||||
|
|
@ -152,6 +155,8 @@
|
|||
//#define SD_MOSI_PIN EXP2_06_PIN // uses esp32 default 23
|
||||
//#define SD_MISO_PIN EXP2_01_PIN // uses esp32 default 19
|
||||
//#define SD_SCK_PIN EXP2_02_PIN // uses esp32 default 18
|
||||
|
||||
// TODO: Migrate external SD Card to pins/lcd
|
||||
#define SDSS EXP2_04_PIN
|
||||
#define SD_DETECT_PIN EXP2_07_PIN // IO34 default is SD_DET signal (Jump to SDDET)
|
||||
#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
|
||||
|
|
|
|||
|
|
@ -51,16 +51,27 @@
|
|||
*/
|
||||
|
||||
#define X_SERIAL_TX_PIN PC1
|
||||
#define X_SERIAL_RX_PIN PC1
|
||||
|
||||
#define Y_SERIAL_TX_PIN PC0
|
||||
#define Y_SERIAL_RX_PIN PC0
|
||||
|
||||
#define Z_SERIAL_TX_PIN PA15
|
||||
#define Z_SERIAL_RX_PIN PA15
|
||||
|
||||
#define E0_SERIAL_TX_PIN PC14
|
||||
#define E0_SERIAL_RX_PIN PC14
|
||||
|
||||
// Default TMC slave addresses
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
static_assert(X_SLAVE_ADDRESS == 3, "X_SLAVE_ADDRESS must be 3 for BOARD_SOVOL_V131.");
|
||||
static_assert(Y_SLAVE_ADDRESS == 3, "Y_SLAVE_ADDRESS must be 3 for BOARD_SOVOL_V131.");
|
||||
static_assert(Z_SLAVE_ADDRESS == 3, "Z_SLAVE_ADDRESS must be 3 for BOARD_SOVOL_V131.");
|
||||
static_assert(E0_SLAVE_ADDRESS == 3, "E0_SLAVE_ADDRESS must be 3 for BOARD_SOVOL_V131.");
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
|
||||
/**
|
||||
* AZSMZ MINI pin assignments
|
||||
* Schematic: http://green-candy.osdn.jp/external/MarlinFW/board_schematics/AZSMZ%20MINI/AZSMZ.svg
|
||||
* Source: https://raw.githubusercontent.com/Rose-Fish/AZSMZ-mini/master/AZSMZ.sch
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BigTreeTech SKR 1.1 pin assignments
|
||||
* Schematic: http://green-candy.osdn.jp/external/MarlinFW/board_schematics/BTT%20SKR%20V1.1/SKR-V1.1SchDoc.pdf
|
||||
* Origin: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.1/blob/master/hardware/SKR-V1.1SchDoc.pdf
|
||||
* Schematic: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.1/blob/master/hardware/SKR-V1.1SchDoc.pdf
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.1"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BigTreeTech SKR 1.3 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/BTT%20SKR%20V1.3/SKR-V1.3-SCH.pdf
|
||||
* Origin: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.3/hardware/SKR-V1.3-SCH.pdf
|
||||
* Schematic: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.3/hardware/SKR-V1.3-SCH.pdf
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.3"
|
||||
|
|
@ -45,39 +44,69 @@
|
|||
// Limit Switches
|
||||
//
|
||||
#ifdef X_STALL_SENSITIVITY
|
||||
#define X_STOP_PIN X_DIAG_PIN
|
||||
#ifndef X_STOP_PIN
|
||||
#define X_STOP_PIN X_DIAG_PIN
|
||||
#endif
|
||||
#if X_HOME_TO_MIN
|
||||
#define X_MAX_PIN P1_28 // X+
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN P1_28 // X+
|
||||
#endif
|
||||
#else
|
||||
#define X_MIN_PIN P1_28 // X+
|
||||
#ifndef X_MIN_PIN
|
||||
#define X_MIN_PIN P1_28 // X+
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define X_MIN_PIN P1_29 // X-
|
||||
#define X_MAX_PIN P1_28 // X+
|
||||
#ifndef X_MIN_PIN
|
||||
#define X_MIN_PIN P1_29 // X-
|
||||
#endif
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN P1_28 // X+
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef Y_STALL_SENSITIVITY
|
||||
#define Y_STOP_PIN Y_DIAG_PIN
|
||||
#ifndef Y_STOP_PIN
|
||||
#define Y_STOP_PIN Y_DIAG_PIN
|
||||
#endif
|
||||
#if Y_HOME_TO_MIN
|
||||
#define Y_MAX_PIN P1_26 // Y+
|
||||
#ifndef Y_MAX_PIN
|
||||
#define Y_MAX_PIN P1_26 // Y+
|
||||
#endif
|
||||
#else
|
||||
#define Y_MIN_PIN P1_26 // Y+
|
||||
#ifndef Y_MIN_PIN
|
||||
#define Y_MIN_PIN P1_26 // Y+
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define Y_MIN_PIN P1_27 // Y-
|
||||
#define Y_MAX_PIN P1_26 // Y+
|
||||
#ifndef Y_MIN_PIN
|
||||
#define Y_MIN_PIN P1_27 // Y-
|
||||
#endif
|
||||
#ifndef Y_MAX_PIN
|
||||
#define Y_MAX_PIN P1_26 // Y+
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef Z_STALL_SENSITIVITY
|
||||
#define Z_STOP_PIN Z_DIAG_PIN
|
||||
#ifndef Z_STOP_PIN
|
||||
#define Z_STOP_PIN Z_DIAG_PIN
|
||||
#endif
|
||||
#if Z_HOME_TO_MIN
|
||||
#define Z_MAX_PIN P1_24 // Z+
|
||||
#ifndef Z_MAX_PIN
|
||||
#define Z_MAX_PIN P1_24 // Z+
|
||||
#endif
|
||||
#else
|
||||
#define Z_MIN_PIN P1_24 // Z+
|
||||
#ifndef Z_MIN_PIN
|
||||
#define Z_MIN_PIN P1_24 // Z+
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define Z_MIN_PIN P1_25 // Z-
|
||||
#define Z_MAX_PIN P1_24 // Z+
|
||||
#ifndef Z_MIN_PIN
|
||||
#define Z_MIN_PIN P1_25 // Z-
|
||||
#endif
|
||||
#ifndef Z_MAX_PIN
|
||||
#define Z_MAX_PIN P1_24 // Z+
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define ONBOARD_ENDSTOPPULLUPS // Board has built-in pullups
|
||||
|
|
@ -233,9 +262,7 @@
|
|||
|
||||
#elif ENABLED(ANET_FULL_GRAPHICS_LCD)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_V1_3", "ANET_FULL_GRAPHICS_LCD")
|
||||
|
||||
/**
|
||||
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
|
||||
|
|
@ -269,9 +296,7 @@
|
|||
|
||||
#elif ENABLED(WYH_L12864)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! WYH_L12864 requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_V1_3", "WYH_L12864")
|
||||
|
||||
/**
|
||||
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
|
||||
|
|
@ -367,9 +392,7 @@
|
|||
|
||||
#elif ENABLED(MKS_TS35_V2_0)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! MKS_TS35_V2_0 requires wiring modifications. The SKR 1.3 EXP ports are rotated 180° from what the MKS_TS35_V2_0 expects. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this error.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_V1_3", "MKS_TS35_V2_0", " The SKR 1.3 EXP ports are rotated 180°.")
|
||||
|
||||
/** ------ ------
|
||||
* BEEPER | 1 2 | BTN_ENC SPI1_MISO | 1 2 | SPI1_SCK
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BigTreeTech SKR 1.4 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/BTT%20SKR%20V1.4%20+%20Turbo/BTT%20SKR%20V1.4-SCH.pdf
|
||||
* Origin: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.4/Hardware/BTT%20SKR%20V1.4-SCH.pdf
|
||||
* Schematic: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.4/Hardware/BTT%20SKR%20V1.4-SCH.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -235,19 +234,10 @@
|
|||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
|
||||
#define X_SERIAL_TX_PIN P1_10
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
|
||||
#define Y_SERIAL_TX_PIN P1_09
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
|
||||
#define Z_SERIAL_TX_PIN P1_08
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
|
||||
#define E0_SERIAL_TX_PIN P1_04
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
|
||||
#define E1_SERIAL_TX_PIN P1_01
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
@ -297,9 +287,7 @@
|
|||
#elif HAS_WIRED_LCD
|
||||
|
||||
#if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ANET_FULL_GRAPHICS_LCD_ALT_WIRING requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_V1_4", "ANET_FULL_GRAPHICS_LCD_ALT_WIRING")
|
||||
|
||||
/**
|
||||
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
|
||||
|
|
@ -331,9 +319,7 @@
|
|||
#define BEEPER_PIN EXP1_08_PIN
|
||||
|
||||
#elif ENABLED(ANET_FULL_GRAPHICS_LCD)
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_V1_4", "ANET_FULL_GRAPHICS_LCD")
|
||||
|
||||
/**
|
||||
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
|
||||
|
|
@ -451,9 +437,7 @@
|
|||
|
||||
#elif ENABLED(MKS_TS35_V2_0)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! MKS_TS35_V2_0 requires wiring modifications. The SKR 1.4 EXP ports are rotated 180° from what the MKS_TS35_V2_0 expects. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this error.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_V1_4", "MKS_TS35_V2_0", " The SKR 1.4 EXP ports are rotated 180°.")
|
||||
|
||||
/** ------ ------
|
||||
* BEEPER | 1 2 | BTN_ENC SPI1_MISO | 1 2 | SPI1_SCK
|
||||
|
|
@ -598,8 +582,8 @@
|
|||
//
|
||||
// NeoPixel LED
|
||||
//
|
||||
#ifndef NEOPIXEL_PIN
|
||||
#define NEOPIXEL_PIN P1_24
|
||||
#ifndef BOARD_NEOPIXEL_PIN
|
||||
#define BOARD_NEOPIXEL_PIN P1_24
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@
|
|||
#define E2_CS_PIN EXP1_06_PIN
|
||||
#if HAS_TMC_UART
|
||||
#define E2_SERIAL_TX_PIN EXP1_06_PIN
|
||||
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
@ -186,7 +185,6 @@
|
|||
#define E3_CS_PIN EXP1_04_PIN
|
||||
#if HAS_TMC_UART
|
||||
#define E3_SERIAL_TX_PIN EXP1_04_PIN
|
||||
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||
#endif
|
||||
#else
|
||||
#define E3_ENABLE_PIN EXP2_07_PIN
|
||||
|
|
@ -201,7 +199,6 @@
|
|||
#define E4_CS_PIN EXP1_02_PIN
|
||||
#if HAS_TMC_UART
|
||||
#define E4_SERIAL_TX_PIN EXP1_02_PIN
|
||||
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||
#endif
|
||||
#else
|
||||
#define E4_ENABLE_PIN EXP2_07_PIN
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* eMotion-Tech eMotronic pin assignments
|
||||
* Schematic: http://green-candy.osdn.jp/external/MarlinFW/board_schematics/eMotion-Tech%20eMotronic/eMotronic_brd_sources_1.0.4/eMotronic_sch.pdf
|
||||
* Origin: https://data.emotion-tech.com/ftp/Datasheets_et_sources/Sources/eMotronic_brd_sources_1.0.4.zip
|
||||
* Schematic: https://data.emotion-tech.com/ftp/Datasheets_et_sources/Sources/eMotronic_brd_sources_1.0.4.zip
|
||||
*
|
||||
* Board pins<->features assignments are based on the
|
||||
* Micro-Delta Rework printer default connections.
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* GMARSH X6 Rev.1 pin assignments
|
||||
* Schematic: http://green-candy.osdn.jp/external/MarlinFW/board_schematics/GMARSH%20X6%20Rev.1/armprinter_2208_1heater.pdf
|
||||
* Origin: https://github.com/gmarsh/gmarsh_x6/blob/master/armprinter_2208_1heater.pdf
|
||||
* Schematic: https://github.com/gmarsh/gmarsh_x6/blob/master/armprinter_2208_1heater.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -88,22 +87,11 @@
|
|||
//
|
||||
#if HAS_TMC_UART
|
||||
#define X_SERIAL_TX_PIN P1_00
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
|
||||
#define Y_SERIAL_TX_PIN P1_09
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
|
||||
#define Z_SERIAL_TX_PIN P1_16
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
|
||||
#define E0_SERIAL_TX_PIN P0_04
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
|
||||
#define E1_SERIAL_TX_PIN P2_02
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
|
||||
#define E2_SERIAL_TX_PIN P2_06
|
||||
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
/**
|
||||
* Makerbase MKS SBASE pin assignments
|
||||
* Schematic (V1.3): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/MKS%20SBASE%20V1.3/MKS%20SBASE%20V1.3_002%20SCH.pdf
|
||||
* Origin (V1.3): http://green-candy.osdn.jp/external/MarlinFW/board_schematics/MKS%20SBASE%20V1.3/MKS%20SBASE%20V1.3_002%20SCH.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -63,6 +61,13 @@
|
|||
#define Z_MIN_PROBE_PIN P4_28 // Connector J8
|
||||
#endif
|
||||
|
||||
//
|
||||
// Probe enable
|
||||
//
|
||||
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
|
||||
#define PROBE_ENABLE_PIN SERVO0_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
|
|
@ -206,19 +211,19 @@
|
|||
* ------ ------
|
||||
* EXP1 EXP2
|
||||
*/
|
||||
#define EXP1_01_PIN P1_31
|
||||
#define EXP1_02_PIN P1_30
|
||||
#define EXP1_03_PIN P0_18
|
||||
#define EXP1_04_PIN P0_16
|
||||
#define EXP1_05_PIN P0_15
|
||||
#define EXP1_01_PIN P1_31
|
||||
#define EXP1_02_PIN P1_30
|
||||
#define EXP1_03_PIN P0_18
|
||||
#define EXP1_04_PIN P0_16
|
||||
#define EXP1_05_PIN P0_15
|
||||
|
||||
#define EXP2_01_PIN P0_08
|
||||
#define EXP2_02_PIN P0_07
|
||||
#define EXP2_03_PIN P3_25
|
||||
#define EXP2_04_PIN P0_28
|
||||
#define EXP2_05_PIN P3_26
|
||||
#define EXP2_06_PIN P0_09
|
||||
#define EXP2_07_PIN P0_27
|
||||
#define EXP2_01_PIN P0_08
|
||||
#define EXP2_02_PIN P0_07
|
||||
#define EXP2_03_PIN P3_25
|
||||
#define EXP2_04_PIN P0_28
|
||||
#define EXP2_05_PIN P3_26
|
||||
#define EXP2_06_PIN P0_09
|
||||
#define EXP2_07_PIN P0_27
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Makerbase MKS SGEN-L pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/MKS_GEN_L_V1_0/MKS%20Gen_L%20V1.0_008%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/SGEN_L/blob/master/Hardware/MKS%20SGEN_L%20V1.0_001/MKS%20SGEN_L%20V1.0_001%20SCH.pdf
|
||||
* Schematic: https://github.com/makerbase-mks/SGEN_L/blob/master/Hardware/MKS%20SGEN_L%20V1.0_001/MKS%20SGEN_L%20V1.0_001%20SCH.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -95,6 +94,13 @@
|
|||
#define Z_MIN_PROBE_PIN P1_24
|
||||
#endif
|
||||
|
||||
//
|
||||
// Probe enable
|
||||
//
|
||||
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
|
||||
#define PROBE_ENABLE_PIN SERVO0_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Re-ARM with RAMPS v1.4 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Re-ARM%20RAMPS%201.4/Re_ARM_Schematic.pdf
|
||||
* Origin: https://reprap.org/mediawiki/images/f/fa/Re_ARM_Schematic.pdf
|
||||
* Schematic: https://reprap.org/mediawiki/images/f/fa/Re_ARM_Schematic.pdf
|
||||
*
|
||||
* Applies to the following boards:
|
||||
*
|
||||
|
|
@ -125,30 +124,18 @@
|
|||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN P0_01
|
||||
#endif
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef Y_SERIAL_TX_PIN
|
||||
#define Y_SERIAL_TX_PIN P0_00
|
||||
#endif
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef Z_SERIAL_TX_PIN
|
||||
#define Z_SERIAL_TX_PIN P2_13
|
||||
#endif
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef E0_SERIAL_TX_PIN
|
||||
#define E0_SERIAL_TX_PIN P2_08
|
||||
#endif
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
@ -188,14 +175,14 @@
|
|||
|
||||
#define HEATER_0_PIN MOSFET_A_PIN
|
||||
|
||||
#if FET_ORDER_EFB // Hotend, Fan, Bed
|
||||
#if ENABLED(FET_ORDER_EFB) // Hotend, Fan, Bed
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEF // Hotend, Hotend, Fan
|
||||
#elif ENABLED(FET_ORDER_EEF) // Hotend, Hotend, Fan
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#elif ENABLED(FET_ORDER_EEB) // Hotend, Hotend, Bed
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EFF // Hotend, Fan, Fan
|
||||
#elif ENABLED(FET_ORDER_EFF) // Hotend, Fan, Fan
|
||||
#define FAN1_PIN MOSFET_C_PIN
|
||||
#elif DISABLED(FET_ORDER_SF) // Not Spindle, Fan (i.e., "EFBF" or "EFBE")
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
|
|
@ -211,7 +198,7 @@
|
|||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#elif ANY(FET_ORDER_EEF, FET_ORDER_SF) // Hotend, Hotend, Fan or Spindle, Fan
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#elif ENABLED(FET_ORDER_EEB) // Hotend, Hotend, Bed
|
||||
#define FAN0_PIN P1_18 // (4) IO pin. Buffer needed
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
|
|
@ -308,9 +295,7 @@
|
|||
|
||||
#elif ENABLED(ZONESTAR_LCD)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ZONESTAR_LCD on REARM requires wiring modifications. NB. ADCs are not 5V tolerant. See 'pins_RAMPS_RE_ARM.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("RAMPS_RE_ARM", "ZONESTAR_LCD", " ADCs are not 5V tolerant.")
|
||||
|
||||
#elif IS_TFTGLCD_PANEL
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Selena Compact pin assignments
|
||||
* Pinout: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Selena%20Compact/Compact%20Pinout.pdf
|
||||
* Origin: https://github.com/f61/Selena/blob/master/Compact%20Pinout.pdf
|
||||
* Schematic: https://github.com/f61/Selena/blob/master/Compact%20Pinout.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Azteeg X5 GT pin assignments
|
||||
* Wiring diagram: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Azteeg%20X5%20GT/X5%20GT%20Wiring%20Diagram.pdf
|
||||
* Origin: https://panucattdevices.freshdesk.com/support/solutions/articles/1000244740-support-files
|
||||
* Schematic: https://panucattdevices.freshdesk.com/support/solutions/articles/1000244740-support-files
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,10 +23,7 @@
|
|||
|
||||
/**
|
||||
* Azteeg X5 MINI pin assignments
|
||||
* Schematic (V1): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Azteeg%20X5%20MINI/x5mini_design_files/X5mini_design_files/V1/X5%20Mini%20PUB%20v1.0.pdf
|
||||
* Schematic (V2): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Azteeg%20X5%20MINI/x5mini_design_files/X5mini_design_files/V2/X5%20Mini%20V2%20SCH%20Pub.pdf
|
||||
* Schematic (V3): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Azteeg%20X5%20MINI/x5mini_design_files/X5mini_design_files/V3/X5%20Mini%20V3%20SCH%20Pub.pdf
|
||||
* Origin: http://files.panucatt.com/datasheets/x5mini_design_files.zip
|
||||
* Schematic: http://files.panucatt.com/datasheets/x5mini_design_files.zip
|
||||
*/
|
||||
#include "env_validate.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Azteeg X5 MINI WIFI pin assignments
|
||||
* Wiring diagram: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Azteeg%20X5%20MINI%20WIFI/x5mini_wifi_wiring.pdf
|
||||
* Origin: http://files.panucatt.com/datasheets/x5mini_wifi_wiring.pdf
|
||||
* Schematic: http://files.panucatt.com/datasheets/x5mini_wifi_wiring.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BigTreeTech SKR E3 Turbo pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/BTT%20SKR%20E3%20Turbo/BTT%20SKR%20E3%20Turbo-SCH.pdf
|
||||
* Origin: https://github.com/bigtreetech/BIGTREETECH-SKR-E3-Turbo/blob/master/Hardware/BTT%20SKR%20E3%20Turbo-SCH.pdf
|
||||
* Schematic: https://github.com/bigtreetech/BIGTREETECH-SKR-E3-Turbo/blob/master/Hardware/BTT%20SKR%20E3%20Turbo-SCH.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -66,6 +65,13 @@
|
|||
#define Z_MIN_PROBE_PIN P1_22
|
||||
#endif
|
||||
|
||||
//
|
||||
// Probe enable
|
||||
//
|
||||
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
|
||||
#define PROBE_ENABLE_PIN SERVO0_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Filament Runout Sensor
|
||||
//
|
||||
|
|
@ -80,8 +86,8 @@
|
|||
#endif
|
||||
|
||||
// LED driving pin
|
||||
#ifndef NEOPIXEL_PIN
|
||||
#define NEOPIXEL_PIN P1_24
|
||||
#ifndef BOARD_NEOPIXEL_PIN
|
||||
#define BOARD_NEOPIXEL_PIN P1_24
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
@ -138,19 +144,10 @@
|
|||
*/
|
||||
|
||||
#define X_SERIAL_TX_PIN P1_01
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
|
||||
#define Y_SERIAL_TX_PIN P1_10
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
|
||||
#define Z_SERIAL_TX_PIN P1_17
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
|
||||
#define E0_SERIAL_TX_PIN P0_05
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
|
||||
#define E1_SERIAL_TX_PIN P0_22
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
@ -212,9 +209,8 @@
|
|||
#define EXP1_08_PIN P0_18
|
||||
|
||||
#if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! Ender-3 V2 display requires a custom cable with TX = P0_15, RX = P0_16. See 'pins_BTT_SKR_E3_TURBO.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
|
||||
CONTROLLER_WARNING("BTT_SKR_E3_TURBO", "Ender-3 V2 display", " Requires a custom cable with TX = P0_15, RX = P0_16.")
|
||||
|
||||
/**
|
||||
* Ender-3 V2 display SKR E3 Turbo (EXP1) Ender-3 V2 display --> SKR E3 Turbo
|
||||
|
|
@ -248,9 +244,7 @@
|
|||
|
||||
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_E3_TURBO.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("BTT_SKR_E3_TURBO", "ZONESTAR_LCD")
|
||||
|
||||
#define LCD_PINS_RS EXP1_06_PIN
|
||||
#define LCD_PINS_EN EXP1_02_PIN
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BigTreeTech SKR 1.4 Turbo pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/BTT%20SKR%20V1.4%20+%20Turbo/BTT%20SKR%20V1.4-SCH.pdf
|
||||
* Origin: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.4/Hardware/BTT%20SKR%20V1.4-SCH.pdf
|
||||
* Schematic: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/blob/master/BTT%20SKR%20V1.4/Hardware/BTT%20SKR%20V1.4-SCH.pdf
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.4 TURBO"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Cohesion3D Mini pin assignments
|
||||
* Pinout: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Cohesion3D%20Mini/c3d-pinout.jpg
|
||||
* Origin: https://lasergods.com/cohesion3d-mini-pinout-diagram/
|
||||
* Schematic: https://lasergods.com/cohesion3d-mini-pinout-diagram/
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Cohesion3D ReMix pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Cohesion3D%20ReMix/C3D%20ReMix%20rev2.svg
|
||||
* Origin: https://github.com/Cohesion3D/Cohesion3D-ReMix/blob/master/C3D%20ReMix%20rev2.sch
|
||||
* Schematic: https://github.com/Cohesion3D/Cohesion3D-ReMix/blob/master/C3D%20ReMix%20rev2.sch
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* FLYmaker FLY-CDY pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/FLYmaker%20FLY-CDY%20V1/FLY_CDY%20SCH.pdf
|
||||
* Origin: https://github.com/Mellow-3D/FLY-CDY/blob/master/Motherboard%20information/FLY_CDY%20SCH.pdf
|
||||
* Schematic: https://github.com/Mellow-3D/FLY-CDY/blob/master/Motherboard%20information/FLY_CDY%20SCH.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -108,22 +107,11 @@
|
|||
|
||||
#if HAS_TMC_UART
|
||||
#define X_SERIAL_TX_PIN P1_04
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
|
||||
#define Y_SERIAL_TX_PIN P1_10
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
|
||||
#define Z_SERIAL_TX_PIN P1_16
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
|
||||
#define E0_SERIAL_TX_PIN P4_28
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
|
||||
#define E1_SERIAL_TX_PIN P2_12
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
|
||||
#define E2_SERIAL_TX_PIN P0_10
|
||||
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MKS SGen pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/MKS%20SGEN/MKS%20SGEN%20V1.0_001%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/MKS-SGen/blob/master/Hardware/MKS%20SGEN%20V1.0_001/MKS%20SGEN%20V1.0_001%20SCH.pdf
|
||||
* Schematic: https://github.com/makerbase-mks/MKS-SGen/blob/master/Hardware/MKS%20SGEN%20V1.0_001/MKS%20SGEN%20V1.0_001%20SCH.pdf
|
||||
*
|
||||
* Pins diagram:
|
||||
* https://github.com/makerbase-mks/MKS-SGen/blob/master/Hardware/MKS%20SGEN%20V1.0_001/MKS%20SGEN%20V1.0_001%20PIN.pdf
|
||||
|
|
@ -37,23 +36,14 @@
|
|||
#include "../lpc1768/pins_MKS_SBASE.h"
|
||||
|
||||
#if HAS_TMC_UART
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
*/
|
||||
//
|
||||
// TMC2208/TMC2209 stepper drivers
|
||||
//
|
||||
#define X_SERIAL_TX_PIN P1_22 // J8-2
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
|
||||
#define Y_SERIAL_TX_PIN P1_23 // J8-3
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
|
||||
#define Z_SERIAL_TX_PIN P2_12 // J8-4
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
|
||||
#define E0_SERIAL_TX_PIN P2_11 // J8-5
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
|
||||
#define E1_SERIAL_TX_PIN P4_28 // J8-6
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MKS SGen-L V2 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/MKS%20SGEN_L%20V2/MKS%20SGEN_L%20V2.0_003%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/MKS-SGEN_L-V2/blob/master/Hardware/MKS%20SGEN_L%20V2.0_003/MKS%20SGEN_L%20V2.0_003%20SCH.pdf
|
||||
* Schematic: https://github.com/makerbase-mks/MKS-SGEN_L-V2/blob/master/Hardware/MKS%20SGEN_L%20V2.0_003/MKS%20SGEN_L%20V2.0_003%20SCH.pdf
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
@ -103,6 +102,13 @@
|
|||
#define Z_MIN_PROBE_PIN P1_24
|
||||
#endif
|
||||
|
||||
//
|
||||
// Probe enable
|
||||
//
|
||||
#if ENABLED(PROBE_ENABLE_DISABLE) && !defined(PROBE_ENABLE_PIN)
|
||||
#define PROBE_ENABLE_PIN SERVO0_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// Filament Runout Sensor
|
||||
//
|
||||
|
|
@ -180,19 +186,10 @@
|
|||
//#define E4_HARDWARE_SERIAL Serial1
|
||||
|
||||
#define X_SERIAL_TX_PIN P1_01
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
|
||||
#define Y_SERIAL_TX_PIN P1_08
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
|
||||
#define Z_SERIAL_TX_PIN P1_10
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
|
||||
#define E0_SERIAL_TX_PIN P1_15
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
|
||||
#define E1_SERIAL_TX_PIN P1_17
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
|
|
|
|||
|
|
@ -23,14 +23,13 @@
|
|||
|
||||
/**
|
||||
* Smoothieware Smoothieboard pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Smoothieware%20Smoothieboard%20V1/http.i.imgur.com.oj4zqs3.png
|
||||
* Origin: http://smoothieware.org/_media///external/http.i.imgur.com.oj4zqs3.png
|
||||
* See https://smoothieware.github.io/Webif-pack/documentation/web/html/smoothieboard.html
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Smoothieboard"
|
||||
#define BOARD_WEBSITE_URL "smoothieware.org/smoothieboard"
|
||||
#define BOARD_WEBSITE_URL "smoothieware.github.io"
|
||||
|
||||
//
|
||||
// Servos
|
||||
|
|
@ -132,12 +131,7 @@
|
|||
|
||||
/**
|
||||
* The Smoothieboard supports the REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with either
|
||||
* a custom cable with breakouts to the pins indicated below or the RRD GLCD Adapter board
|
||||
* found at http://smoothieware.org/rrdglcdadapter
|
||||
*
|
||||
* Other links to information about setting up a display panel with Smoothieboard
|
||||
* http://chibidibidiwah.wdfiles.com/local--files/panel/smoothieboard2sd.jpg
|
||||
* http://smoothieware.org/panel
|
||||
* a custom cable with breakouts to the pins indicated below or the RRD GLCD Adapter board.
|
||||
*/
|
||||
#if IS_RRD_FG_SC
|
||||
// EXP1 Pins
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
* Cheaptronic v2.0 pin assignments
|
||||
* Built and sold by Michal Dyntar - RRO
|
||||
* www.reprapobchod.cz (DOES NOT EXIST ANYMORE)
|
||||
* https://web.archive.org/web/20190306201523/http://reprapobchod.cz/
|
||||
* https://web.archive.org/web/20190306201523/reprapobchod.cz
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
/**
|
||||
* CartesioV11 pin assignments
|
||||
* Comes with an Arduino Mega, see
|
||||
* https://web.archive.org/web/20171024190029/http://mauk.cc/mediawiki/index.php/Electronical_assembly
|
||||
* https://web.archive.org/web/20171024190029/mauk.cc/mediawiki/index.php/Electronical_assembly
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
@ -149,8 +149,6 @@
|
|||
#if HAS_MARLINUI_U8GLIB
|
||||
#define DOGLCD_A0 26
|
||||
#define DOGLCD_CS 24
|
||||
#define DOGLCD_MOSI -1 // Prevent auto-define by Conditionals_post.h
|
||||
#define DOGLCD_SCK -1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
/**
|
||||
* CartesioV12 pin assignments
|
||||
* Comes with an Arduino Mega, see
|
||||
* https://web.archive.org/web/20171024190029/http://mauk.cc/mediawiki/index.php/Electronical_assembly
|
||||
* https://web.archive.org/web/20171024190029/mauk.cc/mediawiki/index.php/Electronical_assembly
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Elefu RA Board Pin Assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Elefu%20Ra%20v3/schematic.pdf
|
||||
* Origin: https://github.com/kiyoshigawa/Elefu-RAv3/blob/master/RA_Circuits.zip
|
||||
* Schematic: https://github.com/kiyoshigawa/Elefu-RAv3/blob/master/RA_Circuits.zip
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -25,8 +25,7 @@
|
|||
* Geeetech GT2560 Revision A board pin assignments, based on the work of
|
||||
* George Robles (https://georges3dprinters.com) and
|
||||
* Richard Smith <galorin@gmail.com>
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Geeetech%20GT2560%20Revision%20A/GT2560_sch.pdf
|
||||
* Origin: https://www.geeetech.com/wiki/images/9/90/GT2560_sch.pdf
|
||||
* Schematic: https://www.geeetech.com/wiki/images/9/90/GT2560_sch.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Geeetech GT2560 Revision A+ board pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Geeetech%20GT2560%20Revision%20A+/Hardware_GT2560_RevA+.pdf
|
||||
* Origin: https://www.geeetech.com/wiki/images/d/d3/Hardware_GT2560_RevA%2B.pdf
|
||||
* Schematic: https://www.geeetech.com/wiki/images/d/d3/Hardware_GT2560_RevA%2B.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Geeetech GT2560 Rev B Pins
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Geeetech%20GT2560%20Rev%20B/GT2560_REVB.pdf
|
||||
* Origin: https://www.geeetech.com/wiki/images/7/72/GT2560_REVB.pdf
|
||||
* Schematic: https://www.geeetech.com/wiki/images/7/72/GT2560_REVB.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Geeetech GT2560 3.0/3.1 pin assignments
|
||||
* Schematic (3.0): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Geeetech%20GT2560%203.0/GT2560_V3.0_SCH.pdf
|
||||
* Origin (3.0): https://github.com/Geeetech3D/Diagram/blob/master/GT2560_V3.0_SCH.pdf
|
||||
* Schematic (3.0): https://github.com/Geeetech3D/Diagram/blob/master/GT2560_V3.0_SCH.pdf
|
||||
* ATmega2560
|
||||
*
|
||||
* Also GT2560 RevB and GT2560 4.0/4.1
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@
|
|||
#define LCD_PINS_D7 6
|
||||
#endif
|
||||
|
||||
#ifndef SPEAKER
|
||||
#define SPEAKER // The speaker can produce tones
|
||||
#endif
|
||||
|
||||
#if IS_NEWPANEL
|
||||
#define BTN_EN1 16
|
||||
#define BTN_EN2 17
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@
|
|||
|
||||
/**
|
||||
* Geeetech GT2560 V4.X Pins
|
||||
* Schematic (4.0): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Geeetech%20GT2560%20V4.x%20+%20A20/GT2560V4.0SCHA20T.pdf
|
||||
* Schematic (4.1B): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Geeetech%20GT2560%20V4.x%20+%20A20/GT2560V4.1BSCHA20T.pdf
|
||||
* Origin: https://www.geeetech.com/download.html?spm=a2g0s.imconversation.0.0.22d23e5fXlQBWv&download_id=45
|
||||
* Schematic: https://www.geeetech.com/download.html?spm=a2g0s.imconversation.0.0.22d23e5fXlQBWv&download_id=45
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "GT2560 4.x"
|
||||
|
|
|
|||
|
|
@ -35,10 +35,6 @@
|
|||
#define LCD_PINS_D7 6
|
||||
#endif
|
||||
|
||||
#ifndef SPEAKER
|
||||
#define SPEAKER // The speaker can produce tones
|
||||
#endif
|
||||
|
||||
#if IS_NEWPANEL
|
||||
#define BTN_EN1 16
|
||||
#define BTN_EN2 17
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Mega controller pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Mega%20Controller/Mega_controller.pdf
|
||||
* Origin: https://reprap.org/mediawiki/images/b/ba/Mega_controller.pdf
|
||||
* Schematic: https://reprap.org/mediawiki/images/b/ba/Mega_controller.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MegaTronics pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/MegaTronics/Megatronics_1_0_sch.pdf
|
||||
* Origin: https://reprap.org/mediawiki/images/a/a3/Megatronics_1_0_sch.pdf
|
||||
* Schematic: https://reprap.org/mediawiki/images/a/a3/Megatronics_1_0_sch.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MegaTronics v2.0 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Megatronics%20v2.0/megatronics%20-%20Project.pdf
|
||||
* Origin: https://reprap.org/wiki/File:Megatronicsv2PDF.zip
|
||||
* Schematic: https://reprap.org/wiki/File:Megatronicsv2PDF.zip
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
/**
|
||||
* MegaTronics v3.0 / v3.1 / v3.2 pin assignments
|
||||
* Schematic Origin: https://github.com/brupje/Megatronics_3/blob/master/Design%20Files/megatronics.sch
|
||||
* Schematic: https://github.com/brupje/Megatronics_3/blob/master/Design%20Files/megatronics.sch
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Mightyboard Rev.E pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Mightyboard%20Rev.E/MakerBot%20MightyBoard%20REVE%20Schematic.pdf
|
||||
* Origin: https://github.com/sciguy14/HelioWatcher/blob/master/HelioWatcher%20Circuit/MakerBot%20MightyBoard%20REVE%20Schematic.pdf
|
||||
* Schematic: https://github.com/sciguy14/HelioWatcher/blob/master/HelioWatcher%20Circuit/MakerBot%20MightyBoard%20REVE%20Schematic.pdf
|
||||
* also works for Rev D boards. It's all rev E despite what the silk screen says
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,10 +23,8 @@
|
|||
|
||||
/**
|
||||
* Minitronics v1.0/1.1 pin assignments
|
||||
* Schematic (1.0): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Minitronics%20v1.0/minitronics%20-%20Project.pdf
|
||||
* Origin (1.0): https://reprap.org/wiki/File:MinitronicsPDF.zip
|
||||
* Datasheet (1.1): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Minitronics%20v1.1/datasheet%20minitronics%20v1.1.pdf
|
||||
* Origin (1.1): https://reprapworld.nl/documentation/datasheet%20minitronics%20v1.1.pdf
|
||||
* Schematic (1.0): https://reprap.org/wiki/File:MinitronicsPDF.zip
|
||||
* Schematic (1.1): https://reprapworld.nl/documentation/datasheet%20minitronics%20v1.1.pdf
|
||||
* ATmega1281
|
||||
*/
|
||||
|
||||
|
|
@ -46,12 +44,9 @@
|
|||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 5
|
||||
#define X_MAX_PIN 2
|
||||
#define Y_MIN_PIN 2
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 6
|
||||
#define Z_MAX_PIN -1
|
||||
#define X_STOP_PIN 5
|
||||
#define Y_STOP_PIN 2
|
||||
#define Z_STOP_PIN 6
|
||||
|
||||
//
|
||||
// Steppers
|
||||
|
|
@ -60,13 +55,13 @@
|
|||
#define X_DIR_PIN 47
|
||||
#define X_ENABLE_PIN 49
|
||||
|
||||
#define Y_STEP_PIN 39 // A6
|
||||
#define Y_DIR_PIN 40 // A0
|
||||
#define Y_STEP_PIN 39
|
||||
#define Y_DIR_PIN 40
|
||||
#define Y_ENABLE_PIN 38
|
||||
|
||||
#define Z_STEP_PIN 42 // A2
|
||||
#define Z_DIR_PIN 43 // A6
|
||||
#define Z_ENABLE_PIN 41 // A1
|
||||
#define Z_STEP_PIN 42
|
||||
#define Z_DIR_PIN 43
|
||||
#define Z_ENABLE_PIN 41
|
||||
|
||||
#define E0_STEP_PIN 45
|
||||
#define E0_DIR_PIN 44
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Dreammaker Overlord v1.1 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Dreammaker%20Overlord%20v1.1/Schematic.pdf
|
||||
* Origin: https://github.com/jdpiercy/Overlord-Pro/blob/master/Motherboard/Schematic.pdf
|
||||
* Schematic: https://github.com/jdpiercy/Overlord-Pro/blob/master/Motherboard/Schematic.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Arduino Mega with PICA pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/PICA/pica_schematic.pdf
|
||||
* Origin: https://github.com/mjrice/PICA/blob/master/pica_schematic.pdf
|
||||
* Schematic: https://github.com/mjrice/PICA/blob/master/pica_schematic.pdf
|
||||
* ATmega2560
|
||||
*
|
||||
* PICA is Power, Interface, and Control Adapter and is open source hardware.
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
// Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/PICAOLD/pica_schematic.pdf
|
||||
// Origin: https://github.com/mjrice/PICA/blob/97ab9e7771a8e5eef97788f3adcc17a9fa9de9b9/pica_schematic.pdf
|
||||
// Schematic: https://github.com/mjrice/PICA/blob/97ab9e7771a8e5eef97788f3adcc17a9fa9de9b9/pica_schematic.pdf
|
||||
// ATmega2560
|
||||
|
||||
#define HEATER_0_PIN 9 // E0
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Protoneer v3.00 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Protoneer%20CNC%20Shield%20v3.00/Arduino-CNC-Shield-Scematics-V3.XX_.webp
|
||||
* Origin: https://i0.wp.com/blog.protoneer.co.nz/wp-content/uploads/2013/07/Arduino-CNC-Shield-Scematics-V3.XX_.jpg
|
||||
* Schematic: https://i0.wp.com/blog.protoneer.co.nz/wp-content/uploads/2013/07/Arduino-CNC-Shield-Scematics-V3.XX_.jpg
|
||||
* ATmega2560
|
||||
*
|
||||
* This CNC shield has an UNO pinout and fits all Arduino-compatibles.
|
||||
|
|
|
|||
|
|
@ -22,31 +22,11 @@
|
|||
#pragma once
|
||||
|
||||
/**
|
||||
* Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments
|
||||
*
|
||||
* Applies to the following boards:
|
||||
*
|
||||
* RAMPS_14_EFB (Hotend, Fan, Bed)
|
||||
* RAMPS_14_EEB (Hotend0, Hotend1, Bed)
|
||||
* RAMPS_14_EFF (Hotend, Fan0, Fan1)
|
||||
* RAMPS_14_EEF (Hotend0, Hotend1, Fan)
|
||||
* RAMPS_14_SF (Spindle, Controller Fan)
|
||||
*
|
||||
* RAMPS_13_EFB (Hotend, Fan, Bed)
|
||||
* RAMPS_13_EEB (Hotend0, Hotend1, Bed)
|
||||
* RAMPS_13_EFF (Hotend, Fan0, Fan1)
|
||||
* RAMPS_13_EEF (Hotend0, Hotend1, Fan)
|
||||
* RAMPS_13_SF (Spindle, Controller Fan)
|
||||
*
|
||||
* Other pins_MYBOARD.h files may override these defaults
|
||||
*
|
||||
* Differences between
|
||||
* RAMPS_13 | RAMPS_14
|
||||
* 7 | 11
|
||||
* Native with a RAMPS like board with additional pins
|
||||
*/
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "RAMPS 1.4"
|
||||
#define BOARD_INFO_NAME "RAMPS Native"
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_MACHINE_NAME
|
||||
|
|
@ -60,28 +40,24 @@
|
|||
//
|
||||
// Servos
|
||||
//
|
||||
#ifdef IS_RAMPS_13
|
||||
#define SERVO0_PIN 7 // RAMPS_13 // Will conflict with BTN_EN2 on LCD_I2C_VIKI
|
||||
#else
|
||||
#define SERVO0_PIN 11
|
||||
#endif
|
||||
#define SERVO1_PIN 6
|
||||
#define SERVO2_PIN 5
|
||||
#define SERVO0_PIN 151
|
||||
#define SERVO1_PIN 152
|
||||
#define SERVO2_PIN 153
|
||||
#ifndef SERVO3_PIN
|
||||
#define SERVO3_PIN 4
|
||||
#define SERVO3_PIN 154
|
||||
#endif
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 155
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 2
|
||||
#define X_MAX_PIN 156
|
||||
#endif
|
||||
#define Y_MIN_PIN 14
|
||||
#define Y_MAX_PIN 15
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define Y_MIN_PIN 157
|
||||
#define Y_MAX_PIN 158
|
||||
#define Z_MIN_PIN 159
|
||||
#define Z_MAX_PIN 160
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
|
|
@ -128,12 +104,60 @@
|
|||
#define E1_CS_PIN 44
|
||||
#endif
|
||||
|
||||
#define E2_STEP_PIN 100
|
||||
#define E2_DIR_PIN 101
|
||||
#define E2_ENABLE_PIN 102
|
||||
#ifndef E2_CS_PIN
|
||||
#define E2_CS_PIN 103
|
||||
#endif
|
||||
|
||||
#define E3_STEP_PIN 104
|
||||
#define E3_DIR_PIN 105
|
||||
#define E3_ENABLE_PIN 106
|
||||
#ifndef E3_CS_PIN
|
||||
#define E3_CS_PIN 107
|
||||
#endif
|
||||
|
||||
#define E4_STEP_PIN 108
|
||||
#define E4_DIR_PIN 109
|
||||
#define E4_ENABLE_PIN 110
|
||||
#ifndef E4_CS_PIN
|
||||
#define E4_CS_PIN 111
|
||||
#endif
|
||||
|
||||
#define E5_STEP_PIN 112
|
||||
#define E5_DIR_PIN 113
|
||||
#define E5_ENABLE_PIN 114
|
||||
#ifndef E5_CS_PIN
|
||||
#define E5_CS_PIN 115
|
||||
#endif
|
||||
|
||||
#define E6_STEP_PIN 116
|
||||
#define E6_DIR_PIN 117
|
||||
#define E6_ENABLE_PIN 118
|
||||
#ifndef E6_CS_PIN
|
||||
#define E6_CS_PIN 119
|
||||
#endif
|
||||
|
||||
#define E7_STEP_PIN 120
|
||||
#define E7_DIR_PIN 121
|
||||
#define E7_ENABLE_PIN 122
|
||||
#ifndef E7_CS_PIN
|
||||
#define E7_CS_PIN 123
|
||||
#endif
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_0_PIN 0 // Analog Input
|
||||
#define TEMP_1_PIN 1 // Analog Input
|
||||
#define TEMP_BED_PIN 2 // Analog Input
|
||||
#define TEMP_2_PIN 2 // Analog Input
|
||||
#define TEMP_3_PIN 3 // Analog Input
|
||||
#define TEMP_4_PIN 4 // Analog Input
|
||||
#define TEMP_5_PIN 5 // Analog Input
|
||||
#define TEMP_6_PIN 6 // Analog Input
|
||||
#define TEMP_7_PIN 7 // Analog Input
|
||||
#define TEMP_BED_PIN 8 // Analog Input
|
||||
|
||||
// SPI for MAX Thermocouple
|
||||
#if !HAS_MEDIA
|
||||
|
|
@ -145,55 +169,33 @@
|
|||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#ifndef MOSFET_A_PIN
|
||||
#define MOSFET_A_PIN 10
|
||||
#endif
|
||||
#ifndef MOSFET_B_PIN
|
||||
#define MOSFET_B_PIN 9
|
||||
#endif
|
||||
#ifndef MOSFET_C_PIN
|
||||
#define MOSFET_C_PIN 8
|
||||
#endif
|
||||
#ifndef MOSFET_D_PIN
|
||||
#define MOSFET_D_PIN -1
|
||||
#endif
|
||||
|
||||
#define HEATER_0_PIN MOSFET_A_PIN
|
||||
|
||||
#if FET_ORDER_EFB // Hotend, Fan, Bed
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEF // Hotend, Hotend, Fan
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EFF // Hotend, Fan, Fan
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#define FAN1_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_SF // Spindle, Fan
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#if HOTENDS == 1 && DISABLED(HEATERS_PARALLEL)
|
||||
#define FAN1_PIN MOSFET_D_PIN
|
||||
#else
|
||||
#define HEATER_1_PIN MOSFET_D_PIN
|
||||
#endif
|
||||
#endif
|
||||
#define HEATER_0_PIN 10
|
||||
#define HEATER_1_PIN 9
|
||||
#define HEATER_2_PIN 8
|
||||
#define HEATER_3_PIN 125
|
||||
#define HEATER_4_PIN 126
|
||||
#define HEATER_5_PIN 127
|
||||
#define HEATER_6_PIN 128
|
||||
#define HEATER_7_PIN 129
|
||||
#define HEATER_BED_PIN 108
|
||||
|
||||
#ifndef FAN0_PIN
|
||||
#define FAN0_PIN 4 // IO pin. Buffer needed
|
||||
#define FAN0_PIN 161 // IO pin. Buffer needed
|
||||
#endif
|
||||
#define FAN1_PIN 162 // IO pin. Buffer needed
|
||||
#define FAN2_PIN 163 // IO pin. Buffer needed
|
||||
#define FAN3_PIN 164 // IO pin. Buffer needed
|
||||
#define FAN4_PIN 165 // IO pin. Buffer needed
|
||||
#define FAN5_PIN 166 // IO pin. Buffer needed
|
||||
#define FAN6_PIN 167 // IO pin. Buffer needed
|
||||
#define FAN7_PIN 168 // IO pin. Buffer needed
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define NEOPIXEL_PIN 71
|
||||
#define BOARD_NEOPIXEL_PIN 71
|
||||
|
||||
#ifndef FILWIDTH_PIN
|
||||
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
||||
|
|
@ -602,6 +604,7 @@
|
|||
#define BTN_ENC 32
|
||||
#define LCD_SDSS SDSS
|
||||
#define KILL_PIN 41
|
||||
#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
@ -725,3 +728,7 @@
|
|||
#endif // IS_NEWPANEL
|
||||
|
||||
#endif // HAS_WIRED_LCD
|
||||
|
||||
#ifndef KILL_PIN
|
||||
#define KILL_PIN EXP2_08_PIN
|
||||
#endif
|
||||
|
|
@ -39,25 +39,25 @@
|
|||
|
||||
#if NONE(FET_ORDER_EEF, FET_ORDER_EEB, FET_ORDER_EFF, FET_ORDER_EFB, FET_ORDER_SF)
|
||||
#if MB(RAMPS_13_EFB, RAMPS_14_EFB, RAMPS_PLUS_EFB, RAMPS_14_RE_ARM_EFB, RAMPS_SMART_EFB, RAMPS_DUO_EFB, RAMPS4DUE_EFB)
|
||||
#define FET_ORDER_EFB 1
|
||||
#define FET_ORDER_EFB
|
||||
#elif MB(RAMPS_13_EEB, RAMPS_14_EEB, RAMPS_PLUS_EEB, RAMPS_14_RE_ARM_EEB, RAMPS_SMART_EEB, RAMPS_DUO_EEB, RAMPS4DUE_EEB)
|
||||
#define FET_ORDER_EEB 1
|
||||
#define FET_ORDER_EEB
|
||||
#elif MB(RAMPS_13_EFF, RAMPS_14_EFF, RAMPS_PLUS_EFF, RAMPS_14_RE_ARM_EFF, RAMPS_SMART_EFF, RAMPS_DUO_EFF, RAMPS4DUE_EFF)
|
||||
#define FET_ORDER_EFF 1
|
||||
#define FET_ORDER_EFF
|
||||
#elif MB(RAMPS_13_EEF, RAMPS_14_EEF, RAMPS_PLUS_EEF, RAMPS_14_RE_ARM_EEF, RAMPS_SMART_EEF, RAMPS_DUO_EEF, RAMPS4DUE_EEF)
|
||||
#define FET_ORDER_EEF 1
|
||||
#define FET_ORDER_EEF
|
||||
#elif MB(RAMPS_13_SF, RAMPS_14_SF, RAMPS_PLUS_SF, RAMPS_14_RE_ARM_SF, RAMPS_SMART_SF, RAMPS_DUO_SF, RAMPS4DUE_SF)
|
||||
#define FET_ORDER_SF 1
|
||||
#elif HAS_MULTI_HOTEND || (HAS_EXTRUDERS && HAS_CUTTER)
|
||||
#define FET_ORDER_SF
|
||||
#elif ANY(HAS_MULTI_HOTEND, HEATERS_PARALLEL) || ALL(HAS_EXTRUDERS, HAS_CUTTER)
|
||||
#if TEMP_SENSOR_BED
|
||||
#define FET_ORDER_EEB 1
|
||||
#define FET_ORDER_EEB
|
||||
#else
|
||||
#define FET_ORDER_EEF 1
|
||||
#define FET_ORDER_EEF
|
||||
#endif
|
||||
#elif TEMP_SENSOR_BED
|
||||
#define FET_ORDER_EFB 1
|
||||
#define FET_ORDER_EFB
|
||||
#else
|
||||
#define FET_ORDER_EFF 1
|
||||
#define FET_ORDER_EFF
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
@ -72,6 +72,12 @@
|
|||
#define NOT_TARGET NONE
|
||||
#endif
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#define CONTROLLER_WARNING(PF,CN,V...) static_assert(false, "\n\nWARNING! " CN " requires wiring modification! See pins_" PF ".h for details." V "\n (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)\n\n");
|
||||
#else
|
||||
#define CONTROLLER_WARNING(...)
|
||||
#endif
|
||||
|
||||
//
|
||||
// RAMPS 1.3 / 1.4 - ATmega1280, ATmega2560
|
||||
//
|
||||
|
|
@ -116,7 +122,7 @@
|
|||
#elif MB(MKS_GEN_13)
|
||||
#include "ramps/pins_MKS_GEN_13.h" // ATmega2560, ATmega1280 env:mega2560 env:mega1280
|
||||
#elif MB(MKS_GEN_L)
|
||||
#include "ramps/pins_MKS_GEN_L.h" // ATmega2560, ATmega1280 env:mega2560 env:mega1280
|
||||
#include "ramps/pins_MKS_GEN_L.h" // ATmega2560 env:mega2560
|
||||
#elif MB(KFB_2)
|
||||
#include "ramps/pins_BIQU_KFB_2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(ZRIB_V20)
|
||||
|
|
@ -143,20 +149,20 @@
|
|||
#include "ramps/pins_AZTEEG_X3_PRO.h" // ATmega2560 env:mega2560
|
||||
#elif MB(ULTIMAIN_2)
|
||||
#include "ramps/pins_ULTIMAIN_2.h" // ATmega2560 env:mega2560ext
|
||||
#elif MB(FORMBOT_RAPTOR)
|
||||
#include "ramps/pins_FORMBOT_RAPTOR.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_RAPTOR2)
|
||||
#include "ramps/pins_FORMBOT_RAPTOR2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_TREX2PLUS)
|
||||
#include "ramps/pins_FORMBOT_TREX2PLUS.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_TREX3)
|
||||
#include "ramps/pins_FORMBOT_TREX3.h" // ATmega2560 env:mega2560
|
||||
#elif MB(RUMBA)
|
||||
#include "ramps/pins_RUMBA.h" // ATmega2560 env:mega2560
|
||||
#elif MB(RUMBA_RAISE3D)
|
||||
#include "ramps/pins_RUMBA_RAISE3D.h" // ATmega2560 env:mega2560
|
||||
#elif MB(RL200)
|
||||
#include "ramps/pins_RL200.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_TREX2PLUS)
|
||||
#include "ramps/pins_FORMBOT_TREX2PLUS.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_TREX3)
|
||||
#include "ramps/pins_FORMBOT_TREX3.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_RAPTOR)
|
||||
#include "ramps/pins_FORMBOT_RAPTOR.h" // ATmega2560 env:mega2560
|
||||
#elif MB(FORMBOT_RAPTOR2)
|
||||
#include "ramps/pins_FORMBOT_RAPTOR2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(BQ_ZUM_MEGA_3D)
|
||||
#include "ramps/pins_BQ_ZUM_MEGA_3D.h" // ATmega2560 env:mega2560ext
|
||||
#elif MB(MAKEBOARD_MINI)
|
||||
|
|
@ -189,6 +195,8 @@
|
|||
#include "ramps/pins_TANGO.h" // ATmega2560 env:mega2560
|
||||
#elif MB(MKS_GEN_L_V2)
|
||||
#include "ramps/pins_MKS_GEN_L_V2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(MKS_GEN_L_V21)
|
||||
#include "ramps/pins_MKS_GEN_L_V21.h" // ATmega2560 env:mega2560
|
||||
#elif MB(COPYMASTER_3D)
|
||||
#include "ramps/pins_COPYMASTER_3D.h" // ATmega2560 env:mega2560
|
||||
#elif MB(ORTUR_4)
|
||||
|
|
@ -197,8 +205,6 @@
|
|||
#include "ramps/pins_TENLOG_D3_HERO.h" // ATmega2560 env:mega2560
|
||||
#elif MB(TENLOG_MB1_V23)
|
||||
#include "ramps/pins_TENLOG_MB1_V23.h" // ATmega2560 env:mega2560
|
||||
#elif MB(MKS_GEN_L_V21)
|
||||
#include "ramps/pins_MKS_GEN_L_V21.h" // ATmega2560 env:mega2560
|
||||
#elif MB(RAMPS_S_12_EEFB, RAMPS_S_12_EEEB, RAMPS_S_12_EFFB)
|
||||
#include "ramps/pins_RAMPS_S_12.h" // ATmega2560 env:mega2560
|
||||
#elif MB(LONGER3D_LK1_PRO, LONGER3D_LKx_PRO)
|
||||
|
|
@ -233,12 +239,12 @@
|
|||
#include "mega/pins_CNCONTROLS_12.h" // ATmega2560, ATmega1280 env:mega2560 env:mega1280
|
||||
#elif MB(CNCONTROLS_15)
|
||||
#include "mega/pins_CNCONTROLS_15.h" // ATmega2560, ATmega1280 env:mega2560 env:mega1280
|
||||
#elif MB(MIGHTYBOARD_REVE)
|
||||
#include "mega/pins_MIGHTYBOARD_REVE.h" // ATmega2560, ATmega1280 env:mega2560ext env:MightyBoard1280 env:MightyBoard2560
|
||||
#elif MB(CHEAPTRONIC)
|
||||
#include "mega/pins_CHEAPTRONIC.h" // ATmega2560 env:mega2560
|
||||
#elif MB(CHEAPTRONIC_V2)
|
||||
#include "mega/pins_CHEAPTRONICv2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(MIGHTYBOARD_REVE)
|
||||
#include "mega/pins_MIGHTYBOARD_REVE.h" // ATmega2560, ATmega1280 env:mega2560ext env:MightyBoard1280 env:MightyBoard2560
|
||||
#elif MB(MEGATRONICS)
|
||||
#include "mega/pins_MEGATRONICS.h" // ATmega2560 env:mega2560
|
||||
#elif MB(MEGATRONICS_2)
|
||||
|
|
@ -255,18 +261,20 @@
|
|||
#include "mega/pins_GT2560_REV_A.h" // ATmega2560, ATmega1280 env:mega2560 env:mega1280
|
||||
#elif MB(GT2560_REV_A_PLUS)
|
||||
#include "mega/pins_GT2560_REV_A_PLUS.h" // ATmega2560, ATmega1280 env:mega2560 env:mega1280
|
||||
#elif MB(GT2560_V3)
|
||||
#include "mega/pins_GT2560_V3.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_REV_B)
|
||||
#include "mega/pins_GT2560_REV_B.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V4)
|
||||
#include "mega/pins_GT2560_V4.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V4_A20)
|
||||
#include "mega/pins_GT2560_V4_A20.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V3)
|
||||
#include "mega/pins_GT2560_V3.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V3_MC2)
|
||||
#include "mega/pins_GT2560_V3_MC2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V3_A20)
|
||||
#include "mega/pins_GT2560_V3_A20.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V4)
|
||||
#include "mega/pins_GT2560_V4.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V4_A20)
|
||||
#include "mega/pins_GT2560_V4_A20.h" // ATmega2560 env:mega2560
|
||||
#elif MB(GT2560_V41B)
|
||||
#include "mega/pins_GT2560_V41b.h" // ATmega2560 env:mega2560ext
|
||||
#elif MB(EINSTART_S)
|
||||
#include "mega/pins_EINSTART-S.h" // ATmega2560, ATmega1280 env:mega2560ext env:mega1280
|
||||
#elif MB(WANHAO_ONEPLUS)
|
||||
|
|
@ -279,10 +287,10 @@
|
|||
#include "mega/pins_HJC2560C_REV2.h" // ATmega2560 env:mega2560
|
||||
#elif MB(LEAPFROG_XEED2015)
|
||||
#include "mega/pins_LEAPFROG_XEED2015.h" // ATmega2560 env:mega2560
|
||||
#elif MB(PICA)
|
||||
#include "mega/pins_PICA.h" // ATmega2560 env:mega2560
|
||||
#elif MB(PICA_REVB)
|
||||
#include "mega/pins_PICAOLD.h" // ATmega2560 env:mega2560
|
||||
#elif MB(PICA)
|
||||
#include "mega/pins_PICA.h" // ATmega2560 env:mega2560
|
||||
#elif MB(INTAMSYS40)
|
||||
#include "mega/pins_INTAMSYS40.h" // ATmega2560 env:mega2560
|
||||
#elif MB(MALYAN_M180)
|
||||
|
|
@ -325,6 +333,8 @@
|
|||
#include "sanguino/pins_STB_11.h" // ATmega644P, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p
|
||||
#elif MB(AZTEEG_X1)
|
||||
#include "sanguino/pins_AZTEEG_X1.h" // ATmega644P, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p
|
||||
#elif MB(ANET_10)
|
||||
#include "sanguino/pins_ANET_10.h" // ATmega1284P env:sanguino1284p env:sanguino1284p_optimized env:melzi_optiboot
|
||||
#elif MB(ZMIB_V2)
|
||||
#include "sanguino/pins_ZMIB_V2.h" // ATmega644P, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p
|
||||
|
||||
|
|
@ -352,8 +362,6 @@
|
|||
#include "sanguino/pins_OMCA_A.h" // ATmega644 env:sanguino644p
|
||||
#elif MB(OMCA)
|
||||
#include "sanguino/pins_OMCA.h" // ATmega644P, ATmega644 env:sanguino644p
|
||||
#elif MB(ANET_10)
|
||||
#include "sanguino/pins_ANET_10.h" // ATmega1284P env:sanguino1284p env:sanguino1284p_optimized env:melzi_optiboot
|
||||
#elif MB(SETHI)
|
||||
#include "sanguino/pins_SETHI.h" // ATmega644P, ATmega644, ATmega1284P env:sanguino1284p_optimized env:sanguino1284p env:sanguino644p
|
||||
|
||||
|
|
@ -386,8 +394,6 @@
|
|||
#include "lpc1768/pins_RAMPS_RE_ARM.h" // LPC1768 env:LPC1768
|
||||
#elif MB(MKS_SBASE)
|
||||
#include "lpc1768/pins_MKS_SBASE.h" // LPC1768 env:LPC1768
|
||||
#elif MB(MKS_SGEN_L)
|
||||
#include "lpc1768/pins_MKS_SGEN_L.h" // LPC1768 env:LPC1768
|
||||
#elif MB(AZSMZ_MINI)
|
||||
#include "lpc1768/pins_AZSMZ_MINI.h" // LPC1768 env:LPC1768
|
||||
#elif MB(BIQU_BQ111_A4)
|
||||
|
|
@ -396,6 +402,8 @@
|
|||
#include "lpc1768/pins_SELENA_COMPACT.h" // LPC1768 env:LPC1768
|
||||
#elif MB(BIQU_B300_V1_0)
|
||||
#include "lpc1768/pins_BIQU_B300_V1.0.h" // LPC1768 env:LPC1768
|
||||
#elif MB(MKS_SGEN_L)
|
||||
#include "lpc1768/pins_MKS_SGEN_L.h" // LPC1768 env:LPC1768
|
||||
#elif MB(GMARSH_X6_REV1)
|
||||
#include "lpc1768/pins_GMARSH_X6_REV1.h" // LPC1768 env:LPC1768
|
||||
#elif MB(BTT_SKR_V1_1)
|
||||
|
|
@ -437,7 +445,7 @@
|
|||
#include "lpc1769/pins_FLY_CDY.h" // LPC1769 env:LPC1769
|
||||
|
||||
//
|
||||
// Due (ATSAM) boards
|
||||
// SAM3X8E ARM Cortex-M3
|
||||
//
|
||||
|
||||
#elif MB(DUE3DOM)
|
||||
|
|
@ -446,10 +454,6 @@
|
|||
#include "sam/pins_DUE3DOM_MINI.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RADDS)
|
||||
#include "sam/pins_RADDS.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RURAMPS4D_11)
|
||||
#include "sam/pins_RURAMPS4D_11.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RURAMPS4D_13)
|
||||
#include "sam/pins_RURAMPS4D_13.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RAMPS_FD_V1)
|
||||
#include "sam/pins_RAMPS_FD_V1.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RAMPS_FD_V2)
|
||||
|
|
@ -460,6 +464,10 @@
|
|||
#include "sam/pins_RAMPS_DUO.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RAMPS4DUE_EFB, RAMPS4DUE_EEB, RAMPS4DUE_EFF, RAMPS4DUE_EEF, RAMPS4DUE_SF)
|
||||
#include "sam/pins_RAMPS4DUE.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RURAMPS4D_11)
|
||||
#include "sam/pins_RURAMPS4D_11.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(RURAMPS4D_13)
|
||||
#include "sam/pins_RURAMPS4D_13.h" // SAM3X8E env:DUE env:DUE_USB env:DUE_debug
|
||||
#elif MB(ULTRATRONICS_PRO)
|
||||
#include "sam/pins_ULTRATRONICS_PRO.h" // SAM3X8E env:DUE env:DUE_debug
|
||||
#elif MB(ARCHIM1)
|
||||
|
|
@ -472,20 +480,16 @@
|
|||
#include "sam/pins_CNCONTROLS_15D.h" // SAM3X8E env:DUE env:DUE_USB
|
||||
#elif MB(KRATOS32)
|
||||
#include "sam/pins_KRATOS32.h" // SAM3X8E env:DUE env:DUE_USB
|
||||
|
||||
//
|
||||
// SAM3X8C ARM Cortex-M3
|
||||
//
|
||||
|
||||
#elif MB(PRINTRBOARD_G2)
|
||||
#include "sam/pins_PRINTRBOARD_G2.h" // SAM3X8C env:DUE_USB
|
||||
#elif MB(ADSK)
|
||||
#include "sam/pins_ADSK.h" // SAM3X8C env:DUE env:DUE_debug
|
||||
|
||||
//
|
||||
// STM32 ARM Cortex-M0
|
||||
//
|
||||
|
||||
#elif MB(MALYAN_M200_V2)
|
||||
#include "stm32f0/pins_MALYAN_M200_V2.h" // STM32F0 env:STM32F070RB_malyan env:STM32F070CB_malyan
|
||||
#elif MB(MALYAN_M300)
|
||||
#include "stm32f0/pins_MALYAN_M300.h" // STM32F0 env:malyan_M300
|
||||
|
||||
//
|
||||
// STM32 ARM Cortex-M0+
|
||||
//
|
||||
|
|
@ -494,16 +498,25 @@
|
|||
#include "stm32g0/pins_BTT_EBB42_V1_1.h" // STM32G0 env:BTT_EBB42_V1_1_filament_extruder
|
||||
#elif MB(BTT_SKR_MINI_E3_V3_0)
|
||||
#include "stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h" // STM32G0 env:STM32G0B1RE_btt env:STM32G0B1RE_btt_xfer
|
||||
#elif MB(BTT_MANTA_M4P_V2_1)
|
||||
#include "stm32g0/pins_BTT_MANTA_M4P_V2_1.h" // STM32G0 env:STM32G0B1RE_manta_btt env:STM32G0B1RE_manta_btt_xfer
|
||||
#elif MB(BTT_MANTA_M5P_V1_0)
|
||||
#include "stm32g0/pins_BTT_MANTA_M5P_V1_0.h" // STM32G0 env:STM32G0B1RE_manta_btt env:STM32G0B1RE_manta_btt_xfer
|
||||
#elif MB(BTT_MANTA_E3_EZ_V1_0)
|
||||
#include "stm32g0/pins_BTT_MANTA_E3_EZ_V1_0.h" // STM32G0 env:STM32G0B1RE_manta_btt env:STM32G0B1RE_manta_btt_xfer
|
||||
#include "stm32g0/pins_BTT_MANTA_E3_EZ_V1_0.h" // STM32G0 env:STM32G0B1RE_manta_btt
|
||||
#elif MB(BTT_MANTA_M4P_V2_1)
|
||||
#include "stm32g0/pins_BTT_MANTA_M4P_V2_1.h" // STM32G0 env:STM32G0B1RE_manta_btt
|
||||
#elif MB(BTT_MANTA_M5P_V1_0)
|
||||
#include "stm32g0/pins_BTT_MANTA_M5P_V1_0.h" // STM32G0 env:STM32G0B1RE_manta_btt
|
||||
#elif MB(BTT_MANTA_M8P_V1_0)
|
||||
#include "stm32g0/pins_BTT_MANTA_M8P_V1_0.h" // STM32G0 env:STM32G0B1VE_btt env:STM32G0B1VE_btt_xfer
|
||||
#include "stm32g0/pins_BTT_MANTA_M8P_V1_0.h" // STM32G0 env:STM32G0B1VE_btt
|
||||
#elif MB(BTT_MANTA_M8P_V1_1)
|
||||
#include "stm32g0/pins_BTT_MANTA_M8P_V1_1.h" // STM32G0 env:STM32G0B1VE_btt env:STM32G0B1VE_btt_xfer
|
||||
#include "stm32g0/pins_BTT_MANTA_M8P_V1_1.h" // STM32G0 env:STM32G0B1VE_btt
|
||||
|
||||
//
|
||||
// STM32 ARM Cortex-M0
|
||||
//
|
||||
|
||||
#elif MB(MALYAN_M200_V2)
|
||||
#include "stm32f0/pins_MALYAN_M200_V2.h" // STM32F0 env:STM32F070RB_malyan env:STM32F070CB_malyan
|
||||
#elif MB(MALYAN_M300)
|
||||
#include "stm32f0/pins_MALYAN_M300.h" // STM32F0 env:malyan_M300
|
||||
|
||||
//
|
||||
// STM32 ARM Cortex-M3
|
||||
|
|
@ -587,30 +600,30 @@
|
|||
#include "stm32f1/pins_CHITU3D_V9.h" // STM32F1 env:chitu_f103 env:chitu_f103_maple
|
||||
#elif MB(CREALITY_V4)
|
||||
#include "stm32f1/pins_CREALITY_V4.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V4210)
|
||||
#include "stm32f1/pins_CREALITY_V4210.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V425)
|
||||
#include "stm32f1/pins_CREALITY_V425.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V422)
|
||||
#include "stm32f1/pins_CREALITY_V422.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V423)
|
||||
#include "stm32f1/pins_CREALITY_V423.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer
|
||||
#elif MB(CREALITY_V425)
|
||||
#include "stm32f1/pins_CREALITY_V425.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V427)
|
||||
#include "stm32f1/pins_CREALITY_V427.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V4210)
|
||||
#include "stm32f1/pins_CREALITY_V4210.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V431, CREALITY_V431_A, CREALITY_V431_B, CREALITY_V431_C, CREALITY_V431_D)
|
||||
#include "stm32f1/pins_CREALITY_V431.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V452)
|
||||
#include "stm32f1/pins_CREALITY_V452.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V453)
|
||||
#include "stm32f1/pins_CREALITY_V453.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V521)
|
||||
#include "stm32f1/pins_CREALITY_V521.h" // STM32F1 env:STM32F103VE_creality
|
||||
#elif MB(CREALITY_V24S1)
|
||||
#include "stm32f1/pins_CREALITY_V24S1.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V24S1_301)
|
||||
#include "stm32f1/pins_CREALITY_V24S1_301.h" // STM32F1 env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
|
||||
#elif MB(CREALITY_V25S1)
|
||||
#include "stm32f1/pins_CREALITY_V25S1.h" // STM32F1 env:STM32F103RE_creality_smartPro env:STM32F103RE_creality_smartPro_maple
|
||||
#elif MB(CREALITY_V521)
|
||||
#include "stm32f1/pins_CREALITY_V521.h" // STM32F1 env:STM32F103VE_creality
|
||||
#elif MB(TRIGORILLA_PRO)
|
||||
#include "stm32f1/pins_TRIGORILLA_PRO.h" // STM32F1 env:trigorilla_pro env:trigorilla_pro_maple env:trigorilla_pro_disk
|
||||
#elif MB(FLY_MINI)
|
||||
|
|
@ -661,8 +674,6 @@
|
|||
#include "stm32f4/pins_BTT_SKR_PRO_V1_1.h" // STM32F4 env:BIGTREE_SKR_PRO env:BIGTREE_SKR_PRO_usb_flash_drive
|
||||
#elif MB(BTT_SKR_PRO_V1_2)
|
||||
#include "stm32f4/pins_BTT_SKR_PRO_V1_2.h" // STM32F4 env:BIGTREE_SKR_PRO env:BIGTREE_SKR_PRO_usb_flash_drive
|
||||
#elif MB(BTT_GTR_V1_0)
|
||||
#include "stm32f4/pins_BTT_GTR_V1_0.h" // STM32F4 env:BIGTREE_GTR_V1_0 env:BIGTREE_GTR_V1_0_usb_flash_drive
|
||||
#elif MB(BTT_BTT002_V1_0)
|
||||
#include "stm32f4/pins_BTT_BTT002_V1_0.h" // STM32F4 env:BIGTREE_BTT002 env:BIGTREE_BTT002_VET6
|
||||
#elif MB(BTT_E3_RRF)
|
||||
|
|
@ -671,6 +682,8 @@
|
|||
#include "stm32f4/pins_BTT_SKR_V2_0_REV_A.h" // STM32F4 env:BIGTREE_SKR_2 env:BIGTREE_SKR_2_USB env:BIGTREE_SKR_2_USB_debug
|
||||
#elif MB(BTT_SKR_V2_0_REV_B)
|
||||
#include "stm32f4/pins_BTT_SKR_V2_0_REV_B.h" // STM32F4 env:BIGTREE_SKR_2 env:BIGTREE_SKR_2_USB env:BIGTREE_SKR_2_USB_debug env:BIGTREE_SKR_2_F429 env:BIGTREE_SKR_2_F429_USB env:BIGTREE_SKR_2_F429_USB_debug
|
||||
#elif MB(BTT_GTR_V1_0)
|
||||
#include "stm32f4/pins_BTT_GTR_V1_0.h" // STM32F4 env:BTT_GTR_V1_0 env:BTT_GTR_V1_0_usb_flash_drive
|
||||
#elif MB(BTT_OCTOPUS_V1_0)
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_V1_0.h" // STM32F4 env:STM32F446ZE_btt env:STM32F446ZE_btt_usb_flash_drive
|
||||
#elif MB(BTT_OCTOPUS_V1_1)
|
||||
|
|
@ -701,16 +714,16 @@
|
|||
#include "stm32f4/pins_MKS_ROBIN_NANO_V3.h" // STM32F4 env:mks_robin_nano_v3 env:mks_robin_nano_v3_usb_flash_drive env:mks_robin_nano_v3_usb_flash_drive_msc
|
||||
#elif MB(MKS_ROBIN_NANO_V3_1)
|
||||
#include "stm32f4/pins_MKS_ROBIN_NANO_V3.h" // STM32F4 env:mks_robin_nano_v3_1 env:mks_robin_nano_v3_1_usb_flash_drive env:mks_robin_nano_v3_1_usb_flash_drive_msc
|
||||
#elif MB(MKS_MONSTER8_V1)
|
||||
#include "stm32f4/pins_MKS_MONSTER8_V1.h" // STM32F4 env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
|
||||
#elif MB(MKS_MONSTER8_V2)
|
||||
#include "stm32f4/pins_MKS_MONSTER8_V2.h" // STM32F4 env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
|
||||
#elif MB(ANET_ET4)
|
||||
#include "stm32f4/pins_ANET_ET4.h" // STM32F4 env:Anet_ET4_no_bootloader env:Anet_ET4_OpenBLT
|
||||
#elif MB(ANET_ET4P)
|
||||
#include "stm32f4/pins_ANET_ET4P.h" // STM32F4 env:Anet_ET4_no_bootloader env:Anet_ET4_OpenBLT
|
||||
#elif MB(FYSETC_CHEETAH_V20)
|
||||
#include "stm32f4/pins_FYSETC_CHEETAH_V20.h" // STM32F4 env:FYSETC_CHEETAH_V20
|
||||
#elif MB(MKS_MONSTER8_V1)
|
||||
#include "stm32f4/pins_MKS_MONSTER8_V1.h" // STM32F4 env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
|
||||
#elif MB(MKS_MONSTER8_V2)
|
||||
#include "stm32f4/pins_MKS_MONSTER8_V2.h" // STM32F4 env:mks_monster8 env:mks_monster8_usb_flash_drive env:mks_monster8_usb_flash_drive_msc
|
||||
#elif MB(TH3D_EZBOARD_V2)
|
||||
#include "stm32f4/pins_TH3D_EZBOARD_V2.h" // STM32F4 env:TH3D_EZBoard_V2_no_bootloader env:TH3D_EZBoard_V2_OpenBLT
|
||||
#elif MB(OPULO_LUMEN_REV3)
|
||||
|
|
@ -729,8 +742,8 @@
|
|||
#include "stm32f4/pins_FYSETC_SPIDER_KING407.h" // STM32F4 env:FYSETC_SPIDER_KING407
|
||||
#elif MB(MKS_SKIPR_V1)
|
||||
#include "stm32f4/pins_MKS_SKIPR_V1_0.h" // STM32F4 env:mks_skipr_v1 env:mks_skipr_v1_nobootloader
|
||||
#elif MB(TRONXY_V10)
|
||||
#include "stm32f4/pins_TRONXY_V10.h" // STM32F4 env:STM32F446_tronxy
|
||||
#elif MB(TRONXY_CXY_446_V10)
|
||||
#include "stm32f4/pins_TRONXY_CXY_446_V10.h" // STM32F4 env:TRONXY_CXY_446_V10 env:TRONXY_CXY_446_V10_usb_flash_drive
|
||||
#elif MB(CREALITY_F401RE)
|
||||
#include "stm32f4/pins_CREALITY_F401.h" // STM32F4 env:STM32F401RE_creality
|
||||
|
||||
|
|
@ -812,7 +825,7 @@
|
|||
//
|
||||
|
||||
#elif MB(SIMULATED)
|
||||
#include "linux/pins_RAMPS_LINUX.h" // Native or Simulation lin:linux_native mac:simulator_macos_debug mac:simulator_macos_release win:simulator_windows lin:simulator_linux_debug lin:simulator_linux_release
|
||||
#include "native/pins_RAMPS_NATIVE.h" // Native or Simulation lin:linux_native mac:simulator_macos_debug mac:simulator_macos_release win:simulator_windows lin:simulator_linux_debug lin:simulator_linux_release
|
||||
|
||||
#else
|
||||
|
||||
|
|
@ -850,6 +863,7 @@
|
|||
#define BOARD_LINUX_RAMPS 99926
|
||||
#define BOARD_BTT_MANTA_M4P_V1_0 99927
|
||||
#define BOARD_VAKE403D 99928
|
||||
#define BOARD_TRONXY_V10 99929
|
||||
|
||||
#if MB(MKS_13)
|
||||
#error "BOARD_MKS_13 is now BOARD_MKS_GEN_13. Please update your configuration."
|
||||
|
|
@ -863,8 +877,6 @@
|
|||
#error "BOARD_BIQU_SKR_V1_1 is now BOARD_BTT_SKR_V1_1. Please update your configuration."
|
||||
#elif MB(BIGTREE_SKR_V1_1)
|
||||
#error "BOARD_BIGTREE_SKR_V1_1 is now BOARD_BTT_SKR_V1_1. Please update your configuration."
|
||||
#elif MB(BIGTREE_SKR_V1_2)
|
||||
#error "BOARD_BIGTREE_SKR_V1_2 is now BOARD_BTT_SKR_V1_2. Please update your configuration."
|
||||
#elif MB(BIGTREE_SKR_V1_3)
|
||||
#error "BOARD_BIGTREE_SKR_V1_3 is now BOARD_BTT_SKR_V1_3. Please update your configuration."
|
||||
#elif MB(BIGTREE_SKR_V1_4)
|
||||
|
|
@ -909,6 +921,8 @@
|
|||
#error "BOARD_LINUX_RAMPS is now BOARD_SIMULATED. Please update your configuration."
|
||||
#elif MB(BTT_MANTA_M4P_V1_0)
|
||||
#error "BOARD_BTT_MANTA_M4P_V1_0 is now BOARD_BTT_MANTA_M4P_V2_1. Please update your configuration."
|
||||
#elif MB(TRONXY_V10)
|
||||
#error "BOARD_TRONXY_V10 is now BOARD_TRONXY_CXY_446_V10. Please update your configuration."
|
||||
#elif MB(VAKE403D)
|
||||
#error "BOARD_VAKE403D is no longer supported in Marlin."
|
||||
#elif defined(MOTHERBOARD)
|
||||
|
|
@ -947,10 +961,19 @@
|
|||
#undef BOARD_LINUX_RAMPS
|
||||
#undef BOARD_BTT_MANTA_M4P_V1_0
|
||||
#undef BOARD_VAKE403D
|
||||
#undef BOARD_TRONXY_V10
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// LCD / Controller Pins based on board expansion headers with adapters
|
||||
//
|
||||
#include "pins_lcd.h"
|
||||
|
||||
//
|
||||
// Post-process pins according to configured settings
|
||||
//
|
||||
#include "pins_postprocess.h"
|
||||
|
||||
// Cleanup
|
||||
#undef CONTROLLER_WARNING
|
||||
|
|
|
|||
45
Marlin/src/pins/pins_lcd.h
Normal file
45
Marlin/src/pins/pins_lcd.h
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
/**
|
||||
* Marlin 3D Printer Firmware
|
||||
* Copyright (c) 2024 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
|
||||
|
||||
/**
|
||||
* pins_lcd.h - Define LCD pins based on the EXP connector / adapter
|
||||
*/
|
||||
|
||||
/**
|
||||
* Certain displays use LCD_PINS_RS as LCD_RESET_PIN
|
||||
*/
|
||||
#if !defined(LCD_RESET_PIN) && ANY(MKS_12864OLED, MKS_12864OLED_SSD1306, FYSETC_242_OLED_12864, ZONESTAR_12864OLED, K3D_242_OLED_CONTROLLER)
|
||||
#define LCD_RESET_PIN LCD_PINS_RS
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Make sure DOGLCD_SCK and DOGLCD_MOSI are defined.
|
||||
*/
|
||||
#if HAS_MARLINUI_U8GLIB
|
||||
#ifndef DOGLCD_SCK
|
||||
#define DOGLCD_SCK SD_SCK_PIN
|
||||
#endif
|
||||
#ifndef DOGLCD_MOSI
|
||||
#define DOGLCD_MOSI SD_MOSI_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
|
@ -307,74 +307,167 @@
|
|||
#define E7_CS_PIN -1
|
||||
#endif
|
||||
|
||||
// If only TX is defined, use the same pin for RX
|
||||
#if HAS_TMC_UART
|
||||
#if !defined(X_SERIAL_RX_PIN) && PIN_EXISTS(X_SERIAL_TX)
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(X2_SERIAL_RX_PIN) && PIN_EXISTS(X2_SERIAL_TX)
|
||||
#define X2_SERIAL_RX_PIN X2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(Y_SERIAL_RX_PIN) && PIN_EXISTS(Y_SERIAL_TX)
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(Y2_SERIAL_RX_PIN) && PIN_EXISTS(Y2_SERIAL_TX)
|
||||
#define Y2_SERIAL_RX_PIN Y2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(Z_SERIAL_RX_PIN) && PIN_EXISTS(Z_SERIAL_TX)
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(Z2_SERIAL_RX_PIN) && PIN_EXISTS(Z2_SERIAL_TX)
|
||||
#define Z2_SERIAL_RX_PIN Z2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(Z3_SERIAL_RX_PIN) && PIN_EXISTS(Z3_SERIAL_TX)
|
||||
#define Z3_SERIAL_RX_PIN Z3_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(Z4_SERIAL_RX_PIN) && PIN_EXISTS(Z4_SERIAL_TX)
|
||||
#define Z4_SERIAL_RX_PIN Z4_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(I_SERIAL_RX_PIN) && PIN_EXISTS(I_SERIAL_TX)
|
||||
#define I_SERIAL_RX_PIN I_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(J_SERIAL_RX_PIN) && PIN_EXISTS(J_SERIAL_TX)
|
||||
#define J_SERIAL_RX_PIN J_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(K_SERIAL_RX_PIN) && PIN_EXISTS(K_SERIAL_TX)
|
||||
#define K_SERIAL_RX_PIN K_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(U_SERIAL_RX_PIN) && PIN_EXISTS(U_SERIAL_TX)
|
||||
#define U_SERIAL_RX_PIN U_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(V_SERIAL_RX_PIN) && PIN_EXISTS(V_SERIAL_TX)
|
||||
#define V_SERIAL_RX_PIN V_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(W_SERIAL_RX_PIN) && PIN_EXISTS(W_SERIAL_TX)
|
||||
#define W_SERIAL_RX_PIN W_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(EX_SERIAL_RX_PIN) && PIN_EXISTS(EX_SERIAL_TX)
|
||||
#define EX_SERIAL_RX_PIN EX_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E0_SERIAL_RX_PIN) && PIN_EXISTS(E0_SERIAL_TX)
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E1_SERIAL_RX_PIN) && PIN_EXISTS(E1_SERIAL_TX)
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E2_SERIAL_RX_PIN) && PIN_EXISTS(E2_SERIAL_TX)
|
||||
#define E2_SERIAL_RX_PIN E2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E3_SERIAL_RX_PIN) && PIN_EXISTS(E3_SERIAL_TX)
|
||||
#define E3_SERIAL_RX_PIN E3_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E4_SERIAL_RX_PIN) && PIN_EXISTS(E4_SERIAL_TX)
|
||||
#define E4_SERIAL_RX_PIN E4_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E5_SERIAL_RX_PIN) && PIN_EXISTS(E5_SERIAL_TX)
|
||||
#define E5_SERIAL_RX_PIN E5_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E6_SERIAL_RX_PIN) && PIN_EXISTS(E6_SERIAL_TX)
|
||||
#define E6_SERIAL_RX_PIN E6_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !defined(E7_SERIAL_RX_PIN) && PIN_EXISTS(E7_SERIAL_TX)
|
||||
#define E7_SERIAL_RX_PIN E7_SERIAL_TX_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
// Destroy stepper driver RX and TX pins when set to -1
|
||||
// Some RX depend on TX, so RX needs to be un-defined before TX
|
||||
// or it breaks "PIN_EXISTS(NAME_OF_UNDEF)".
|
||||
//
|
||||
#if !PIN_EXISTS(Z2_SERIAL_TX)
|
||||
#undef Z2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z2_SERIAL_RX)
|
||||
#undef Z2_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z3_SERIAL_TX)
|
||||
#undef Z3_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z3_SERIAL_RX)
|
||||
#undef Z3_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z4_SERIAL_TX)
|
||||
#undef Z4_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z4_SERIAL_RX)
|
||||
#undef Z4_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(X2_SERIAL_TX)
|
||||
#undef X2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(X2_SERIAL_RX)
|
||||
#undef X2_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Y2_SERIAL_TX)
|
||||
#undef Y2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Y2_SERIAL_RX)
|
||||
#undef Y2_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(I_SERIAL_TX)
|
||||
#undef I_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(I_SERIAL_RX)
|
||||
#undef I_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(J_SERIAL_TX)
|
||||
#undef J_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(J_SERIAL_RX)
|
||||
#undef J_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(K_SERIAL_TX)
|
||||
#undef K_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(K_SERIAL_RX)
|
||||
#undef K_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(U_SERIAL_TX)
|
||||
#undef U_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(U_SERIAL_RX)
|
||||
#undef U_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(V_SERIAL_TX)
|
||||
#undef V_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(V_SERIAL_RX)
|
||||
#undef V_SERIAL_RX_PIN
|
||||
#if !PIN_EXISTS(W_SERIAL_RX)
|
||||
#undef W_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(W_SERIAL_TX)
|
||||
#undef W_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(W_SERIAL_RX)
|
||||
#undef W_SERIAL_RX_PIN
|
||||
#if !PIN_EXISTS(V_SERIAL_RX)
|
||||
#undef V_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(V_SERIAL_TX)
|
||||
#undef V_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(U_SERIAL_RX)
|
||||
#undef U_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(U_SERIAL_TX)
|
||||
#undef U_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(K_SERIAL_RX)
|
||||
#undef K_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(K_SERIAL_TX)
|
||||
#undef K_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(J_SERIAL_RX)
|
||||
#undef J_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(J_SERIAL_TX)
|
||||
#undef J_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(I_SERIAL_RX)
|
||||
#undef I_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(I_SERIAL_TX)
|
||||
#undef I_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z4_SERIAL_RX)
|
||||
#undef Z4_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z4_SERIAL_TX)
|
||||
#undef Z4_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z3_SERIAL_RX)
|
||||
#undef Z3_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z3_SERIAL_TX)
|
||||
#undef Z3_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z2_SERIAL_RX)
|
||||
#undef Z2_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z2_SERIAL_TX)
|
||||
#undef Z2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Y2_SERIAL_RX)
|
||||
#undef Y2_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Y2_SERIAL_TX)
|
||||
#undef Y2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(X2_SERIAL_RX)
|
||||
#undef X2_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(X2_SERIAL_TX)
|
||||
#undef X2_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z_SERIAL_RX)
|
||||
#undef Z_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Z_SERIAL_TX)
|
||||
#undef Z_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Y_SERIAL_RX)
|
||||
#undef Y_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(Y_SERIAL_TX)
|
||||
#undef Y_SERIAL_TX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(X_SERIAL_RX)
|
||||
#undef X_SERIAL_RX_PIN
|
||||
#endif
|
||||
#if !PIN_EXISTS(X_SERIAL_TX)
|
||||
#undef X_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef FAN0_PIN
|
||||
|
|
@ -774,7 +867,7 @@
|
|||
#define X2_E_INDEX E_STEPPERS
|
||||
#endif
|
||||
|
||||
#if HAS_X2_STEPPER && !defined(X2_DIAG_PIN) && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS_PIN)
|
||||
#if HAS_X2_STEPPER && !defined(X2_DIAG_PIN) && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS)
|
||||
#define Y2_E_INDEX INCREMENT(X2_E_INDEX)
|
||||
#else
|
||||
#define Y2_E_INDEX X2_E_INDEX
|
||||
|
|
@ -863,7 +956,7 @@
|
|||
#define X2_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if HAS_DUAL_Y_STEPPERS && !defined(Y2_DIAG_PIN) && !defined(Y2_STEP_PIN) && !PIN_EXISTS(Y2_CS_PIN)
|
||||
#if HAS_DUAL_Y_STEPPERS && !defined(Y2_DIAG_PIN) && !defined(Y2_STEP_PIN) && !PIN_EXISTS(Y2_CS)
|
||||
#define Z2_E_INDEX INCREMENT(Y2_E_INDEX)
|
||||
#else
|
||||
#define Z2_E_INDEX Y2_E_INDEX
|
||||
|
|
@ -949,7 +1042,7 @@
|
|||
#define Y2_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if NUM_Z_STEPPERS >= 2 && !defined(Z2_DIAG_PIN) && !defined(Z2_STEP_PIN) && !PIN_EXISTS(Z2_CS_PIN)
|
||||
#if NUM_Z_STEPPERS >= 2 && !defined(Z2_DIAG_PIN) && !defined(Z2_STEP_PIN) && !PIN_EXISTS(Z2_CS)
|
||||
#define Z3_E_INDEX INCREMENT(Z2_E_INDEX)
|
||||
#else
|
||||
#define Z3_E_INDEX Z2_E_INDEX
|
||||
|
|
@ -1035,7 +1128,7 @@
|
|||
#define Z2_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if NUM_Z_STEPPERS >= 3 && !defined(Z3_DIAG_PIN) && !defined(Z3_STEP_PIN) && !PIN_EXISTS(Z3_CS_PIN)
|
||||
#if NUM_Z_STEPPERS >= 3 && !defined(Z3_DIAG_PIN) && !defined(Z3_STEP_PIN) && !PIN_EXISTS(Z3_CS)
|
||||
#define Z4_E_INDEX INCREMENT(Z3_E_INDEX)
|
||||
#else
|
||||
#define Z4_E_INDEX Z3_E_INDEX
|
||||
|
|
@ -1121,7 +1214,7 @@
|
|||
#define Z3_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if NUM_Z_STEPPERS >= 4 && !defined(Z4_DIAG_PIN) && !defined(Z4_STEP_PIN) && !PIN_EXISTS(Z4_CS_PIN)
|
||||
#if NUM_Z_STEPPERS >= 4 && !defined(Z4_DIAG_PIN) && !defined(Z4_STEP_PIN) && !PIN_EXISTS(Z4_CS)
|
||||
#define I_E_INDEX INCREMENT(Z4_E_INDEX)
|
||||
#else
|
||||
#define I_E_INDEX Z4_E_INDEX
|
||||
|
|
@ -1207,7 +1300,7 @@
|
|||
#define Z4_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if HAS_I_AXIS && !defined(I_DIAG_PIN) && !defined(I_STEP_PIN) && !PIN_EXISTS(I_CS_PIN)
|
||||
#if HAS_I_AXIS && !defined(I_DIAG_PIN) && !defined(I_STEP_PIN) && !PIN_EXISTS(I_CS)
|
||||
#define J_E_INDEX INCREMENT(I_E_INDEX)
|
||||
#else
|
||||
#define J_E_INDEX I_E_INDEX
|
||||
|
|
@ -1293,7 +1386,7 @@
|
|||
#define I_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if HAS_J_AXIS && !defined(J_DIAG_PIN) && !defined(J_STEP_PIN) && !PIN_EXISTS(J_CS_PIN)
|
||||
#if HAS_J_AXIS && !defined(J_DIAG_PIN) && !defined(J_STEP_PIN) && !PIN_EXISTS(J_CS)
|
||||
#define K_E_INDEX INCREMENT(J_E_INDEX)
|
||||
#else
|
||||
#define K_E_INDEX J_E_INDEX
|
||||
|
|
@ -1379,7 +1472,7 @@
|
|||
#define J_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if HAS_K_AXIS && !defined(K_DIAG_PIN) && !defined(K_STEP_PIN) && !PIN_EXISTS(K_CS_PIN)
|
||||
#if HAS_K_AXIS && !defined(K_DIAG_PIN) && !defined(K_STEP_PIN) && !PIN_EXISTS(K_CS)
|
||||
#define U_E_INDEX INCREMENT(K_E_INDEX)
|
||||
#else
|
||||
#define U_E_INDEX K_E_INDEX
|
||||
|
|
@ -1465,7 +1558,7 @@
|
|||
#define K_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if HAS_U_AXIS && !defined(U_DIAG_PIN) && !defined(U_STEP_PIN) && !PIN_EXISTS(U_CS_PIN)
|
||||
#if HAS_U_AXIS && !defined(U_DIAG_PIN) && !defined(U_STEP_PIN) && !PIN_EXISTS(U_CS)
|
||||
#define V_E_INDEX INCREMENT(U_E_INDEX)
|
||||
#else
|
||||
#define V_E_INDEX U_E_INDEX
|
||||
|
|
@ -1477,7 +1570,7 @@
|
|||
#define U_STEP_PIN _EPIN(U_E_INDEX, STEP)
|
||||
#define U_DIR_PIN _EPIN(U_E_INDEX, DIR)
|
||||
#define U_ENABLE_PIN _EPIN(U_E_INDEX, ENABLE)
|
||||
#if M_E_INDEX >= MAX_E_STEPPERS || !PIN_EXISTS(U_STEP)
|
||||
#if U_E_INDEX >= MAX_E_STEPPERS || !PIN_EXISTS(U_STEP)
|
||||
#error "No E stepper plug left for U!"
|
||||
#else
|
||||
#define AUTO_ASSIGNED_U_STEPPER 1
|
||||
|
|
@ -1551,7 +1644,7 @@
|
|||
#define U_MS3_PIN -1
|
||||
#endif
|
||||
|
||||
#if HAS_V_AXIS && !defined(V_DIAG_PIN) && !defined(V_STEP_PIN) && !PIN_EXISTS(V_CS_PIN)
|
||||
#if HAS_V_AXIS && !defined(V_DIAG_PIN) && !defined(V_STEP_PIN) && !PIN_EXISTS(V_CS)
|
||||
#define W_E_INDEX INCREMENT(V_E_INDEX)
|
||||
#else
|
||||
#define W_E_INDEX V_E_INDEX
|
||||
|
|
@ -2426,3 +2519,52 @@
|
|||
|
||||
#undef HAS_FREE_AUX2_PINS
|
||||
#undef DIAG_REMAPPED
|
||||
|
||||
// Get a NeoPixel pin from the LCD or board, if provided
|
||||
#ifndef NEOPIXEL_PIN
|
||||
#ifdef LCD_NEOPIXEL_PIN
|
||||
#define NEOPIXEL_PIN LCD_NEOPIXEL_PIN
|
||||
#elif defined(BOARD_NEOPIXEL_PIN)
|
||||
#define NEOPIXEL_PIN BOARD_NEOPIXEL_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Undefine motor PWM pins for nonexistent axes since the existence of a MOTOR_CURRENT_PWM_*_PIN implies its standard use.
|
||||
// TODO: Allow remapping (e.g., E => Z2). Spec G-codes to use logical axis with index (e.g., to set Z2: Mxxx Z P1 Snnn).
|
||||
#if !HAS_X_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_X_PIN
|
||||
#endif
|
||||
#if !HAS_Y_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_Y_PIN
|
||||
#endif
|
||||
#if !HAS_X_AXIS && !HAS_Y_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_XY_PIN
|
||||
#endif
|
||||
#if !HAS_Z_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_Z_PIN
|
||||
#endif
|
||||
#if !HAS_I_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_I_PIN
|
||||
#endif
|
||||
#if !HAS_J_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_J_PIN
|
||||
#endif
|
||||
#if !HAS_K_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_K_PIN
|
||||
#endif
|
||||
#if !HAS_U_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_U_PIN
|
||||
#endif
|
||||
#if !HAS_V_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_V_PIN
|
||||
#endif
|
||||
#if !HAS_W_AXIS
|
||||
#undef MOTOR_CURRENT_PWM_W_PIN
|
||||
#endif
|
||||
#if !HAS_EXTRUDERS
|
||||
#undef MOTOR_CURRENT_PWM_E_PIN
|
||||
#undef MOTOR_CURRENT_PWM_E0_PIN // Archim 1.0
|
||||
#undef MOTOR_CURRENT_PWM_E1_PIN // Kept in sync with E0
|
||||
#elif !HAS_MULTI_EXTRUDER
|
||||
#undef MOTOR_CURRENT_PWM_E1_PIN
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Einsy-Rambo pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Einsy-Rambo/Schematic%20Prints_Einsy%20Rambo_1.1a.PDF
|
||||
* Origin: https://github.com/ultimachine/Einsy-Rambo/blob/1.1a/board/Project%20Outputs/Schematic%20Prints_Einsy%20Rambo_1.1a.PDF
|
||||
* Schematic: https://github.com/ultimachine/Einsy-Rambo/blob/1.1a/board/Project%20Outputs/Schematic%20Prints_Einsy%20Rambo_1.1a.PDF
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,10 +23,8 @@
|
|||
|
||||
/**
|
||||
* Einsy-Retro pin assignments
|
||||
* Schematic (1.0b): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Einsy-Retro/Schematic%20Prints_EinsyRetro_1.0b.PDF
|
||||
* Origin (1.0b): https://github.com/ultimachine/EinsyRetro/blob/master/board/Project%20Outputs/Schematic%20Prints_EinsyRetro_1.0b.PDF
|
||||
* Schematic (1.0c): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Einsy-Retro/Schematic%20Prints_EinsyRetro_1.0c.PDF
|
||||
* Origin (1.0c): https://github.com/ultimachine/EinsyRetro/blob/master/board/Project%20Outputs/Schematic%20Prints_EinsyRetro_1.0c.PDF
|
||||
* Schematic (1.0b): https://github.com/ultimachine/EinsyRetro/blob/master/board/Project%20Outputs/Schematic%20Prints_EinsyRetro_1.0b.PDF
|
||||
* Schematic (1.0c): https://github.com/ultimachine/EinsyRetro/blob/master/board/Project%20Outputs/Schematic%20Prints_EinsyRetro_1.0c.PDF
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -23,18 +23,18 @@
|
|||
|
||||
/**
|
||||
* Mini-RAMBo pin assignments
|
||||
* Schematic (1.3a): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Mini%20RAMBo/Mini-Rambo.PDF
|
||||
* Origin (1.3a): https://github.com/ultimachine/Mini-Rambo/blob/1.3a/board/Project%20Outputs%20for%20Mini-Rambo/Mini-Rambo.PDF
|
||||
* Schematic (1.0a): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Mini%20RAMBo%201.0a/Mini-Rambo.PDF
|
||||
* Origin (1.0a): https://github.com/ultimachine/Mini-Rambo/blob/v1.1b/board/Project%20Outputs%20for%20Mini-Rambo/Mini-Rambo.PDF
|
||||
* Schematic (1.3a): https://github.com/ultimachine/Mini-Rambo/blob/1.3a/board/Project%20Outputs%20for%20Mini-Rambo/Mini-Rambo.PDF
|
||||
* Schematic (1.0a): https://github.com/ultimachine/Mini-Rambo/blob/v1.1b/board/Project%20Outputs%20for%20Mini-Rambo/Mini-Rambo.PDF
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
||||
#if MB(MINIRAMBO_10A)
|
||||
#define BOARD_INFO_NAME "Mini RAMBo 1.0a"
|
||||
#else
|
||||
#define BOARD_INFO_NAME "Mini RAMBo"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#if MB(MINIRAMBO_10A)
|
||||
#define BOARD_INFO_NAME "Mini RAMBo 1.0a"
|
||||
#else
|
||||
#define BOARD_INFO_NAME "Mini RAMBo"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
@ -47,6 +47,10 @@
|
|||
#define Z_MIN_PIN 10
|
||||
#define Z_MAX_PIN 23
|
||||
|
||||
#if HAS_I_AXIS
|
||||
#define I_STOP_PIN 30 // X_MAX (for now)
|
||||
#endif
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
|
|
@ -128,9 +132,15 @@
|
|||
//
|
||||
#if HAS_CUTTER
|
||||
// Use P1 connector for spindle pins
|
||||
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 18 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 19
|
||||
#ifndef SPINDLE_LASER_PWM_PIN
|
||||
#define SPINDLE_LASER_PWM_PIN 9 // Hardware PWM
|
||||
#endif
|
||||
#ifndef SPINDLE_LASER_ENA_PIN
|
||||
#define SPINDLE_LASER_ENA_PIN 18 // Pullup!
|
||||
#endif
|
||||
#ifndef SPINDLE_DIR_PIN
|
||||
#define SPINDLE_DIR_PIN 19
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@
|
|||
|
||||
/**
|
||||
* Rambo pin assignments
|
||||
* Schematic (1.1b): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMBo/Rambo1-1-schematic.png
|
||||
* Origin (1.1b): https://www.reprap.org/wiki/File:Rambo1-1-schematic.png
|
||||
* Schematic (1.1b): https://www.reprap.org/wiki/File:Rambo1-1-schematic.png
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@
|
|||
/**
|
||||
* 3DRAG (and K8200 / K8400) Arduino Mega with RAMPS v1.4 pin assignments
|
||||
* This may be compatible with the standalone Controller variant.
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/3DRAG%20+%20Controller/Schema_base.jpg
|
||||
* Origin: https://reprap.org/wiki/File:Schema_base.jpg
|
||||
* Schematic: https://reprap.org/wiki/File:Schema_base.jpg
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* AZTEEG_X3 Arduino Mega with RAMPS v1.4 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/AZTEEG_X3/AZTEEG%20X3%20PUB%20v1.12.pdf
|
||||
* Origin: http://files.panucatt.com/datasheets/azteegx3_designfiles.zip
|
||||
* Schematic: http://files.panucatt.com/datasheets/azteegx3_designfiles.zip
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* AZTEEG_X3_PRO (Arduino Mega) pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/AZTEEG_X3_PRO/AZTEEG%20X3%20PRO%201.0%20PUB.pdf
|
||||
* Origin: http://files.panucatt.com/datasheets/x3pro_sch_v1.0.zip
|
||||
* Schematic: http://files.panucatt.com/datasheets/x3pro_sch_v1.0.zip
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BAM&DICE Due (Arduino Mega) pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/BAM&DICE%20Due/2PRINTBETA-BAM&DICE-DUE-V1.1-sch.pdf
|
||||
* Origin: http://www.2printbeta.de/download/2PRINTBETA-BAM&DICE-DUE-V1.1-sch.pdf
|
||||
* Schematic: http://www.2printbeta.de/de/download/2PRINTBETA-BAM&DICE-DUE-V1.1-sch.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* bq ZUM Mega 3D board definition
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/bq%20ZUM%20Mega%203D/Zum%20Mega%203D.PDF
|
||||
* Origin: https://github.com/bq/zum/blob/master/zum-mega3d/Zum%20Mega%203D.PDF
|
||||
* Schematic: https://github.com/bq/zum/blob/master/zum-mega3d/Zum%20Mega%203D.PDF
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
//
|
||||
// FYSETC F6 1.3 (and 1.4) pin assignments
|
||||
// Schematic (1.3): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/FYSETC%20F6%201.3/F6_V13.pdf
|
||||
// Origin: https://github.com/FYSETC/FYSETC-F6/blob/master/Hardware/V1.3/F6_V13.pdf
|
||||
// Schematic: https://github.com/FYSETC/FYSETC-F6/blob/master/Hardware/V1.3/F6_V13.pdf
|
||||
// ATmega2560
|
||||
//
|
||||
|
||||
|
|
@ -253,7 +252,7 @@
|
|||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
|
||||
#undef KILL_PIN
|
||||
#define NEOPIXEL_PIN EXP1_07_PIN
|
||||
#define BOARD_NEOPIXEL_PIN EXP1_07_PIN
|
||||
|
||||
#else
|
||||
#define BEEPER_PIN EXP1_01_PIN
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
//
|
||||
// FYSETC F6 v1.4 pin assignments
|
||||
// Schematic (1.4): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/FYSETC%20F6%20v1.4/F6%20V1.4%20Sch.pdf
|
||||
// Origin (1.4): https://github.com/FYSETC/FYSETC-F6/blob/master/Hardware/V1.4/F6%20V1.4%20Sch.pdf
|
||||
// Schematic (1.4): https://github.com/FYSETC/FYSETC-F6/blob/master/Hardware/V1.4/F6%20V1.4%20Sch.pdf
|
||||
// ATmega2560
|
||||
//
|
||||
|
||||
|
|
@ -33,9 +32,9 @@
|
|||
#define Z_MAX_PIN 2
|
||||
|
||||
#if HAS_TMC_UART
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
*/
|
||||
//
|
||||
// TMC2208/TMC2209 stepper drivers
|
||||
//
|
||||
#define X_SERIAL_TX_PIN 71
|
||||
#define X_SERIAL_RX_PIN 72
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@
|
|||
/**
|
||||
* K8200 Arduino Mega with RAMPS v1.3 pin assignments
|
||||
* Identical to 3DRAG
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Velleman%20K8200/K8200diagram.jpg
|
||||
* Origin: https://www.velleman.eu/images/tmp/K8200diagram.jpg
|
||||
* Schematic: https://www.velleman.eu/images/tmp/K8200diagram.jpg
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@
|
|||
/**
|
||||
* Velleman K8400 (Vertex)
|
||||
* 3DRAG clone
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Velleman%20K8400/k8400-schema-electronique.jpg
|
||||
* Origin: https://filimprimante3d.fr/documents/k8400-schema-electronique.jpg
|
||||
* Schematic: https://filimprimante3d.fr/documents/k8400-schema-electronique.jpg
|
||||
* ATmega2560, ATmega1280
|
||||
*
|
||||
* K8400 has some minor differences over a normal 3Drag:
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Velleman K8800 (Vertex)
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Velleman%20K8800/K8800-schematic-V1.4.pdf
|
||||
* Origin: https://www.velleman.eu/downloads/files/vertex-delta/schematics/K8800-schematic-V1.4.pdf
|
||||
* Schematic: https://cdn.velleman.eu/downloads/files/vertex-delta/schematics/K8800-schematic-V1.4.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,7 @@
|
|||
/**
|
||||
* MKS BASE 1.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments
|
||||
* Schematics:
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20BASE%201.0/PAGE1.pdf
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20BASE%201.0/PAGE2.pdf
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20BASE%201.0/PAGE3.pdf
|
||||
* Origin: https://reprap.org/wiki/File:MKS_Base_V1.0_source.zip
|
||||
* Schematic: https://reprap.org/wiki/File:MKS_Base_V1.0_source.zip
|
||||
* ATmega2560
|
||||
*
|
||||
* Rev B - Override pin definitions for CASE_LIGHT and M3/M4/M5 spindle control
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@
|
|||
#ifndef RGB_LED_R_PIN
|
||||
#define RGB_LED_R_PIN 50
|
||||
#endif
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#ifndef RGB_LED_G_PIN
|
||||
#define RGB_LED_G_PIN 51
|
||||
#endif
|
||||
#ifndef RGB_LED_R_PIN
|
||||
#ifndef RGB_LED_B_PIN
|
||||
#define RGB_LED_B_PIN 52
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MKS BASE v1.6 with A4982 stepper drivers and digital micro-stepping
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20BASE%201.6/MKS%20Base%20V1.6_004%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/MKS-BASE/blob/master/hardware/MKS%20Base%20V1.6_004/MKS%20Base%20V1.6_004%20SCH.pdf
|
||||
* Schematic: https://github.com/makerbase-mks/MKS-BASE/blob/master/hardware/MKS%20Base%20V1.6_004/MKS%20Base%20V1.6_004%20SCH.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Arduino Mega with RAMPS v1.4 adjusted pin assignments
|
||||
* Schematic (1.4): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20GEN%20v1.4/MKS%20GEN%20V1.4_004%20SCH.pdf
|
||||
* Origin (1.4): https://github.com/makerbase-mks/MKS-GEN/blob/master/hardware/MKS%20GEN%20V1.4_004/MKS%20GEN%20V1.4_004%20SCH.pdf
|
||||
* Schematic (1.4): https://github.com/makerbase-mks/MKS-GEN/blob/master/hardware/MKS%20GEN%20V1.4_004/MKS%20GEN%20V1.4_004%20SCH.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
*
|
||||
* MKS GEN v1.3 (Extruder, Fan, Bed)
|
||||
|
|
|
|||
|
|
@ -23,9 +23,10 @@
|
|||
|
||||
/**
|
||||
* MKS GEN L – Arduino Mega2560 with RAMPS v1.4 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20GEN%20L%20v1.0/MKS%20Gen_L%20V1.0_008%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V1.0_008/MKS%20Gen_L%20V1.0_008%20SCH.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
* Schematic: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V1.0_008/MKS%20Gen_L%20V1.0_008%20SCH.pdf
|
||||
* Pin Diagram: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V1.0_008/MKS%20Gen_L%20V1.0_008%20PIN.pdf
|
||||
* Note: Schematic contains pin & connector errors, correct pin mappings are found on the pin diagram
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
|
@ -38,10 +39,30 @@
|
|||
// Heaters / Fans
|
||||
//
|
||||
|
||||
#define MOSFET_A_PIN 10 // HE0
|
||||
#define MOSFET_B_PIN 7 // HE1 or FAN Hotend Cooling
|
||||
#define MOSFET_C_PIN 8 // HBED
|
||||
#define FAN0_PIN 9 // FAN Part Cooling
|
||||
#ifndef MOSFET_A_PIN
|
||||
#define MOSFET_A_PIN 10 // HE0
|
||||
#endif
|
||||
#ifndef MOSFET_B_PIN
|
||||
#define MOSFET_B_PIN 7 // HE1 or FAN Hotend Cooling
|
||||
#endif
|
||||
#ifndef MOSFET_C_PIN
|
||||
#define MOSFET_C_PIN 8 // H-BED
|
||||
#endif
|
||||
#ifndef MOSFET_D_PIN
|
||||
#define MOSFET_D_PIN 9 // FAN Part Cooling
|
||||
#endif
|
||||
|
||||
// Always assign these to their labeled counterparts
|
||||
#define HEATER_0_PIN MOSFET_A_PIN
|
||||
#if ANY(FET_ORDER_EEF, FET_ORDER_EEB)
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
|
||||
#define FAN0_PIN MOSFET_D_PIN
|
||||
#if ENABLED(FET_ORDER_EFF)
|
||||
#define FAN1_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// CS Pins wired to avoid conflict with the LCD
|
||||
|
|
@ -51,7 +72,6 @@
|
|||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN 59
|
||||
#endif
|
||||
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN 63
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MKS GEN L V2 – Arduino Mega2560 with RAMPS v1.4 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20GEN%20L%20V2.0/MKS%20Gen_L%20V2.0_001%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V2.0_001/MKS%20Gen_L%20V2.0_001%20SCH.pdf
|
||||
* Schematic: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V2.0_001/MKS%20Gen_L%20V2.0_001%20SCH.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* MKS GEN L V2 – Arduino Mega2560 with RAMPS v1.4 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/MKS%20GEN%20L%20V2.1/MKS%20GEN_L%20V2.1_001%20SCH.pdf
|
||||
* Origin: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V2.1_001/MKS%20GEN_L%20V2.1_001%20SCH.pdf
|
||||
* Schematic: https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V2.1_001/MKS%20GEN_L%20V2.1_001%20SCH.pdf
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -231,20 +231,26 @@
|
|||
#define MOSFET_D_PIN -1
|
||||
#endif
|
||||
|
||||
#define HEATER_0_PIN MOSFET_A_PIN
|
||||
#ifndef HEATER_0_PIN
|
||||
#define HEATER_0_PIN MOSFET_A_PIN
|
||||
#endif
|
||||
|
||||
#if FET_ORDER_EFB // Hotend, Fan, Bed
|
||||
#if ENABLED(FET_ORDER_EFB) // Hotend, Fan, Bed
|
||||
#ifndef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#endif
|
||||
#elif FET_ORDER_EEF // Hotend, Hotend, Fan
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#elif ENABLED(FET_ORDER_EEF) // Hotend, Hotend, Fan
|
||||
#ifndef HEATER_1_PIN
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
#elif ENABLED(FET_ORDER_EEB) // Hotend, Hotend, Bed
|
||||
#ifndef HEATER_1_PIN
|
||||
#define HEATER_1_PIN MOSFET_B_PIN
|
||||
#endif
|
||||
#ifndef HEATER_BED_PIN
|
||||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#endif
|
||||
#elif FET_ORDER_EFF // Hotend, Fan, Fan
|
||||
#elif ENABLED(FET_ORDER_EFF) // Hotend, Fan, Fan
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN MOSFET_C_PIN
|
||||
#endif
|
||||
|
|
@ -253,9 +259,13 @@
|
|||
#define HEATER_BED_PIN MOSFET_C_PIN
|
||||
#endif
|
||||
#if ANY(HAS_MULTI_HOTEND, HEATERS_PARALLEL)
|
||||
#define HEATER_1_PIN MOSFET_D_PIN
|
||||
#ifndef HEATER_1_PIN
|
||||
#define HEATER_1_PIN MOSFET_D_PIN
|
||||
#endif
|
||||
#else
|
||||
#define FAN1_PIN MOSFET_D_PIN
|
||||
#ifndef FAN1_PIN
|
||||
#define FAN1_PIN MOSFET_D_PIN
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
@ -264,7 +274,7 @@
|
|||
#define FAN0_PIN MOSFET_B_PIN
|
||||
#elif ANY(FET_ORDER_EEF, FET_ORDER_SF) // Hotend, Hotend, Fan or Spindle, Fan
|
||||
#define FAN0_PIN MOSFET_C_PIN
|
||||
#elif FET_ORDER_EEB // Hotend, Hotend, Bed
|
||||
#elif ENABLED(FET_ORDER_EEB) // Hotend, Hotend, Bed
|
||||
#define FAN0_PIN 4 // IO pin. Buffer needed
|
||||
#else // Non-specific are "EFB" (i.e., "EFBF" or "EFBE")
|
||||
#define FAN0_PIN MOSFET_B_PIN
|
||||
|
|
@ -320,17 +330,29 @@
|
|||
#endif
|
||||
|
||||
//
|
||||
// TMC software SPI
|
||||
// TMC SPI
|
||||
//
|
||||
#if HAS_TMC_SPI
|
||||
#ifndef TMC_SPI_MOSI
|
||||
#define TMC_SPI_MOSI AUX2_09
|
||||
#endif
|
||||
#ifndef TMC_SPI_MISO
|
||||
#define TMC_SPI_MISO AUX2_07
|
||||
#endif
|
||||
#ifndef TMC_SPI_SCK
|
||||
#define TMC_SPI_SCK AUX2_05
|
||||
#if ENABLED(TMC_USE_SW_SPI)
|
||||
#ifndef TMC_SPI_MOSI
|
||||
#define TMC_SPI_MOSI AUX2_09
|
||||
#endif
|
||||
#ifndef TMC_SPI_MISO
|
||||
#define TMC_SPI_MISO AUX2_07
|
||||
#endif
|
||||
#ifndef TMC_SPI_SCK
|
||||
#define TMC_SPI_SCK AUX2_05
|
||||
#endif
|
||||
#else
|
||||
#ifndef TMC_SPI_MOSI
|
||||
#define TMC_SPI_MOSI AUX3_04
|
||||
#endif
|
||||
#ifndef TMC_SPI_MISO
|
||||
#define TMC_SPI_MISO AUX3_03
|
||||
#endif
|
||||
#ifndef TMC_SPI_SCK
|
||||
#define TMC_SPI_SCK AUX3_05
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
@ -633,9 +655,7 @@
|
|||
|
||||
#elif ENABLED(ZONESTAR_LCD)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ZONESTAR_LCD on RAMPS requires wiring modifications. It plugs into AUX2 but GND and 5V need to be swapped. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("RAMPS", "ZONESTAR_LCD", " Plugs into AUX2 but GND and 5V must be swapped.")
|
||||
|
||||
#define LCD_PINS_RS AUX2_05
|
||||
#define LCD_PINS_EN AUX2_07
|
||||
|
|
@ -732,6 +752,7 @@
|
|||
#define BTN_ENC AUX4_03
|
||||
#define LCD_SDSS SDSS
|
||||
#define KILL_PIN EXP2_08_PIN
|
||||
#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
@ -924,9 +945,7 @@
|
|||
|
||||
#if ALL(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("RAMPS", "LCD_FYSETC_TFT81050")
|
||||
|
||||
/**
|
||||
* FYSETC TFT-81050 display pinout
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* RUMBA pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/RUMBA/RRD-RUMBA_SCHEMATICS.png
|
||||
* Origin: https://reprap.org/wiki/File:RRD-RUMBA_SCHEMATICS.png
|
||||
* Schematic: https://reprap.org/wiki/File:RRD-RUMBA_SCHEMATICS.png
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* BIQU Tango pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/BIQU%20Tango/schematic.png
|
||||
* Origin: https://github.com/bigtreetech/Tango-3D-Printer-Motherboard/blob/master/Schematic/Tango%20V1.0.SchDoc
|
||||
* Schematic: https://github.com/bigtreetech/Tango-3D-Printer-Motherboard/blob/master/Schematic/Tango%20V1.0.SchDoc
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -124,33 +124,26 @@
|
|||
//#define E3_HARDWARE_SERIAL Serial1
|
||||
|
||||
#define X_SERIAL_TX_PIN -1 // 59
|
||||
#define X_SERIAL_RX_PIN -1 // 63
|
||||
//#define X_SERIAL_RX_PIN -1 // 63
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#define X2_SERIAL_RX_PIN -1
|
||||
|
||||
#define Y_SERIAL_TX_PIN -1 // 64
|
||||
#define Y_SERIAL_RX_PIN -1 // 40
|
||||
//#define Y_SERIAL_RX_PIN -1 // 40
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#define Y2_SERIAL_RX_PIN -1
|
||||
|
||||
#define Z_SERIAL_TX_PIN -1 // 44
|
||||
#define Z_SERIAL_RX_PIN -1 // 42
|
||||
//#define Z_SERIAL_RX_PIN -1 // 42
|
||||
#define Z2_SERIAL_TX_PIN -1
|
||||
#define Z2_SERIAL_RX_PIN -1
|
||||
|
||||
#define E0_SERIAL_TX_PIN -1 // 66
|
||||
#define E0_SERIAL_RX_PIN -1 // 65
|
||||
//#define E0_SERIAL_RX_PIN -1 // 65
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#define E1_SERIAL_RX_PIN -1
|
||||
#define E2_SERIAL_TX_PIN -1
|
||||
#define E2_SERIAL_RX_PIN -1
|
||||
#define E3_SERIAL_TX_PIN -1
|
||||
#define E3_SERIAL_RX_PIN -1
|
||||
#define E4_SERIAL_TX_PIN -1
|
||||
#define E4_SERIAL_RX_PIN -1
|
||||
#define E5_SERIAL_RX_PIN -1
|
||||
#define E6_SERIAL_RX_PIN -1
|
||||
#define E7_SERIAL_RX_PIN -1
|
||||
#define E5_SERIAL_TX_PIN -1
|
||||
#define E6_SERIAL_TX_PIN -1
|
||||
#define E7_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
@ -430,6 +423,7 @@
|
|||
#define BTN_ENC 32
|
||||
#define LCD_SDSS EXP2_04_PIN
|
||||
//#define KILL_PIN 41
|
||||
#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
|
|||
|
|
@ -24,11 +24,6 @@
|
|||
/**
|
||||
* Ultiboard v2.0 pin assignments
|
||||
* Schematics (2.1.4):
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%202.1.4/schema1.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%202.1.4/schema2.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%202.1.4/schema3.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%202.1.4/schema4.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%202.1.4/schema5.png
|
||||
* Origins (2.1.4):
|
||||
* - https://github.com/Ultimaker/Ultimaker2/blob/master/1546%20ultimainboard%20V2.1.4/schema1.SchDoc
|
||||
* - https://github.com/Ultimaker/Ultimaker2/blob/master/1546%20ultimainboard%20V2.1.4/schema2.SchDoc
|
||||
|
|
@ -36,11 +31,7 @@
|
|||
* - https://github.com/Ultimaker/Ultimaker2/blob/master/1546%20ultimainboard%20V2.1.4/schema4.SchDoc
|
||||
* - https://github.com/Ultimaker/Ultimaker2/blob/master/1546%20ultimainboard%20V2.1.4/schema5.SchDoc
|
||||
* Schematics (Original+):
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%20Original+/Ultimainboard%20rev.%202.1.1%20altium/schema1.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%20Original+/Ultimainboard%20rev.%202.1.1%20altium/schema2.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%20Original+/Ultimainboard%20rev.%202.1.1%20altium/schema3.png
|
||||
* - https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%20Original+/Ultimainboard%20rev.%202.1.1%20altium/schema4.png
|
||||
* Origin (Original+): https://github.com/Ultimaker/Ultimaker-Original-Plus/blob/master/1091_Main_board_v2.1.1_(x1)/Ultimainboard%20rev.%202.1.1%20altium.zip
|
||||
* Schematic (Original+): https://github.com/Ultimaker/Ultimaker-Original-Plus/blob/master/1091_Main_board_v2.1.1_%28x1%29/Ultimainboard%20rev.%202.1.1%20altium.zip
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
/**
|
||||
* Ultimaker pin assignments (Old electronics)
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%201.0/ultipanel%20rev1.1.sch.pdf
|
||||
* Origin: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/Ultimaker%201.0/ultipanel%20rev1.1.sch.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -24,10 +24,8 @@
|
|||
/**
|
||||
* ZONESTAR ZRIB V2.0 & V3.0 pin assignments
|
||||
* V2 and V3 Boards only differ in USB controller, nothing affecting the pins.
|
||||
* Schematic (2.0): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/ZONESTAR%20ZRIB%20V2.0/ZRIB_V2_Schematic.pdf
|
||||
* Origin (2.0): https://github.com/ZONESTAR3D/Control-Board/blob/main/8bit/ZRIB/ZRIB_V2/ZRIB_V2_Schematic.pdf
|
||||
* Schematic (3.0): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/ZONESTAR%20ZRIB%20V3.0/ZRIB_V3_Schematic.pdf
|
||||
* Origin (3.0): https://github.com/ZONESTAR3D/Control-Board/blob/main/8bit/ZRIB/ZRIB_V3/ZRIB_V3_Schematic.pdf
|
||||
* Schematic (2.0): https://github.com/ZONESTAR3D/Control-Board/blob/main/8bit/ZRIB/ZRIB_V2/ZRIB_V2_Schematic.pdf
|
||||
* Schematic (3.0): https://github.com/ZONESTAR3D/Control-Board/blob/main/8bit/ZRIB/ZRIB_V3/ZRIB_V3_Schematic.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* ZONESTAR ZRIB V5.2 Based on MKS BASE v1.4 with A4982 stepper drivers and digital micro-stepping
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/RAMPS/ZONESTAR%20ZRIB%20V5.2/ZRIB_V52_Schematic.pdf
|
||||
* Origin: https://github.com/ZONESTAR3D/Control-Board/blob/main/8bit/ZRIB/ZRIB_V5/ZRIB_V52_Schematic.pdf
|
||||
* Schematic: https://github.com/ZONESTAR3D/Control-Board/blob/main/8bit/ZRIB/ZRIB_V5/ZRIB_V52_Schematic.pdf
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
// 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 BOARD_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
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
/**
|
||||
* RADDS Extension Board V2 / V3
|
||||
* http://doku.radds.org/dokumentation/extension-board
|
||||
* https://web.archive.org/web/20210627142010/doku.radds.org/dokumentation/extension-board/
|
||||
*/
|
||||
//#define RADDS_EXTENSION 2
|
||||
#if RADDS_EXTENSION >= 2
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@
|
|||
|
||||
#elif ENABLED(SPARK_FULL_GRAPHICS)
|
||||
|
||||
//http://doku.radds.org/dokumentation/other-electronics/sparklcd/
|
||||
// https://sparklab-shop.de/elektronik/40/sparklcd-adapter
|
||||
#error "Oops! SPARK_FULL_GRAPHICS not supported with RURAMPS4D."
|
||||
//#define LCD_PINS_D4 29 //?
|
||||
//#define LCD_PINS_EN 27 //?
|
||||
|
|
|
|||
|
|
@ -361,6 +361,7 @@
|
|||
//#define BTN_ENC 32
|
||||
//#define LCD_SDSS SDSS
|
||||
//#define KILL_PIN EXP1_01_PIN
|
||||
//#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
@ -568,23 +569,6 @@
|
|||
#endif
|
||||
|
||||
#if HAS_TMC_UART
|
||||
/**
|
||||
* Address for the UART Configuration of the TMC2209. Override in Configuration files.
|
||||
* To test TMC2209 Steppers enable TMC_DEBUG in Configuration_adv.h and test the M122 command with voltage on the steppers.
|
||||
*/
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 0b00
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 0b01
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 0b10
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 0b11
|
||||
#endif
|
||||
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
* It seems to work perfectly fine on Software Serial, if an advanced user wants to test, you could use the SAMD51 Serial1 and Serial 2. Be careful with the Sercom configurations.
|
||||
|
|
@ -594,8 +578,28 @@
|
|||
//#define Z_HARDWARE_SERIAL Serial1
|
||||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
|
||||
// This is the stable default value after testing, but, higher UART rates could be configured, remeber to test the Steppers with the M122 command to check if everything works.
|
||||
#define TMC_BAUD_RATE 250000
|
||||
// Default TMC slave addresses
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 0
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 1
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 2
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
static_assert(X_SLAVE_ADDRESS == 0, "X_SLAVE_ADDRESS must be 0 for BOARD_BRICOLEMON_LITE_V1_0.");
|
||||
static_assert(Y_SLAVE_ADDRESS == 1, "Y_SLAVE_ADDRESS must be 1 for BOARD_BRICOLEMON_LITE_V1_0.");
|
||||
static_assert(Z_SLAVE_ADDRESS == 2, "Z_SLAVE_ADDRESS must be 2 for BOARD_BRICOLEMON_LITE_V1_0.");
|
||||
static_assert(E0_SLAVE_ADDRESS == 3, "E0_SLAVE_ADDRESS must be 3 for BOARD_BRICOLEMON_LITE_V1_0.");
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
#define TMC_BAUD_RATE 19200 // 250000
|
||||
#endif
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
|
|
|||
|
|
@ -413,6 +413,7 @@
|
|||
//#define BTN_ENC 32
|
||||
//#define LCD_SDSS SDSS
|
||||
//#define KILL_PIN EXP1_01_PIN
|
||||
//#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
@ -620,27 +621,6 @@
|
|||
#endif
|
||||
|
||||
#if HAS_TMC_UART
|
||||
|
||||
/**
|
||||
* Address for the UART Configuration of the TMC2209. Override in Configuration files.
|
||||
* To test TMC2209 Steppers enable TMC_DEBUG in Configuration_adv.h and test the M122 command with voltage on the steppers.
|
||||
*/
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 0b00
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 0b01
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 0b10
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 0b11
|
||||
#endif
|
||||
#ifndef E1_SLAVE_ADDRESS
|
||||
#define E1_SLAVE_ADDRESS 0b00
|
||||
#endif
|
||||
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
* It seems to work perfectly fine on Software Serial, if an advanced user wants to test, you could use the SAMD51 Serial1 and Serial 2. Be careful with the Sercom configurations.
|
||||
|
|
@ -653,7 +633,32 @@
|
|||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define E1_HARDWARE_SERIAL Serial2
|
||||
|
||||
#define TMC_BAUD_RATE 250000
|
||||
// Default TMC slave addresses
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 0
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 1
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 2
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
#ifndef E1_SLAVE_ADDRESS
|
||||
#define E1_SLAVE_ADDRESS 0
|
||||
#endif
|
||||
static_assert(X_SLAVE_ADDRESS == 0, "X_SLAVE_ADDRESS must be 0 for BOARD_BRICOLEMON_V1_0.");
|
||||
static_assert(Y_SLAVE_ADDRESS == 1, "Y_SLAVE_ADDRESS must be 1 for BOARD_BRICOLEMON_V1_0.");
|
||||
static_assert(Z_SLAVE_ADDRESS == 2, "Z_SLAVE_ADDRESS must be 2 for BOARD_BRICOLEMON_V1_0.");
|
||||
static_assert(E0_SLAVE_ADDRESS == 3, "E0_SLAVE_ADDRESS must be 3 for BOARD_BRICOLEMON_V1_0.");
|
||||
static_assert(E1_SLAVE_ADDRESS == 0, "E1_SLAVE_ADDRESS must be 0 for BOARD_BRICOLEMON_V1_0.");
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
#define TMC_BAUD_RATE 19200 // 250000
|
||||
#endif
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
|
|
|||
|
|
@ -308,6 +308,7 @@
|
|||
//#define BTN_ENC 32
|
||||
//#define LCD_SDSS SDSS
|
||||
//#define KILL_PIN EXP1_01_PIN
|
||||
//#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
@ -497,27 +498,6 @@
|
|||
#define SD_DETECT_PIN 22
|
||||
|
||||
#if HAS_TMC_UART
|
||||
|
||||
/**
|
||||
* TMC2209 UART Address. Override in Configuration files.
|
||||
* To test TMC2209 Steppers enable TMC_DEBUG and test M122 with voltage on the steppers.
|
||||
*/
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 0b00
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 0b01
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 0b10
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 0b11
|
||||
#endif
|
||||
#ifndef E1_SLAVE_ADDRESS
|
||||
#define E1_SLAVE_ADDRESS 0b00
|
||||
#endif
|
||||
|
||||
/**
|
||||
* TMC2208/TMC2209 stepper drivers
|
||||
* Seems to work fine with Software Serial. If you want to test, use SAMD51 Serial1 and Serial2. Be careful with the Sercom configurations.
|
||||
|
|
@ -530,7 +510,32 @@
|
|||
//#define E0_HARDWARE_SERIAL Serial1
|
||||
//#define E1_HARDWARE_SERIAL Serial2
|
||||
|
||||
#define TMC_BAUD_RATE 250000
|
||||
// Default TMC slave addresses
|
||||
#ifndef X_SLAVE_ADDRESS
|
||||
#define X_SLAVE_ADDRESS 0
|
||||
#endif
|
||||
#ifndef Y_SLAVE_ADDRESS
|
||||
#define Y_SLAVE_ADDRESS 1
|
||||
#endif
|
||||
#ifndef Z_SLAVE_ADDRESS
|
||||
#define Z_SLAVE_ADDRESS 2
|
||||
#endif
|
||||
#ifndef E0_SLAVE_ADDRESS
|
||||
#define E0_SLAVE_ADDRESS 3
|
||||
#endif
|
||||
#ifndef E1_SLAVE_ADDRESS
|
||||
#define E1_SLAVE_ADDRESS 0
|
||||
#endif
|
||||
static_assert(X_SLAVE_ADDRESS == 0, "X_SLAVE_ADDRESS must be 0 for BOARD_MINITRONICS20.");
|
||||
static_assert(Y_SLAVE_ADDRESS == 1, "Y_SLAVE_ADDRESS must be 1 for BOARD_MINITRONICS20.");
|
||||
static_assert(Z_SLAVE_ADDRESS == 2, "Z_SLAVE_ADDRESS must be 2 for BOARD_MINITRONICS20.");
|
||||
static_assert(E0_SLAVE_ADDRESS == 3, "E0_SLAVE_ADDRESS must be 3 for BOARD_MINITRONICS20.");
|
||||
static_assert(E1_SLAVE_ADDRESS == 0, "E1_SLAVE_ADDRESS must be 0 for BOARD_MINITRONICS20.");
|
||||
|
||||
// Reduce baud rate to improve software serial reliability
|
||||
#ifndef TMC_BAUD_RATE
|
||||
#define TMC_BAUD_RATE 19200 // 250000
|
||||
#endif
|
||||
|
||||
//
|
||||
// Software serial
|
||||
|
|
|
|||
|
|
@ -210,54 +210,30 @@
|
|||
#ifndef X_SERIAL_TX_PIN
|
||||
#define X_SERIAL_TX_PIN 47
|
||||
#endif
|
||||
#ifndef X_SERIAL_RX_PIN
|
||||
#define X_SERIAL_RX_PIN X_SERIAL_TX_PIN
|
||||
#endif
|
||||
#ifndef X2_SERIAL_TX_PIN
|
||||
#define X2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef X2_SERIAL_RX_PIN
|
||||
#define X2_SERIAL_RX_PIN X2_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef Y_SERIAL_TX_PIN
|
||||
#define Y_SERIAL_TX_PIN 45
|
||||
#endif
|
||||
#ifndef Y_SERIAL_RX_PIN
|
||||
#define Y_SERIAL_RX_PIN Y_SERIAL_TX_PIN
|
||||
#endif
|
||||
#ifndef Y2_SERIAL_TX_PIN
|
||||
#define Y2_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef Y2_SERIAL_RX_PIN
|
||||
#define Y2_SERIAL_RX_PIN Y2_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef Z_SERIAL_TX_PIN
|
||||
#define Z_SERIAL_TX_PIN 32
|
||||
#endif
|
||||
#ifndef Z_SERIAL_RX_PIN
|
||||
#define Z_SERIAL_RX_PIN Z_SERIAL_TX_PIN
|
||||
#endif
|
||||
#ifndef Z2_SERIAL_TX_PIN
|
||||
#define Z2_SERIAL_TX_PIN 22
|
||||
#endif
|
||||
#ifndef Z2_SERIAL_RX_PIN
|
||||
#define Z2_SERIAL_RX_PIN Z2_SERIAL_TX_PIN
|
||||
#endif
|
||||
|
||||
#ifndef E0_SERIAL_TX_PIN
|
||||
#define E0_SERIAL_TX_PIN 43
|
||||
#endif
|
||||
#ifndef E0_SERIAL_RX_PIN
|
||||
#define E0_SERIAL_RX_PIN E0_SERIAL_TX_PIN
|
||||
#endif
|
||||
#ifndef E1_SERIAL_TX_PIN
|
||||
#define E1_SERIAL_TX_PIN -1
|
||||
#endif
|
||||
#ifndef E1_SERIAL_RX_PIN
|
||||
#define E1_SERIAL_RX_PIN E1_SERIAL_TX_PIN
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//
|
||||
|
|
@ -465,9 +441,7 @@
|
|||
|
||||
#elif ENABLED(ZONESTAR_LCD)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! ZONESTAR_LCD on RAMPS requires wiring modifications. It plugs into AUX2 but GND and 5V need to be swapped. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("RAMPS_144", "ZONESTAR_LCD", " Plugs into AUX2 but GND and 5V must be swapped.")
|
||||
|
||||
#define LCD_PINS_RS AUX2_05
|
||||
#define LCD_PINS_EN AUX2_07
|
||||
|
|
@ -566,6 +540,7 @@
|
|||
#define BTN_ENC AUX4_03
|
||||
#define LCD_SDSS SDSS
|
||||
#define KILL_PIN AUX4_07
|
||||
#undef LCD_PINS_EN // not used, causes false pin conflict report
|
||||
|
||||
#elif ENABLED(LCD_I2C_VIKI)
|
||||
|
||||
|
|
@ -749,9 +724,7 @@
|
|||
|
||||
#if ALL(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)
|
||||
|
||||
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||
#endif
|
||||
CONTROLLER_WARNING("RAMPS_144", "LCD_FYSETC_TFT81050")
|
||||
|
||||
/**
|
||||
* FYSETC TFT-81050 display pinout
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Anet V1.0 board pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Anet%20V1.0/ANET3D_Board_Schematic.pdf
|
||||
* Origin: https://github.com/ralf-e/ANET-3D-Board-V1.0/blob/master/ANET3D_Board_Schematic.pdf
|
||||
* Schematic: https://github.com/ralf-e/ANET-3D-Board-V1.0/blob/master/ANET3D_Board_Schematic.pdf
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
@ -52,20 +51,14 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Another usable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
@ -207,7 +200,7 @@
|
|||
#elif IS_RRD_FG_SC
|
||||
|
||||
// Pin definitions for the Anet A6 Full Graphics display and the RepRapDiscount Full Graphics
|
||||
// display using an adapter board. See https://go.aisler.net/benlye/anet-lcd-adapter/pcb
|
||||
// display using an adapter board. See https://aisler.net/benlye/anet-lcd-adapter/pcb
|
||||
// See below for alternative pin definitions for use with https://www.thingiverse.com/thing:2103748
|
||||
|
||||
#if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
|
||||
|
|
@ -306,8 +299,8 @@
|
|||
* ====================================================================
|
||||
*
|
||||
* Anet V1.0 controller | ZONESTAR_LCD | ANET_FULL_ | RepRapDiscount Full | Thingiverse RepRap wiring
|
||||
* physical logical alt | | GRAPHICS_LCD | Graphics Display Wiring | https://www.thingiverse
|
||||
* pin pin functions | | | | .com/thing:2103748
|
||||
* physical logical alt | | GRAPHICS_LCD | Graphics Display Wiring | https://www.thingiverse.com/thing:2103748
|
||||
* pin pin functions | | | |
|
||||
*--------------------------------------------------------------------------------------------------------------------
|
||||
* ANET-J3.1 8 *** | N/A | J3_TX *** | |
|
||||
* ANET-J3.2 9 *** | N/A | J3_RX *** | |
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Azteeg X1 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Azteeg%20X1/Azteeg_X1_schematics.pdf
|
||||
* Origin: https://reprap.org/mediawiki/images/0/07/Azteeg_X1_schematics.pdf
|
||||
* Schematic: https://reprap.org/mediawiki/images/0/07/Azteeg_X1_schematics.pdf
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "Azteeg X1"
|
||||
|
|
|
|||
|
|
@ -27,26 +27,14 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* added pointer to a current Arduino IDE extension
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA644P
|
||||
|
|
|
|||
|
|
@ -26,25 +26,13 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* added pointer to a current Arduino IDE extension
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,33 +23,18 @@
|
|||
|
||||
/**
|
||||
* Gen6 pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen6/GEN6_Mendel_Circuit.pdf
|
||||
* Origin: https://reprap.org/mediawiki/images/0/0f/GEN6_Mendel_Circuit.pdf
|
||||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* 1) added pointer to a current Arduino IDE extension
|
||||
* 2) added support for M3, M4 & M5 spindle control commands
|
||||
* 3) added case light pin definition
|
||||
* Schematic: https://reprap.org/mediawiki/images/0/0f/GEN6_Mendel_Circuit.pdf
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA644P
|
||||
|
|
|
|||
|
|
@ -26,25 +26,13 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* added pointer to a current Arduino IDE extension
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -23,39 +23,21 @@
|
|||
|
||||
/**
|
||||
* Gen7 v1.1, v1.2, v1.3 pin assignments
|
||||
* Schematic (1.1): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen7%20v1.1/Gen7Board%20Schematic.pdf
|
||||
* Origin (1.1): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.1/release%20documents/Gen7Board%20Schematic.pdf
|
||||
* Schematic (1.2): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen7%20v1.2/Gen7Board%20Schematic.pdf
|
||||
* Origin (1.2): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.2/release%20documents/Gen7Board%20Schematic.pdf
|
||||
* Schematic (1.3): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen7%20v1.3/Gen7Board%20Schematic.pdf
|
||||
* Origin (1.3): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.3/release%20documents/Gen7Board%20Schematic.pdf
|
||||
* Schematic (1.3.1): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen7%20v1.3.1/Gen7Board%20Schematic.pdf
|
||||
* Origin (1.3.1): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.3.1/release%20documents/Gen7Board%20Schematic.pdf
|
||||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* 1) added pointer to a current Arduino IDE extension
|
||||
* 2) added support for M3, M4 & M5 spindle control commands
|
||||
* 3) added case light pin definition
|
||||
* Schematic (1.1): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.1/release%20documents/Gen7Board%20Schematic.pdf
|
||||
* Schematic (1.2): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.2/release%20documents/Gen7Board%20Schematic.pdf
|
||||
* Schematic (1.3): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.3/release%20documents/Gen7Board%20Schematic.pdf
|
||||
* Schematic (1.3.1): https://github.com/Traumflug/Generation_7_Electronics/blob/release-1.3.1/release%20documents/Gen7Board%20Schematic.pdf
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA644
|
||||
|
|
|
|||
|
|
@ -26,26 +26,14 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* added pointer to a current Arduino IDE extension
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "Gen7 v1.3"
|
||||
|
|
|
|||
|
|
@ -23,35 +23,19 @@
|
|||
|
||||
/**
|
||||
* Gen7 v1.4 pin assignments
|
||||
* Schematic (1.4): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen7%20v1.4/Gen7Board%201.4%20Schematic.pdf
|
||||
* Origin (1.4): https://github.com/Traumflug/Generation_7_Electronics/blob/Gen7Board-1.4/release%20documents/Gen7Board%201.4%20Schematic.pdf
|
||||
* Schematic (1.4.1): https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Gen7%20v1.4.1/Gen7Board%201.4.1%20Schematic.pdf
|
||||
* Origin (1.4.1): https://github.com/Traumflug/Generation_7_Electronics/blob/Gen7Board-1.4.1/release%20documents/Gen7Board%201.4.1%20Schematic.pdf
|
||||
* Schematic (1.4): https://github.com/Traumflug/Generation_7_Electronics/blob/Gen7Board-1.4/release%20documents/Gen7Board%201.4%20Schematic.pdf
|
||||
* Schematic (1.4.1): https://github.com/Traumflug/Generation_7_Electronics/blob/Gen7Board-1.4.1/release%20documents/Gen7Board%201.4.1%20Schematic.pdf
|
||||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* 1) added pointer to a current Arduino IDE extension
|
||||
* 2) added support for M3, M4 & M5 spindle control commands
|
||||
* 3) added case light pin definition
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA644
|
||||
|
|
|
|||
|
|
@ -29,28 +29,14 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Rev B 26 DEC 2016
|
||||
*
|
||||
* 1) added pointer to a current Arduino IDE extension
|
||||
* 2) added support for M3, M4 & M5 spindle control commands
|
||||
* 3) added case light pin definition
|
||||
*/
|
||||
|
||||
/**
|
||||
* A useable Arduino IDE extension (Boards Manager) can be found at
|
||||
* Requires this Arduino IDE extension for Boards Manager:
|
||||
* https://github.com/Lauszus/Sanguino
|
||||
*
|
||||
* This extension has been tested on Arduino 1.6.12 & 1.8.0
|
||||
*
|
||||
* Here's the JSON path:
|
||||
* Follow the installation instructions at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use this JSON URL instead of Sparkfun's:
|
||||
* https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json
|
||||
*
|
||||
* When installing select 1.0.2
|
||||
*
|
||||
* Installation instructions can be found at https://learn.sparkfun.com/pages/CustomBoardsArduino
|
||||
* Just use the above JSON URL instead of Sparkfun's JSON.
|
||||
*
|
||||
* Once installed select the Sanguino board and then select the CPU.
|
||||
* Once installed select the SANGUINO board and then select the CPU.
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA644
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Melzi pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Melzi/schematic.pdf
|
||||
* Origin: https://github.com/mosfet/melzi/blob/master/melzi.sch
|
||||
* Schematic: https://github.com/mosfet/melzi/blob/master/melzi.sch
|
||||
*/
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Melzi (Creality) pin assignments
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Melzi%20(Creality)/CR-10%20Schematic.pdf
|
||||
* Origin: https://github.com/Creality3DPrinting/CR10-Melzi-1.1.2/blob/master/Circuit%20diagram/Motherboard/CR-10%20Schematic.pdf
|
||||
* Schematic: https://github.com/Creality3DPrinting/CR10-Melzi-1.1.2/blob/master/Circuit%20diagram/Motherboard/CR-10%20Schematic.pdf
|
||||
* ATmega1284P
|
||||
*
|
||||
* The Creality board needs a bootloader installed before Marlin can be uploaded.
|
||||
|
|
@ -102,7 +101,7 @@
|
|||
#endif
|
||||
#if PIN_EXISTS(BEEPER) && (SERVO0_PIN == BEEPER_PIN || FIL_RUNOUT_PIN == BEEPER_PIN)
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN -1
|
||||
#define BEEPER_PIN -1
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
@ -112,13 +111,13 @@
|
|||
PIN: 3 Port: B3 Z_STEP_PIN protected
|
||||
PIN: 4 Port: B4 AVR_SS_PIN protected
|
||||
. FAN0_PIN protected
|
||||
. SD_SS_PIN protected
|
||||
. SD_SS_PIN protected
|
||||
PIN: 5 Port: B5 AVR_MOSI_PIN Output = 1
|
||||
. SD_MOSI_PIN Output = 1
|
||||
. SD_MOSI_PIN Output = 1
|
||||
PIN: 6 Port: B6 AVR_MISO_PIN Input = 0 TIMER3A PWM: 0 WGM: 1 COM3A: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
|
||||
. SD_MISO_PIN Input = 0
|
||||
. SD_MISO_PIN Input = 0
|
||||
PIN: 7 Port: B7 AVR_SCK_PIN Output = 0 TIMER3B PWM: 0 WGM: 1 COM3B: 0 CS: 3 TCCR3A: 1 TCCR3B: 3 TIMSK3: 0
|
||||
. SD_SCK_PIN Output = 0
|
||||
. SD_SCK_PIN Output = 0
|
||||
PIN: 8 Port: D0 RXD Input = 1
|
||||
PIN: 9 Port: D1 TXD Input = 0
|
||||
PIN: 10 Port: D2 BTN_EN2 Input = 1
|
||||
|
|
|
|||
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
/**
|
||||
* Melzi V2.0 as found at https://www.reprap.org/wiki/Melzi
|
||||
* Schematic: https://green-candy.osdn.jp/external/MarlinFW/board_schematics/Melzi%20V2/Melzi-circuit.png
|
||||
* Origin: https://www.reprap.org/mediawiki/images/7/7d/Melzi-circuit.png
|
||||
* Schematic: https://www.reprap.org/mediawiki/images/7/7d/Melzi-circuit.png
|
||||
*
|
||||
* ATmega644P
|
||||
*/
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue