✨ Add BOARD_CREALITY_V24S1_301F4
Co-Authored-By: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
This commit is contained in:
@ -22,5 +22,11 @@
|
||||
#pragma once
|
||||
|
||||
#if NOT_TARGET(__STM32F1__, STM32F1)
|
||||
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
||||
#if DISABLED(ALLOW_STM32F4)
|
||||
#error "Oops! Select an STM32F1 board in 'Tools > Board.'"
|
||||
#elif NOT_TARGET(STM32F4)
|
||||
#error "Oops! Select an STM32F4 board in 'Tools > Board.'"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#undef ALLOW_STM32F4
|
||||
|
@ -22,7 +22,8 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* Creality V24S1_301 (STM32F103RE / STM32F103RC) board pin assignments as found on Ender 3 S1
|
||||
* Creality V24S1_301 (STM32F103RE / STM32F103RC) board pin assignments as found on Ender 3 S1.
|
||||
* Also supports the STM32F4 version of the board with identical pin mapping.
|
||||
*/
|
||||
|
||||
#include "env_validate.h"
|
||||
@ -35,8 +36,12 @@
|
||||
#error "Disable Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN when using BLTOUCH with Creality V24S1-301."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Creality V24S1-301"
|
||||
#define DEFAULT_MACHINE_NAME "Ender 3 S1"
|
||||
#ifndef BOARD_INFO_NAME
|
||||
#define BOARD_INFO_NAME "Creality V24S1-301"
|
||||
#endif
|
||||
#ifndef DEFAULT_MACHINE_NAME
|
||||
#define DEFAULT_MACHINE_NAME "Ender 3 S1"
|
||||
#endif
|
||||
|
||||
//
|
||||
// Servos
|
||||
@ -70,8 +75,8 @@
|
||||
//
|
||||
// SD Card
|
||||
//
|
||||
#define ONBOARD_SPI_DEVICE 1
|
||||
#define ONBOARD_SD_CS_PIN PA4 // SDSS
|
||||
#define ONBOARD_SPI_DEVICE 1
|
||||
#define ONBOARD_SD_CS_PIN PA4 // SDSS
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
@ -80,9 +85,10 @@
|
||||
//#define HEATER_0_PIN -1
|
||||
//#define HEATER_BED_PIN -1
|
||||
#define FAN_PIN -1
|
||||
#define SPINDLE_LASER_ENA_PIN PA0 // FET 1
|
||||
#define SPINDLE_LASER_PWM_PIN PA0 // Bed FET
|
||||
#define SPINDLE_DIR_PIN PA0 // FET 4
|
||||
#define SPINDLE_LASER_ENA_PIN PC0 // FET 1
|
||||
#define SPINDLE_LASER_PWM_PIN PC0 // Bed FET
|
||||
#define SPINDLE_DIR_PIN PC0 // FET 4
|
||||
#define LASER_SOFT_PWM_PIN PC0
|
||||
#endif
|
||||
|
||||
#include "pins_CREALITY_V4.h"
|
||||
|
@ -43,7 +43,9 @@
|
||||
//
|
||||
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
|
||||
//
|
||||
#define DISABLE_DEBUG
|
||||
#ifndef DISABLE_DEBUG
|
||||
#define DISABLE_DEBUG
|
||||
#endif
|
||||
|
||||
//
|
||||
// EEPROM
|
||||
|
Reference in New Issue
Block a user