FYSETC F6 v1.4 board support (#16321)

This commit is contained in:
George Fu
2020-01-04 10:29:25 +08:00
committed by Scott Lahteine
parent a49c6608c9
commit ceeba58dc9
5 changed files with 118 additions and 27 deletions

View File

@@ -22,7 +22,7 @@
#pragma once
//
// FYSETC F6 pin assignments
// FYSETC F6 1.3 (and 1.4) pin assignments
//
#ifndef __AVR_ATmega2560__
@@ -33,7 +33,9 @@
//#error "SD_DETECT_INVERTED must be disabled for the FYSETC_F6_13 board."
#endif
#define BOARD_INFO_NAME "FYSETC F6 1.3"
#ifndef BOARD_INFO_NAME
#define BOARD_INFO_NAME "FYSETC F6 1.3"
#endif
#define RESET_PIN 30
#define SPI_FLASH_CS 83
@@ -54,7 +56,9 @@
#define Y_MIN_PIN 14
#define Y_MAX_PIN 15
#define Z_MIN_PIN 12
#define Z_MAX_PIN 9
#ifndef Z_MAX_PIN
#define Z_MAX_PIN 9
#endif
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN SERVO2_PIN
@@ -124,18 +128,42 @@
* Software serial communication pins.
* At the moment, F6 rx pins are not pc interrupt pins
*/
#define X_SERIAL_RX_PIN -1 // 71
#define X_SERIAL_TX_PIN 72
#define Y_SERIAL_RX_PIN -1 // 73
#define Y_SERIAL_TX_PIN 75
#define Z_SERIAL_RX_PIN -1 // 78
#define Z_SERIAL_TX_PIN 79
#define E0_SERIAL_RX_PIN -1 // 76
#define E0_SERIAL_TX_PIN 77
#define E1_SERIAL_RX_PIN -1 // 80
#define E1_SERIAL_TX_PIN 81
#define E2_SERIAL_RX_PIN -1 // 22
#define E2_SERIAL_TX_PIN 82
#ifndef X_SERIAL_RX_PIN
#define X_SERIAL_RX_PIN -1 // 71
#endif
#ifndef X_SERIAL_TX_PIN
#define X_SERIAL_TX_PIN 72
#endif
#ifndef Y_SERIAL_RX_PIN
#define Y_SERIAL_RX_PIN -1 // 73
#endif
#ifndef Y_SERIAL_TX_PIN
#define Y_SERIAL_TX_PIN 75
#endif
#ifndef Z_SERIAL_RX_PIN
#define Z_SERIAL_RX_PIN -1 // 78
#endif
#ifndef Z_SERIAL_TX_PIN
#define Z_SERIAL_TX_PIN 79
#endif
#ifndef E0_SERIAL_RX_PIN
#define E0_SERIAL_RX_PIN -1 // 76
#endif
#ifndef E0_SERIAL_TX_PIN
#define E0_SERIAL_TX_PIN 77
#endif
#ifndef E1_SERIAL_RX_PIN
#define E1_SERIAL_RX_PIN -1 // 80
#endif
#ifndef E1_SERIAL_TX_PIN
#define E1_SERIAL_TX_PIN 81
#endif
#ifndef E2_SERIAL_RX_PIN
#define E2_SERIAL_RX_PIN -1 // 22
#endif
#ifndef E2_SERIAL_TX_PIN
#define E2_SERIAL_TX_PIN 82
#endif
#endif
//