Creality3D v4.2.7 (#19088)
This commit is contained in:
parent
038945110f
commit
46744e8433
@ -313,7 +313,8 @@
|
|||||||
#define BOARD_CHITU3D_V5 4031 // Chitu3D TronXY X5SA V5 Board
|
#define BOARD_CHITU3D_V5 4031 // Chitu3D TronXY X5SA V5 Board
|
||||||
#define BOARD_CHITU3D_V6 4032 // Chitu3D TronXY X5SA V5 Board
|
#define BOARD_CHITU3D_V6 4032 // Chitu3D TronXY X5SA V5 Board
|
||||||
#define BOARD_CREALITY_V4 4033 // Creality v4.x (STM32F103RE)
|
#define BOARD_CREALITY_V4 4033 // Creality v4.x (STM32F103RE)
|
||||||
#define BOARD_TRIGORILLA_PRO 4034 // Trigorilla Pro (STM32F103ZET6)
|
#define BOARD_CREALITY_V427 4034 // Creality v4.2.7 (STM32F103RE)
|
||||||
|
#define BOARD_TRIGORILLA_PRO 4035 // Trigorilla Pro (STM32F103ZET6)
|
||||||
|
|
||||||
//
|
//
|
||||||
// ARM Cortex-M4F
|
// ARM Cortex-M4F
|
||||||
|
@ -550,6 +550,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
|
#include "stm32f1/pins_CREALITY_V4.h" // STM32F1 env:STM32F103RET6_creality
|
||||||
|
#elif MB(CREALITY_V427)
|
||||||
|
#include "stm32f1/pins_CREALITY_V427.h" // STM32F1 env:STM32F103RET6_creality
|
||||||
#elif MB(TRIGORILLA_PRO)
|
#elif MB(TRIGORILLA_PRO)
|
||||||
#include "stm32f1/pins_TRIGORILLA_PRO.h" // STM32F1 env:trigorilla_pro
|
#include "stm32f1/pins_TRIGORILLA_PRO.h" // STM32F1 env:trigorilla_pro
|
||||||
|
|
||||||
|
@ -32,8 +32,12 @@
|
|||||||
#error "CREALITY supports up to 1 hotends / E-steppers. Comment out this line to continue."
|
#error "CREALITY supports up to 1 hotends / E-steppers. Comment out this line to continue."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOARD_INFO_NAME "CREALITY V4"
|
#ifndef BOARD_INFO_NAME
|
||||||
#define DEFAULT_MACHINE_NAME "Ender 3 V2"
|
#define BOARD_INFO_NAME "Creality V4"
|
||||||
|
#endif
|
||||||
|
#ifndef DEFAULT_MACHINE_NAME
|
||||||
|
#define DEFAULT_MACHINE_NAME "Ender 3 V2"
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// EEPROM
|
// EEPROM
|
||||||
@ -90,20 +94,36 @@
|
|||||||
// Steppers
|
// Steppers
|
||||||
//
|
//
|
||||||
#define X_ENABLE_PIN PC3
|
#define X_ENABLE_PIN PC3
|
||||||
#define X_STEP_PIN PC2
|
#ifndef X_STEP_PIN
|
||||||
#define X_DIR_PIN PB9
|
#define X_STEP_PIN PC2
|
||||||
|
#endif
|
||||||
|
#ifndef X_DIR_PIN
|
||||||
|
#define X_DIR_PIN PB9
|
||||||
|
#endif
|
||||||
|
|
||||||
#define Y_ENABLE_PIN PC3
|
#define Y_ENABLE_PIN PC3
|
||||||
#define Y_STEP_PIN PB8
|
#ifndef Y_STEP_PIN
|
||||||
#define Y_DIR_PIN PB7
|
#define Y_STEP_PIN PB8
|
||||||
|
#endif
|
||||||
|
#ifndef Y_DIR_PIN
|
||||||
|
#define Y_DIR_PIN PB7
|
||||||
|
#endif
|
||||||
|
|
||||||
#define Z_ENABLE_PIN PC3
|
#define Z_ENABLE_PIN PC3
|
||||||
#define Z_STEP_PIN PB6
|
#ifndef Z_STEP_PIN
|
||||||
#define Z_DIR_PIN PB5
|
#define Z_STEP_PIN PB6
|
||||||
|
#endif
|
||||||
|
#ifndef Z_DIR_PIN
|
||||||
|
#define Z_DIR_PIN PB5
|
||||||
|
#endif
|
||||||
|
|
||||||
#define E0_ENABLE_PIN PC3
|
#define E0_ENABLE_PIN PC3
|
||||||
#define E0_STEP_PIN PB4
|
#ifndef E0_STEP_PIN
|
||||||
#define E0_DIR_PIN PB3
|
#define E0_STEP_PIN PB4
|
||||||
|
#endif
|
||||||
|
#ifndef E0_DIR_PIN
|
||||||
|
#define E0_DIR_PIN PB3
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
||||||
|
48
Marlin/src/pins/stm32f1/pins_CREALITY_V427.h
Normal file
48
Marlin/src/pins/stm32f1/pins_CREALITY_V427.h
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
/**
|
||||||
|
* 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 v4.2.7 (STM32F103) board pin assignments
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __STM32F1__
|
||||||
|
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define BOARD_INFO_NAME "Creality v4.2.7"
|
||||||
|
#define DEFAULT_MACHINE_NAME "Creality3D"
|
||||||
|
|
||||||
|
//
|
||||||
|
// Steppers
|
||||||
|
//
|
||||||
|
#define X_STEP_PIN PB9
|
||||||
|
#define X_DIR_PIN PC2
|
||||||
|
#define Y_STEP_PIN PB7
|
||||||
|
|
||||||
|
#define Y_DIR_PIN PB8
|
||||||
|
#define Z_STEP_PIN PB5
|
||||||
|
#define Z_DIR_PIN PB6
|
||||||
|
|
||||||
|
#define E0_STEP_PIN PB3
|
||||||
|
#define E0_DIR_PIN PB4
|
||||||
|
|
||||||
|
#include "pins_CREALITY_V4.h"
|
Loading…
Reference in New Issue
Block a user