Merge upstream changes from Marlin 2.1.2.1
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -22,11 +22,7 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* BIQU BQ111-A4
|
||||
*
|
||||
* Applies to the following boards:
|
||||
*
|
||||
* BOARD_BIQU_BQ111_A4 (Hotend, Fan, Bed)
|
||||
* BIQU Thunder B300 V1.0
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,10 @@
|
||||
|
||||
/**
|
||||
* BIQU BQ111-A4 pin assignments
|
||||
*
|
||||
* Applies to the following boards:
|
||||
*
|
||||
* BOARD_BIQU_BQ111_A4 (Hotend, Fan, Bed)
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.1"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.3"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
@@ -358,11 +360,11 @@
|
||||
#define BEEPER_PIN EXP1_01_PIN
|
||||
|
||||
#elif ENABLED(CR10_STOCKDISPLAY)
|
||||
#define BTN_ENC EXP1_02_PIN // (58) open-drain
|
||||
#define LCD_PINS_RS EXP1_07_PIN
|
||||
|
||||
#define BTN_EN1 EXP1_03_PIN
|
||||
#define BTN_EN2 EXP1_05_PIN
|
||||
#define BTN_ENC EXP1_02_PIN
|
||||
|
||||
#define LCD_PINS_ENABLE EXP1_08_PIN
|
||||
#define LCD_PINS_D4 EXP1_06_PIN
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* Board pins<->features assignments are based on the
|
||||
* Micro-Delta Rework printer default connections.
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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"
|
||||
@@ -184,7 +186,7 @@
|
||||
#define SD_MISO_PIN P1_23 // J8-3 (moved from EXP2 P0.8)
|
||||
#define SD_MOSI_PIN P2_12 // J8-4 (moved from EXP2 P0.9)
|
||||
#define SD_SS_PIN P0_28
|
||||
#define LPC_SOFTWARE_SPI // With a custom cable we need software SPI because the
|
||||
#define SOFTWARE_SPI // With a custom cable we need software SPI because the
|
||||
// selected pins are not on a hardware SPI controller
|
||||
#elif SD_CONNECTION_IS(LCD) || SD_CONNECTION_IS(ONBOARD)
|
||||
#define SD_SCK_PIN P0_07
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* Applies to the following boards:
|
||||
*
|
||||
@@ -354,8 +356,8 @@
|
||||
#if EITHER(VIKI2, miniVIKI)
|
||||
#define DOGLCD_CS P0_16 // (16)
|
||||
#define DOGLCD_A0 P2_06 // (59) J3-8 & AUX-2
|
||||
#define DOGLCD_SCK SD_SCK_PIN
|
||||
#define DOGLCD_MOSI SD_MOSI_PIN
|
||||
#define DOGLCD_SCK P0_15 // (52) (SCK) J3-9 & AUX-3
|
||||
#define DOGLCD_MOSI P0_18 // (51) (MOSI) J3-10 & AUX-3
|
||||
|
||||
#define STAT_LED_BLUE_PIN P0_26 // (63) may change if cable changes
|
||||
#define STAT_LED_RED_PIN P1_21 // ( 6) may change if cable changes
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,10 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
#include "env_validate.h"
|
||||
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
@@ -209,7 +211,7 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Ender 3 V2 display SKR E3 Turbo (EXP1) Ender 3 V2 display --> SKR E3 Turbo
|
||||
* Ender-3 V2 display SKR E3 Turbo (EXP1) Ender-3 V2 display --> SKR E3 Turbo
|
||||
* ------ ------ RX 3 --> 5 P0_15
|
||||
* -- | 1 2 | -- (BEEPER) P2_08 |10 9 | P0_16 (BTN_ENC) TX 4 --> 9 P0_16
|
||||
* (SKR_TX1) RX | 3 4 | TX (SKR_RX1) (BTN_EN1) P0_19 | 8 7 | RESET BEEPER 6 --> 10 P2_08
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "BTT SKR V1.4 TURBO"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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/
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*
|
||||
* Pins diagram:
|
||||
* https://github.com/makerbase-mks/MKS-SGen/blob/master/Hardware/MKS%20SGEN%20V1.0_001/MKS%20SGEN%20V1.0_001%20PIN.pdf
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -131,12 +131,6 @@
|
||||
#ifndef E0_AUTO_FAN_PIN
|
||||
#define E0_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
#ifndef E1_AUTO_FAN_PIN
|
||||
#define E1_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
#ifndef E2_AUTO_FAN_PIN
|
||||
#define E2_AUTO_FAN_PIN AUTO_FAN_PIN
|
||||
#endif
|
||||
|
||||
//
|
||||
// SD Card
|
||||
@@ -144,7 +138,7 @@
|
||||
|
||||
#define SDCARD_CONNECTION ONBOARD
|
||||
|
||||
//#define SD_DETECT_PIN P0_25 // SD_CD
|
||||
#define SD_DETECT_PIN P0_27 // SD_CD
|
||||
#define SD_SCK_PIN P0_07
|
||||
#define SD_MISO_PIN P0_08
|
||||
#define SD_MOSI_PIN P0_09
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Cheaptronic v1.0 pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -24,7 +24,9 @@
|
||||
/**
|
||||
* Cheaptronic v2.0 pin assignments
|
||||
* Built and sold by Michal Dyntar - RRO
|
||||
* www.reprapobchod.cz
|
||||
* www.reprapobchod.cz (DOES NOT EXIST ANYMORE)
|
||||
* https://web.archive.org/web/20190306201523/http://reprapobchod.cz/
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* CartesioV11 pin assignments
|
||||
* Comes with an Arduino Mega, see
|
||||
* https://web.archive.org/web/20171024190029/http://mauk.cc/mediawiki/index.php/Electronical_assembly
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA1280
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* CartesioV12 pin assignments
|
||||
* Comes with an Arduino Mega, see
|
||||
* https://web.archive.org/web/20171024190029/http://mauk.cc/mediawiki/index.php/Electronical_assembly
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA1280
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* CNControls V15 for HMS434 pin assignments
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA1280
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Einstart-S pin assignments
|
||||
* ATmega2560, ATmega1280
|
||||
* PCB Silkscreen: 3DPrinterCon_v3.5
|
||||
*/
|
||||
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -25,6 +25,9 @@
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA1280
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "GT2560 Rev.A+"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "GT2560 Rev B"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*
|
||||
* Also GT2560 RevB and GT2560 4.0/4.1
|
||||
*/
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Geeetech A20M board pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define LCD_PINS_RS 5
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Geeetech GT2560 V 3.0 board pin assignments (for Mecreator 2)
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "GT2560 V3.0 (MC2)"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "GT2560 4.x"
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Geeetech A20 GT2560 V4.x board pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "GT2560 4.x"
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Geeetech HJC2560-C Rev 2.x board pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Intamsys Funmat HT V4.0 Mainboard
|
||||
* ATmega2560
|
||||
* 4988 Drivers Tested
|
||||
* 2208 version exists and may or may not work
|
||||
*/
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Leapfrog Driver board pin assignments
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#define ALLOW_MEGA1280
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Leapfrog Xeed Driver board pin assignments
|
||||
* ATmega2560
|
||||
*
|
||||
* This board is used by other Leapfrog printers in addition to the Xeed,
|
||||
* such as the Creatr HS and Bolt. The pin assignments vary wildly between
|
||||
|
@@ -24,6 +24,8 @@
|
||||
/**
|
||||
* Malyan M180 pin assignments
|
||||
* Contributed by Timo Birnschein (timo.birnschein@microforge.de)
|
||||
* @Timo: sind diese Pin Definitionen immernoch korrekt? (Antwort an turningtides@outlook.de bitte)
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* MegaTronics v3.0 / v3.1 / v3.2 pin assignments
|
||||
* Schematic Origin: https://github.com/brupje/Megatronics_3/blob/master/Design%20Files/megatronics.sch
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* also works for Rev D boards. It's all rev E despite what the silk screen says
|
||||
*/
|
||||
|
||||
|
@@ -23,6 +23,11 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega1281
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*
|
||||
* PICA is Power, Interface, and Control Adapter and is open source hardware.
|
||||
* See https://github.com/mjrice/PICA for schematics etc.
|
||||
|
@@ -21,6 +21,10 @@
|
||||
*/
|
||||
#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
|
||||
// ATmega2560
|
||||
|
||||
#define HEATER_0_PIN 9 // E0
|
||||
#define HEATER_1_PIN 10 // E1
|
||||
#define FAN_PIN 11
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*
|
||||
* This CNC shield has an UNO pinout and fits all Arduino-compatibles.
|
||||
*
|
||||
|
@@ -21,6 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
// ATmega2561
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega1281__, __AVR_ATmega2561__)
|
||||
#error "Oops! Select 'Silvergate' in 'Tools > Board.'"
|
||||
#endif
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Wanhao 0ne+ pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,7 @@
|
||||
/**
|
||||
* Based on WEEDO 62A pin configuration
|
||||
* Copyright (c) 2019 WEEDO3D Perron
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
@@ -549,6 +549,16 @@
|
||||
#include "stm32f1/pins_BTT_SKR_MINI_E3_V2_0.h" // STM32F1 env:STM32F103RC_btt env:STM32F103RC_btt_USB env:STM32F103RE_btt env:STM32F103RE_btt_USB env:STM32F103RC_btt_maple env:STM32F103RC_btt_USB_maple env:STM32F103RE_btt_maple env:STM32F103RE_btt_USB_maple
|
||||
#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_V1_0)
|
||||
#include "stm32g0/pins_BTT_MANTA_M4P_V1_0.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
|
||||
#elif MB(BTT_MANTA_M8P_V1_0)
|
||||
#include "stm32g0/pins_BTT_MANTA_M8P_V1_0.h" // STM32G0 env:STM32G0B1VE_btt env:STM32G0B1VE_btt_xfer
|
||||
#elif MB(BTT_MANTA_M8P_V1_1)
|
||||
#include "stm32g0/pins_BTT_MANTA_M8P_V1_1.h" // STM32G0 env:STM32G0B1VE_btt env:STM32G0B1VE_btt_xfer
|
||||
#elif MB(BTT_SKR_MINI_E3_V3_0_1)
|
||||
#include "stm32f4/pins_BTT_SKR_MINI_E3_V3_0_1.h"// STM32F4 env:STM32F401RC_btt
|
||||
#elif MB(BTT_SKR_MINI_MZ_V1_0)
|
||||
@@ -621,6 +631,8 @@
|
||||
#include "stm32f1/pins_ERYONE_ERY32_MINI.h" // STM32F103VET6 env:ERYONE_ERY32_MINI_maple
|
||||
#elif MB(PANDA_PI_V29)
|
||||
#include "stm32f1/pins_PANDA_PI_V29.h" // STM32F103RCT6 env:PANDA_PI_V29
|
||||
#elif MB(SOVOL_V131)
|
||||
#include "stm32f1/pins_SOVOL_V131.h" // GD32F1 env:GD32F103RET6_sovol_maple
|
||||
|
||||
//
|
||||
// ARM Cortex-M4F
|
||||
@@ -660,11 +672,11 @@
|
||||
#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_OCTOPUS_V1_0)
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_V1_0.h" // STM32F4 env:BIGTREE_OCTOPUS_V1 env:BIGTREE_OCTOPUS_V1_USB
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_V1_0.h" // STM32F4 env:STM32F446ZE_btt env:STM32F446ZE_btt_USB
|
||||
#elif MB(BTT_OCTOPUS_V1_1)
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_V1_1.h" // STM32F4 env:BIGTREE_OCTOPUS_V1 env:BIGTREE_OCTOPUS_V1_USB env:BIGTREE_OCTOPUS_V1_F407 env:BIGTREE_OCTOPUS_V1_F407_USB
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_V1_1.h" // STM32F4 env:STM32F446ZE_btt env:STM32F446ZE_btt_USB env:STM32F429ZG_btt env:STM32F429ZG_btt_USB env:STM32F407ZE_btt env:STM32F407ZE_btt_USB
|
||||
#elif MB(BTT_OCTOPUS_PRO_V1_0)
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h" // STM32F4 env:BIGTREE_OCTOPUS_V1 env:BIGTREE_OCTOPUS_V1_USB env:BIGTREE_OCTOPUS_PRO_V1_F429 env:BIGTREE_OCTOPUS_PRO_V1_F429_USB
|
||||
#include "stm32f4/pins_BTT_OCTOPUS_PRO_V1_0.h" // STM32F4 env:STM32F446ZE_btt env:STM32F446ZE_btt_USB env:STM32F429ZG_btt env:STM32F429ZG_btt_USB env:STM32H723Zx_btt
|
||||
#elif MB(LERDGE_K)
|
||||
#include "stm32f4/pins_LERDGE_K.h" // STM32F4 env:LERDGEK env:LERDGEK_usb_flash_drive
|
||||
#elif MB(LERDGE_S)
|
||||
@@ -684,7 +696,7 @@
|
||||
#elif MB(FLYF407ZG)
|
||||
#include "stm32f4/pins_FLYF407ZG.h" // STM32F4 env:FLYF407ZG
|
||||
#elif MB(MKS_ROBIN2)
|
||||
#include "stm32f4/pins_MKS_ROBIN2.h" // STM32F4 env:MKS_ROBIN2
|
||||
#include "stm32f4/pins_MKS_ROBIN2.h" // STM32F4 env:mks_robin2
|
||||
#elif MB(MKS_ROBIN_PRO_V2)
|
||||
#include "stm32f4/pins_MKS_ROBIN_PRO_V2.h" // STM32F4 env:mks_robin_pro2
|
||||
#elif MB(MKS_ROBIN_NANO_V3)
|
||||
@@ -735,9 +747,11 @@
|
||||
#elif MB(BTT_SKR_SE_BX_V3)
|
||||
#include "stm32h7/pins_BTT_SKR_SE_BX_V3.h" // STM32H7 env:BTT_SKR_SE_BX
|
||||
#elif MB(BTT_SKR_V3_0)
|
||||
#include "stm32h7/pins_BTT_SKR_V3_0.h" // STM32H7 env:STM32H743Vx_btt
|
||||
#include "stm32h7/pins_BTT_SKR_V3_0.h" // STM32H7 env:STM32H723Vx_btt env:STM32H743Vx_btt
|
||||
#elif MB(BTT_SKR_V3_0_EZ)
|
||||
#include "stm32h7/pins_BTT_SKR_V3_0_EZ.h" // STM32H7 env:STM32H743Vx_btt
|
||||
#include "stm32h7/pins_BTT_SKR_V3_0_EZ.h" // STM32H7 env:STM32H723Vx_btt env:STM32H743Vx_btt
|
||||
#elif MB(BTT_OCTOPUS_MAX_EZ_V1_0)
|
||||
#include "stm32h7/pins_BTT_OCTOPUS_MAX_EZ.h" // STM32H7 env:STM32H723Vx_btt env:STM32H723Zx_btt
|
||||
#elif MB(TEENSY41)
|
||||
#include "teensy4/pins_TEENSY41.h" // Teensy-4.x env:teensy41
|
||||
#elif MB(T41U5XBB)
|
||||
@@ -797,7 +811,7 @@
|
||||
// Linux Native Debug board
|
||||
//
|
||||
|
||||
#elif MB(LINUX_RAMPS)
|
||||
#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
|
||||
|
||||
#else // if MB(RAMPS_OLD)
|
||||
@@ -833,6 +847,7 @@
|
||||
#define BOARD_TH3D_EZBOARD_LITE_V2 99923
|
||||
#define BOARD_BTT_SKR_SE_BX 99924
|
||||
#define BOARD_MKS_MONSTER8 99925
|
||||
#define BOARD_LINUX_RAMPS 99926
|
||||
|
||||
#if MB(MKS_13)
|
||||
#error "BOARD_MKS_13 has been renamed BOARD_MKS_GEN_13. Please update your configuration."
|
||||
@@ -888,6 +903,8 @@
|
||||
#error "BOARD_BTT_SKR_SE_BX is now BOARD_BTT_SKR_SE_BX_V2 or BOARD_BTT_SKR_SE_BX_V3. Please update your configuration."
|
||||
#elif MB(MKS_MONSTER8)
|
||||
#error "BOARD_MKS_MONSTER8 is now BOARD_MKS_MONSTER8_V1 or BOARD_MKS_MONSTER8_V2. Please update your configuration."
|
||||
#elif MB(LINUX_RAMPS)
|
||||
#error "BOARD_LINUX_RAMPS is now BOARD_SIMULATED. Please update your configuration."
|
||||
#elif defined(MOTHERBOARD)
|
||||
#error "Unknown MOTHERBOARD value set in Configuration.h."
|
||||
#else // if MB(MKS_13)
|
||||
@@ -921,6 +938,7 @@
|
||||
#undef BOARD_TH3D_EZBOARD_LITE_V2
|
||||
#undef BOARD_BTT_SKR_SE_BX
|
||||
#undef BOARD_MKS_MONSTER8
|
||||
#undef BOARD_LINUX_RAMPS
|
||||
|
||||
#endif // if MB(RAMPS_OLD)
|
||||
|
||||
|
@@ -168,18 +168,22 @@ const PinInfo pin_array[] PROGMEM = {
|
||||
|
||||
};
|
||||
|
||||
#include HAL_PATH(../HAL, pinsDebug.h) // get the correct support file for this CPU
|
||||
#include HAL_PATH(.., pinsDebug.h) // get the correct support file for this CPU
|
||||
|
||||
#ifndef M43_NEVER_TOUCH
|
||||
#define M43_NEVER_TOUCH(Q) false
|
||||
#endif
|
||||
|
||||
static void print_input_or_output(const bool isout) {
|
||||
SERIAL_ECHOPGM_P(isout ? PSTR("Output = ") : PSTR("Input = "));
|
||||
SERIAL_ECHOF(isout ? F("Output ") : F("Input "));
|
||||
}
|
||||
|
||||
static void print_pin_state(const bool state) {
|
||||
SERIAL_ECHOF(state ? F("HIGH") : F("LOW"));
|
||||
}
|
||||
|
||||
// pretty report with PWM info
|
||||
inline void report_pin_state_extended(pin_t pin, const bool ignore, const bool extended=false, FSTR_P const start_string=nullptr) {
|
||||
inline void report_pin_state_extended(const pin_t pin, const bool ignore, const bool extended=false, FSTR_P const start_string=nullptr) {
|
||||
char buffer[MAX_NAME_LENGTH + 1]; // for the sprintf statements
|
||||
bool found = false, multi_name_pin = false;
|
||||
|
||||
@@ -188,12 +192,12 @@ inline void report_pin_state_extended(pin_t pin, const bool ignore, const bool e
|
||||
// Use FastIO for pins Teensy doesn't expose
|
||||
if (pin == 46) {
|
||||
print_input_or_output(IS_OUTPUT(46));
|
||||
SERIAL_CHAR('0' + READ(46));
|
||||
print_pin_state(READ(46));
|
||||
return false;
|
||||
}
|
||||
else if (pin == 47) {
|
||||
print_input_or_output(IS_OUTPUT(47));
|
||||
SERIAL_CHAR('0' + READ(47));
|
||||
print_pin_state(READ(47));
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
@@ -230,14 +234,14 @@ inline void report_pin_state_extended(pin_t pin, const bool ignore, const bool e
|
||||
// because this could interfere with inductive/capacitive
|
||||
// sensors (high impedance voltage divider) and with Pt100 amplifier
|
||||
print_input_or_output(false);
|
||||
SERIAL_ECHO(digitalRead_mod(pin));
|
||||
print_pin_state(digitalRead_mod(pin));
|
||||
}
|
||||
else if (pwm_status(pin)) {
|
||||
// do nothing
|
||||
}
|
||||
else {
|
||||
print_input_or_output(true);
|
||||
SERIAL_ECHO(digitalRead_mod(pin));
|
||||
print_pin_state(digitalRead_mod(pin));
|
||||
}
|
||||
}
|
||||
if (!multi_name_pin && extended) pwm_details(pin); // report PWM capabilities only on the first pass & only if doing an extended report
|
||||
@@ -267,7 +271,7 @@ inline void report_pin_state_extended(pin_t pin, const bool ignore, const bool e
|
||||
else if (GET_PINMODE(pin)) {
|
||||
SERIAL_ECHO_SP(MAX_NAME_LENGTH - 16);
|
||||
print_input_or_output(true);
|
||||
SERIAL_ECHO(digitalRead_mod(pin));
|
||||
print_pin_state(digitalRead_mod(pin));
|
||||
}
|
||||
else {
|
||||
if (IS_ANALOG(pin)) {
|
||||
@@ -279,7 +283,7 @@ inline void report_pin_state_extended(pin_t pin, const bool ignore, const bool e
|
||||
SERIAL_ECHO_SP(MAX_NAME_LENGTH - 16); // add padding if not an analog pin
|
||||
|
||||
print_input_or_output(false);
|
||||
SERIAL_ECHO(digitalRead_mod(pin));
|
||||
print_pin_state(digitalRead_mod(pin));
|
||||
}
|
||||
//if (!pwm_status(pin)) SERIAL_CHAR(' '); // add padding if it's not a PWM pin
|
||||
if (extended) {
|
||||
|
@@ -487,6 +487,11 @@
|
||||
#define NUM_SERVO_PLUGS 4
|
||||
#endif
|
||||
|
||||
// Only used within pins files
|
||||
#undef NEEDS_X_MINMAX
|
||||
#undef NEEDS_Y_MINMAX
|
||||
#undef NEEDS_Z_MINMAX
|
||||
|
||||
//
|
||||
// Assign endstop pins for boards with only 3 connectors
|
||||
//
|
||||
@@ -1714,6 +1719,24 @@
|
||||
#if !defined(USE_ZMAX_PLUG) && _STOP_IN_USE(_ZMAX_)
|
||||
#define USE_ZMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_IMAX_PLUG) && _STOP_IN_USE(_IMAX_)
|
||||
#define USE_IMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_JMAX_PLUG) && _STOP_IN_USE(_JMAX_)
|
||||
#define USE_JMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_KMAX_PLUG) && _STOP_IN_USE(_KMAX_)
|
||||
#define USE_KMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_UMAX_PLUG) && _STOP_IN_USE(_UMAX_)
|
||||
#define USE_UMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_VMAX_PLUG) && _STOP_IN_USE(_VMAX_)
|
||||
#define USE_VMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_WMAX_PLUG) && _STOP_IN_USE(_WMAX_)
|
||||
#define USE_WMAX_PLUG
|
||||
#endif
|
||||
#if !defined(USE_XMIN_PLUG) && _STOP_IN_USE(_XMIN_)
|
||||
#define USE_XMIN_PLUG
|
||||
#endif
|
||||
@@ -1723,6 +1746,24 @@
|
||||
#if !defined(USE_ZMIN_PLUG) && _STOP_IN_USE(_ZMIN_)
|
||||
#define USE_ZMIN_PLUG
|
||||
#endif
|
||||
#if !defined(USE_IMIN_PLUG) && _STOP_IN_USE(_IMIN_)
|
||||
#define USE_IMIN_PLUG
|
||||
#endif
|
||||
#if !defined(USE_JMIN_PLUG) && _STOP_IN_USE(_JMIN_)
|
||||
#define USE_JMIN_PLUG
|
||||
#endif
|
||||
#if !defined(USE_KMIN_PLUG) && _STOP_IN_USE(_KMIN_)
|
||||
#define USE_KMIN_PLUG
|
||||
#endif
|
||||
#if !defined(USE_UMIN_PLUG) && _STOP_IN_USE(_UMIN_)
|
||||
#define USE_UMIN_PLUG
|
||||
#endif
|
||||
#if !defined(USE_VMIN_PLUG) && _STOP_IN_USE(_VMIN_)
|
||||
#define USE_VMIN_PLUG
|
||||
#endif
|
||||
#if !defined(USE_WMIN_PLUG) && _STOP_IN_USE(_WMIN_)
|
||||
#define USE_WMIN_PLUG
|
||||
#endif
|
||||
#undef _STOP_IN_USE
|
||||
#if !USES_Z_MIN_PROBE_PIN
|
||||
#undef Z_MIN_PROBE_PIN
|
||||
|
@@ -23,6 +23,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
@@ -35,8 +37,8 @@
|
||||
//
|
||||
// TMC2130 Configuration_adv defaults for EinsyRambo
|
||||
//
|
||||
#if !AXIS_DRIVER_TYPE_X(TMC2130) || !AXIS_DRIVER_TYPE_Y(TMC2130) || !AXIS_DRIVER_TYPE_Z(TMC2130) || !AXIS_DRIVER_TYPE_E0(TMC2130)
|
||||
#error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRambo."
|
||||
#if (HAS_X_AXIS && !AXIS_DRIVER_TYPE_X(TMC2130)) || (HAS_Y_AXIS && !AXIS_DRIVER_TYPE_Y(TMC2130)) || (HAS_Z_AXIS && !AXIS_DRIVER_TYPE_Z(TMC2130)) || (HAS_EXTRUDERS && !AXIS_DRIVER_TYPE_E0(TMC2130))
|
||||
#error "For EinsyRambo you must set all *_DRIVER_TYPE to TMC2130 in Configuration.h."
|
||||
#endif
|
||||
|
||||
// TMC2130 Diag Pins (currently just for reference)
|
||||
|
@@ -23,6 +23,10 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,10 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -39,6 +39,8 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -25,7 +25,7 @@
|
||||
* Rambo pin assignments MODIFIED FOR Scoovo X9H
|
||||
************************************************/
|
||||
|
||||
#include "env_target.h"
|
||||
#include "env_validate.h"
|
||||
|
||||
#define BOARD_INFO_NAME "Scoovo X9H"
|
||||
|
||||
|
@@ -23,6 +23,10 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* KFB 2.0 – Arduino Mega2560 with RAMPS v1.4 pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -21,6 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
// ATmega2560
|
||||
|
||||
#define BOARD_INFO_NAME "Copymaster 3D RAMPS"
|
||||
|
||||
#define Z_STEP_PIN 47
|
||||
|
@@ -21,6 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
// ATmega2560
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Dagoma3D F5 supports up to 2 hotends / E steppers."
|
||||
#endif
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Wanhao Duplicator i3 Plus pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* FELIXprinters v2.0/3.0 (RAMPS v1.4) pin assignments
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Formbot Raptor pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Formbot Raptor 2 pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "Formbot Raptor2"
|
||||
|
@@ -22,7 +22,8 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* Formbot pin assignments
|
||||
* Formbot T-Rex 2+ pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -22,7 +22,8 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* Formbot pin assignments
|
||||
* Formbot T-Rex 3 pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
//
|
||||
// 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
|
||||
// ATmega2560
|
||||
//
|
||||
|
||||
#if NOT_TARGET(__AVR_ATmega2560__)
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
//
|
||||
// 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
|
||||
// ATmega2560
|
||||
//
|
||||
|
||||
#define BOARD_INFO_NAME "FYSETC F6 1.4"
|
||||
|
@@ -24,6 +24,9 @@
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "Velleman K8200"
|
||||
|
@@ -24,6 +24,9 @@
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560, ATmega1280
|
||||
*
|
||||
* K8400 has some minor differences over a normal 3Drag:
|
||||
* - No X/Y max endstops
|
||||
@@ -51,7 +54,7 @@
|
||||
#define Y_STOP_PIN 14
|
||||
|
||||
#if EITHER(BLTOUCH, TOUCH_MI_PROBE)
|
||||
#define HAS_INVERTED_PROBE
|
||||
#define INVERTED_PROBE_STATE
|
||||
#endif
|
||||
|
||||
#include "pins_3DRAG.h" // ... RAMPS
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* VERTEX NANO Arduino Mega with RAMPS EFB v1.4 pin assignments.
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#if HAS_MULTI_HOTEND
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560, ATmega1280
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Longer3D LK1/LK4/LK5 Pro board pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define REQUIRE_MEGA2560
|
||||
|
@@ -21,6 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
// ATmega2560
|
||||
|
||||
#define BOARD_INFO_NAME "MAKEboard Mini"
|
||||
|
||||
//
|
||||
|
@@ -23,6 +23,12 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*
|
||||
* Rev B - Override pin definitions for CASE_LIGHT and M3/M4/M5 spindle control
|
||||
*/
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* MKS BASE v1.4 with A4982 stepper drivers and digital micro-stepping
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* MKS BASE v1.5 with A4982 stepper drivers and digital micro-stepping
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* MKS BASE with Heroic HR4982 stepper drivers
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "pins_MKS_BASE_15.h" // ... MKS_BASE_common ... RAMPS
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* MKS BASE – Arduino Mega2560 with RAMPS pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560, ATmega1280
|
||||
*
|
||||
* MKS GEN v1.3 (Extruder, Fan, Bed)
|
||||
* MKS GEN v1.3 (Extruder, Extruder, Fan, Bed)
|
||||
@@ -40,7 +43,9 @@
|
||||
// Heaters / Fans
|
||||
//
|
||||
// Power outputs EFBF or EFBE
|
||||
#define MOSFET_D_PIN 7
|
||||
//
|
||||
#define MOSFET_B_PIN 7
|
||||
#define FAN_PIN 9
|
||||
|
||||
//
|
||||
// PSU / SERVO
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,9 @@
|
||||
|
||||
/**
|
||||
* 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
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
|
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Ortur 4 Arduino Mega based on RAMPS v1.4 pin assignments
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#define BOARD_INFO_NAME "Ortur 4.3"
|
||||
|
@@ -22,6 +22,7 @@
|
||||
|
||||
/**
|
||||
* Pxmalion Core i3 - https://github.com/Pxmalion
|
||||
* ATmega2560
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
|
42
Marlin/src/pins/ramps/pins_RAMPS.h
Executable file → Normal file
42
Marlin/src/pins/ramps/pins_RAMPS.h
Executable file → Normal file
@@ -23,6 +23,7 @@
|
||||
|
||||
/**
|
||||
* Arduino Mega with RAMPS v1.4 (or v1.3) pin assignments
|
||||
* ATmega2560, ATmega1280
|
||||
*
|
||||
* Applies to the following boards:
|
||||
*
|
||||
@@ -96,10 +97,10 @@
|
||||
#define Z_MAX_PIN -1
|
||||
#endif
|
||||
#ifndef I_STOP_PIN
|
||||
#define I_STOP_PIN 18
|
||||
#define I_STOP_PIN 18 // Z-
|
||||
#endif
|
||||
#ifndef J_STOP_PIN
|
||||
#define J_STOP_PIN 19
|
||||
#define J_STOP_PIN 19 // Z+
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -108,26 +109,26 @@
|
||||
//
|
||||
#ifndef X_STOP_PIN
|
||||
#ifndef X_MIN_PIN
|
||||
#define X_MIN_PIN 3
|
||||
#define X_MIN_PIN 3 // X-
|
||||
#endif
|
||||
#ifndef X_MAX_PIN
|
||||
#define X_MAX_PIN 43 // PATCH: Knutwurst
|
||||
#define X_MAX_PIN 43 // X+ // PATCH: Knutwurst
|
||||
#endif
|
||||
#endif
|
||||
#ifndef Y_STOP_PIN
|
||||
#ifndef Y_MIN_PIN
|
||||
#define Y_MIN_PIN 42 // PATCH: Knutwurst
|
||||
#define Y_MIN_PIN 42 // Y- // PATCH: Knutwurst
|
||||
#endif
|
||||
#ifndef Y_MAX_PIN
|
||||
#define Y_MAX_PIN -1 // PATCH: Knutwurst
|
||||
#define Y_MAX_PIN -1 // Y+ // PATCH: Knutwurst
|
||||
#endif
|
||||
#endif
|
||||
#ifndef Z_STOP_PIN
|
||||
#ifndef Z_MIN_PIN
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MIN_PIN 18 // Z-
|
||||
#endif
|
||||
#ifndef Z_MAX_PIN
|
||||
#define Z_MAX_PIN -1 // PATCH: Knutwurst
|
||||
#define Z_MAX_PIN -1 // Z+ // PATCH: Knutwurst
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -694,8 +695,6 @@
|
||||
|
||||
#if IS_RRD_SC
|
||||
|
||||
#define BEEPER_PIN EXP1_01_PIN
|
||||
|
||||
#if ENABLED(CR10_STOCKDISPLAY)
|
||||
#define BTN_EN1 EXP1_03_PIN
|
||||
#define BTN_EN2 EXP1_05_PIN
|
||||
@@ -750,7 +749,9 @@
|
||||
#define DOGLCD_A0 AUX2_07_PIN
|
||||
#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
|
||||
|
||||
#define BEEPER_PIN EXP2_05_PIN
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN EXP2_05_PIN
|
||||
#endif
|
||||
#define STAT_LED_RED_PIN AUX4_03_PIN
|
||||
#define STAT_LED_BLUE_PIN EXP1_02_PIN
|
||||
|
||||
@@ -768,7 +769,9 @@
|
||||
#define DOGLCD_CS EXP1_08_PIN
|
||||
#define DOGLCD_A0 EXP1_07_PIN
|
||||
|
||||
#define BEEPER_PIN EXP1_05_PIN
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN EXP1_05_PIN
|
||||
#endif
|
||||
#define LCD_BACKLIGHT_PIN EXP2_05_PIN
|
||||
|
||||
#define BTN_EN1 EXP1_02_PIN
|
||||
@@ -783,7 +786,6 @@
|
||||
|
||||
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864)
|
||||
|
||||
#define BEEPER_PIN EXP1_01_PIN
|
||||
#define BTN_ENC EXP1_02_PIN
|
||||
#ifndef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN EXP2_07_PIN
|
||||
@@ -837,7 +839,9 @@
|
||||
|
||||
#elif ENABLED(MINIPANEL)
|
||||
|
||||
#define BEEPER_PIN AUX2_08_PIN
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN AUX2_08_PIN
|
||||
#endif
|
||||
#define LCD_BACKLIGHT_PIN AUX2_10_PIN
|
||||
|
||||
#define DOGLCD_A0 AUX2_07_PIN
|
||||
@@ -862,8 +866,6 @@
|
||||
|
||||
#elif ENABLED(G3D_PANEL)
|
||||
|
||||
#define BEEPER_PIN EXP1_01_PIN
|
||||
|
||||
#ifndef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN EXP2_07_PIN
|
||||
#endif
|
||||
@@ -881,7 +883,9 @@
|
||||
|
||||
#else
|
||||
|
||||
#define BEEPER_PIN EXP2_05_PIN
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN EXP2_05_PIN
|
||||
#endif
|
||||
|
||||
#if ENABLED(PANEL_ONE) // Buttons connect directly to AUX-2
|
||||
#define BTN_EN1 AUX2_03_PIN
|
||||
@@ -896,6 +900,10 @@
|
||||
#endif
|
||||
#endif // IS_NEWPANEL
|
||||
|
||||
#ifndef BEEPER_PIN
|
||||
#define BEEPER_PIN EXP1_01_PIN // Most common mapping
|
||||
#endif
|
||||
|
||||
#endif // HAS_WIRED_LCD && !LCD_PINS_DEFINED
|
||||
|
||||
#if IS_RRW_KEYPAD && !HAS_ADC_BUTTONS
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user