58 lines
1.7 KiB
C
58 lines
1.7 KiB
C
/**
|
|
* 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"
|