Prusa MINI Firmware overview
pins_FYSETC_CHEETAH_V12.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 #ifndef __STM32F1__
25  #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
26 #endif
27 
28 #include "pins_FYSETC_CHEETAH.h"
29 
30 #undef X_HARDWARE_SERIAL
31 #undef Y_HARDWARE_SERIAL
32 #undef Z_HARDWARE_SERIAL
33 #undef E0_HARDWARE_SERIAL
34 
35 #undef RGB_LED_R_PIN
36 #undef RGB_LED_G_PIN
37 #undef RGB_LED_B_PIN
38 
39 #define FAN1_PIN PB0 // Fan1
40 
41 #if HAS_TMC220x
42 
43  /**
44  * TMC2208/TMC2209 stepper drivers
45  */
46 
47  //
48  // Software serial
49  //
50  #define X_SERIAL_TX_PIN PA11
51  #define X_SERIAL_RX_PIN PA12
52 
53  #define Y_SERIAL_TX_PIN PB6
54  #define Y_SERIAL_RX_PIN PB7
55 
56  #define Z_SERIAL_TX_PIN PB10
57  #define Z_SERIAL_RX_PIN PB11
58 
59  #define E0_SERIAL_TX_PIN PA2
60  #define E0_SERIAL_RX_PIN PA3
61 
62 #endif
pins_FYSETC_CHEETAH.h