forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ MKS Monster8 V2 (MarlinFirmware#24483)
- Loading branch information
1 parent
6c1156d
commit 31b7fd4
Showing
6 changed files
with
159 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* Marlin 3D Printer Firmware | ||
* Copyright (c) 2022 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 | ||
|
||
#define BOARD_INFO_NAME "MKS Monster8 V1" | ||
|
||
// | ||
// Limit Switches | ||
// | ||
#define X_MAX_PIN PA13 | ||
#define Y_MAX_PIN PC5 | ||
|
||
// | ||
// Steppers | ||
// | ||
#define E4_ENABLE_PIN PD14 // Driver7 | ||
|
||
// | ||
// Misc. Functions | ||
// | ||
#define PW_DET PC5 // Y+ | ||
#define PW_OFF PB12 // Z+ | ||
#define MT_DET_1_PIN PW_DET | ||
#define MT_DET_2_PIN PW_OFF | ||
#ifndef FIL_RUNOUT_PIN | ||
#define FIL_RUNOUT_PIN MT_DET_1_PIN | ||
#endif | ||
#ifndef FIL_RUNOUT2_PIN | ||
#define FIL_RUNOUT2_PIN MT_DET_2_PIN | ||
#endif | ||
|
||
#include "pins_MKS_MONSTER8_common.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/** | ||
* Marlin 3D Printer Firmware | ||
* Copyright (c) 2022 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 | ||
|
||
#define BOARD_INFO_NAME "MKS Monster8 V2" | ||
|
||
// | ||
// Steppers | ||
// | ||
#define E4_ENABLE_PIN PB6 // Driver7 | ||
|
||
// | ||
// Misc. Functions | ||
// | ||
#define PW_DET PA13 // MT_DET | ||
#define PW_OFF PB12 // Z+ | ||
#define MT_DET_1_PIN PW_DET | ||
#define MT_DET_2_PIN PW_OFF | ||
#ifndef FIL_RUNOUT_PIN | ||
#define FIL_RUNOUT_PIN MT_DET_1_PIN | ||
#endif | ||
#ifndef FIL_RUNOUT2_PIN | ||
#define FIL_RUNOUT2_PIN MT_DET_2_PIN | ||
#endif | ||
|
||
// | ||
// MKS WIFI MODULE | ||
// | ||
//#define WIFI_SERIAL 1// USART1 | ||
#if ENABLED(MKS_WIFI_MODULE) | ||
#define WIFI_IO0_PIN PB14 // MKS ESP WIFI IO0 PIN | ||
#define WIFI_IO1_PIN PB15 // MKS ESP WIFI IO1 PIN | ||
#define WIFI_RESET_PIN PD14 // MKS ESP WIFI RESET PIN | ||
#endif | ||
|
||
#define NEOPIXEL_PIN PC5 | ||
|
||
#include "pins_MKS_MONSTER8_common.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters