-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Miguel Risco-Castillo <mriscoc@users.noreply.github.com>
- Loading branch information
1 parent
f0f1d33
commit 361dab9
Showing
5 changed files
with
84 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/** | ||
* Marlin 3D Printer Firmware | ||
* Copyright (c) 2022 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/>. | ||
* | ||
*/ | ||
#pragma once | ||
|
||
/** | ||
* Creality V24S1_301 (STM32F103RCT) board pin assignments as found on Ender 3 S1 | ||
*/ | ||
|
||
#include "env_validate.h" | ||
|
||
#if HAS_MULTI_HOTEND || E_STEPPERS > 1 | ||
#error "Creality V4 only supports one hotend / E-stepper. Comment out this line to continue." | ||
#endif | ||
|
||
#define BOARD_INFO_NAME "Creality V24S1-301" | ||
#define DEFAULT_MACHINE_NAME "Ender 3 S1" | ||
|
||
// | ||
// Servos | ||
// | ||
#if !defined(SERVO0_PIN) && !defined(HAS_PIN_27_BOARD) | ||
#define SERVO0_PIN PC13 // BLTouch OUT | ||
#endif | ||
|
||
// | ||
// Limit Switches | ||
// | ||
#define Z_STOP_PIN PC14 | ||
|
||
#ifndef Z_MIN_PROBE_PIN | ||
#define Z_MIN_PROBE_PIN PC14 // BLTouch IN | ||
#endif | ||
|
||
// | ||
// Filament Runout Sensor | ||
// | ||
#ifndef FIL_RUNOUT_PIN | ||
#define FIL_RUNOUT_PIN PC15 // "Pulled-high" | ||
#endif | ||
|
||
// | ||
// Heaters / Fans | ||
// | ||
#define HEATER_BED_PIN PA7 // HOT BED | ||
#define FAN1_PIN PC0 // extruder fan | ||
|
||
#include "pins_CREALITY_V4.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters