Add pins for CR-6 SE
This commit is contained in:
parent
c6f92c402f
commit
1b3e91509b
4 changed files with 178 additions and 5 deletions
|
|
@ -323,9 +323,10 @@
|
||||||
#define BOARD_CHITU3D_V6 4034 // Chitu3D TronXY X5SA V5 Board
|
#define BOARD_CHITU3D_V6 4034 // Chitu3D TronXY X5SA V5 Board
|
||||||
#define BOARD_CREALITY_V4 4035 // Creality v4.x (STM32F103RE)
|
#define BOARD_CREALITY_V4 4035 // Creality v4.x (STM32F103RE)
|
||||||
#define BOARD_CREALITY_V427 4036 // Creality v4.2.7 (STM32F103RE)
|
#define BOARD_CREALITY_V427 4036 // Creality v4.2.7 (STM32F103RE)
|
||||||
#define BOARD_TRIGORILLA_PRO 4037 // Trigorilla Pro (STM32F103ZET6)
|
#define BOARD_CREALITY_CR_6_SE 4037 // Creality v4.5.2 (STM32F103??)
|
||||||
#define BOARD_FLY_MINI 4038 // FLY MINI (STM32F103RCT6)
|
#define BOARD_TRIGORILLA_PRO 4038 // Trigorilla Pro (STM32F103ZET6)
|
||||||
#define BOARD_FLSUN_HISPEED 4039 // FLSUN HiSpeedV1 (STM32F103VET6)
|
#define BOARD_FLY_MINI 4039 // FLY MINI (STM32F103RCT6)
|
||||||
|
#define BOARD_FLSUN_HISPEED 4040 // FLSUN HiSpeedV1 (STM32F103VET6)
|
||||||
|
|
||||||
//
|
//
|
||||||
// ARM Cortex-M4F
|
// ARM Cortex-M4F
|
||||||
|
|
|
||||||
|
|
@ -575,6 +575,8 @@
|
||||||
#include "stm32f1/pins_CHITU3D_V6.h" // STM32F1 env:chitu_f103
|
#include "stm32f1/pins_CHITU3D_V6.h" // STM32F1 env:chitu_f103
|
||||||
#elif MB(CREALITY_V4)
|
#elif MB(CREALITY_V4)
|
||||||
#include "stm32f1/pins_CREALITY_V4.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug
|
#include "stm32f1/pins_CREALITY_V4.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug
|
||||||
|
#elif MB(CREALITY_CR_6_SE)
|
||||||
|
#include "stm32f1/pins_CREALITY_CR_6_SE.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug
|
||||||
#elif MB(CREALITY_V427)
|
#elif MB(CREALITY_V427)
|
||||||
#include "stm32f1/pins_CREALITY_V427.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug
|
#include "stm32f1/pins_CREALITY_V427.h" // STM32F1 env:STM32F103RET6_creality env:STM32F103RET6_creality_debug
|
||||||
#elif MB(TRIGORILLA_PRO)
|
#elif MB(TRIGORILLA_PRO)
|
||||||
|
|
|
||||||
170
Marlin/src/pins/stm32f1/pins_CREALITY_CR_6_SE.h
Normal file
170
Marlin/src/pins/stm32f1/pins_CREALITY_CR_6_SE.h
Normal file
|
|
@ -0,0 +1,170 @@
|
||||||
|
/**
|
||||||
|
* Marlin 3D Printer Firmware
|
||||||
|
* Copyright (C) 2016 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/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CREALITY (STM32F103) board pin assignments
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if NOT_TARGET(__STM32F1__)
|
||||||
|
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HOTENDS > 1 || E_STEPPERS > 1
|
||||||
|
#error "CREALITY supports up to 1 hotends / E-steppers. Comment out this line to continue."
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef BOARD_INFO_NAME
|
||||||
|
#define BOARD_INFO_NAME "Creality CR-6 SE"
|
||||||
|
#endif
|
||||||
|
#ifndef DEFAULT_MACHINE_NAME
|
||||||
|
#define DEFAULT_MACHINE_NAME "CR-6 SE"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// EEPROM
|
||||||
|
//
|
||||||
|
#if NO_EEPROM_SELECTED
|
||||||
|
// FLASH
|
||||||
|
//#define FLASH_EEPROM_EMULATION
|
||||||
|
|
||||||
|
// I2C
|
||||||
|
//#define I2C_EEPROM
|
||||||
|
//#define E2END 0x3FFF // 16Kb (24c16)
|
||||||
|
|
||||||
|
// BL24C16
|
||||||
|
#define IIC_BL24CXX_EEPROM // EEPROM on I2C-0
|
||||||
|
#if ENABLED(IIC_BL24CXX_EEPROM)
|
||||||
|
#define IIC_EEPROM_SDA PA11
|
||||||
|
#define IIC_EEPROM_SCL PA12
|
||||||
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb (24C16)
|
||||||
|
#else
|
||||||
|
#define SDCARD_EEPROM_EMULATION // SD EEPROM until all EEPROM is BL24CXX
|
||||||
|
#define MARLIN_EEPROM_SIZE 0x800 // 2Kb
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// SPI
|
||||||
|
//#define SPI_EEPROM // EEPROM on SPI-0
|
||||||
|
//#define SPI_CHAN_EEPROM1 ?
|
||||||
|
//#define SPI_EEPROM1_CS ?
|
||||||
|
|
||||||
|
// 2K EEPROM
|
||||||
|
//#define SPI_EEPROM2_CS ?
|
||||||
|
|
||||||
|
// 32Mb FLASH
|
||||||
|
//#define SPI_FLASH_CS ?
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Servos
|
||||||
|
//
|
||||||
|
#define SERVO0_PIN PB0 // BLTouch OUT
|
||||||
|
|
||||||
|
//
|
||||||
|
// Limit Switches
|
||||||
|
//
|
||||||
|
#define X_STOP_PIN PC4
|
||||||
|
#define Y_STOP_PIN PC5
|
||||||
|
|
||||||
|
#ifdef BLTOUCH
|
||||||
|
#define Z_STOP_PIN PB1 // BLTouch IN PIN
|
||||||
|
#elif ENABLED(FIX_MOUNTED_PROBE)
|
||||||
|
#define Z_STOP_PIN PA4
|
||||||
|
#define COM_PIN PA5
|
||||||
|
#else
|
||||||
|
#define Z_STOP_PIN PA7
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Filament Runout Sensor
|
||||||
|
//
|
||||||
|
#ifndef FIL_RUNOUT_PIN
|
||||||
|
//#define FIL_RUNOUT_PIN PA7 // Opto endstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Steppers
|
||||||
|
//
|
||||||
|
#define X_ENABLE_PIN PC3
|
||||||
|
#define X_STEP_PIN PB8
|
||||||
|
#define X_DIR_PIN PB7
|
||||||
|
|
||||||
|
#define Y_ENABLE_PIN PC3
|
||||||
|
#define Y_STEP_PIN PB6
|
||||||
|
#define Y_DIR_PIN PB5
|
||||||
|
|
||||||
|
#define Z_ENABLE_PIN PC3
|
||||||
|
#define Z_STEP_PIN PB4
|
||||||
|
#define Z_DIR_PIN PB3
|
||||||
|
|
||||||
|
#define E0_ENABLE_PIN PC3
|
||||||
|
#define E0_STEP_PIN PC2
|
||||||
|
#define E0_DIR_PIN PB9
|
||||||
|
|
||||||
|
#if HAS_TMC220x
|
||||||
|
|
||||||
|
//
|
||||||
|
// TMC2208 mode
|
||||||
|
//
|
||||||
|
//#define TMC2208_STANDALONE
|
||||||
|
|
||||||
|
#define X_HARDWARE_SERIAL MSerial2
|
||||||
|
#define Y_HARDWARE_SERIAL MSerial2
|
||||||
|
#define Z_HARDWARE_SERIAL MSerial2
|
||||||
|
#define E0_HARDWARE_SERIAL MSerial2
|
||||||
|
|
||||||
|
//
|
||||||
|
// TMC2208 Software serial
|
||||||
|
//
|
||||||
|
//#define HAVE_SW_SERIAL
|
||||||
|
|
||||||
|
// Reduce baud rate to improve software serial reliability
|
||||||
|
//#define TMC_BAUD_RATE 19200
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//
|
||||||
|
// Release PB4 (Z_STEP_PIN) from JTAG NRST role
|
||||||
|
//
|
||||||
|
#define DISABLE_DEBUG
|
||||||
|
|
||||||
|
//
|
||||||
|
// Temperature Sensors
|
||||||
|
//
|
||||||
|
#define TEMP_0_PIN PB1 // TH1
|
||||||
|
#define TEMP_BED_PIN PB0 // TB1
|
||||||
|
|
||||||
|
//
|
||||||
|
// Heaters / Fans
|
||||||
|
//
|
||||||
|
#define HEATER_0_PIN PA1 // HEATER1
|
||||||
|
#define HEATER_BED_PIN PA2 // HOT BED
|
||||||
|
|
||||||
|
#define FAN_PIN PA0 // FAN
|
||||||
|
#define FAN_SOFT_PWM
|
||||||
|
|
||||||
|
#define LED_CONTROL_PIN PA6
|
||||||
|
#define OPTO_SWITCH_PIN PC6
|
||||||
|
|
||||||
|
//
|
||||||
|
// SD Card
|
||||||
|
//
|
||||||
|
#define SD_DETECT_PIN PC7
|
||||||
|
|
@ -46,8 +46,8 @@
|
||||||
// FLASH
|
// FLASH
|
||||||
//#define FLASH_EEPROM_EMULATION
|
//#define FLASH_EEPROM_EMULATION
|
||||||
|
|
||||||
// I2C
|
// BL24C16
|
||||||
#define IIC_BL24CXX_EEPROM // EEPROM on I2C-0 used only for display settings
|
#define IIC_BL24CXX_EEPROM // EEPROM on I2C-0
|
||||||
#if ENABLED(IIC_BL24CXX_EEPROM)
|
#if ENABLED(IIC_BL24CXX_EEPROM)
|
||||||
#define IIC_EEPROM_SDA PA11
|
#define IIC_EEPROM_SDA PA11
|
||||||
#define IIC_EEPROM_SCL PA12
|
#define IIC_EEPROM_SCL PA12
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue