Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_MKS_SGEN.h
Go to the documentation of this file.
1
/**
2
* Marlin 3D Printer Firmware
3
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
*
5
* Based on Sprinter and grbl.
6
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
#pragma once
23
24
/**
25
* MKS SGen pin assignments
26
*/
27
28
#ifndef LPC1769
29
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
30
#endif
31
32
#define BOARD_INFO_NAME "MKS SGen"
33
#define BOARD_WEBSITE_URL "github.com/makerbase-mks/MKS-SGEN"
34
35
#include "../lpc1768/pins_MKS_SBASE.h"
36
37
#undef E1_STEP_PIN
38
#undef E1_DIR_PIN
39
#undef E1_ENABLE_PIN
40
41
//#undef BTN_EN1
42
//#undef BTN_EN2
43
//#define BTN_EN1 P1_23 // EXP2.5
44
//#define BTN_EN2 P1_22 // EXP2.3
45
46
#if HAS_TMC220x
47
/**
48
* TMC2208/TMC2209 stepper drivers
49
*
50
* The shortage of pins becomes apparent.
51
* In the worst case you may have to give up the LCD.
52
* RX pins must be interrupt-capable.
53
*/
54
#define X_SERIAL_TX_PIN P4_29 // J8-2
55
#define X_SERIAL_RX_PIN P4_29 // J8-2
56
57
#define Y_SERIAL_TX_PIN P2_08 // J8-3
58
#define Y_SERIAL_RX_PIN P2_08 // J8-3
59
60
#define Z_SERIAL_TX_PIN P2_11 // J8-4
61
#define Z_SERIAL_RX_PIN P2_11 // J8-4
62
#define E0_SERIAL_TX_PIN P2_13 // J8-5
63
#define E0_SERIAL_RX_PIN P2_13 // J8-5
64
#endif
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
lpc1769
pins_MKS_SGEN.h
Generated by
1.8.16