Sfoglia il codice sorgente

✨ Creality3D V4.2.3 / Ender-2 Pro board (#23307)

Spencer Owen 2 anni fa
parent
commit
ecaebe4363
Nessun account collegato all'indirizzo email del committer

+ 21
- 20
Marlin/src/core/boards.h Vedi File

@@ -338,26 +338,27 @@
338 338
 #define BOARD_CHITU3D_V6              4038  // Chitu3D TronXY X5SA V6 Board
339 339
 #define BOARD_CHITU3D_V9              4039  // Chitu3D TronXY X5SA V9 Board
340 340
 #define BOARD_CREALITY_V4             4040  // Creality v4.x (STM32F103RE)
341
-#define BOARD_CREALITY_V427           4041  // Creality v4.2.7 (STM32F103RE)
342
-#define BOARD_CREALITY_V4210          4042  // Creality v4.2.10 (STM32F103RE) as found in the CR-30
343
-#define BOARD_CREALITY_V431           4043  // Creality v4.3.1 (STM32F103RE)
344
-#define BOARD_CREALITY_V431_A         4044  // Creality v4.3.1a (STM32F103RE)
345
-#define BOARD_CREALITY_V431_B         4045  // Creality v4.3.1b (STM32F103RE)
346
-#define BOARD_CREALITY_V431_C         4046  // Creality v4.3.1c (STM32F103RE)
347
-#define BOARD_CREALITY_V431_D         4047  // Creality v4.3.1d (STM32F103RE)
348
-#define BOARD_CREALITY_V452           4048  // Creality v4.5.2 (STM32F103RE)
349
-#define BOARD_CREALITY_V453           4049  // Creality v4.5.3 (STM32F103RE)
350
-#define BOARD_CREALITY_V24S1          4050  // Creality v2.4.S1 (STM32F103RE) v101 as found in the Ender 7
351
-#define BOARD_TRIGORILLA_PRO          4051  // Trigorilla Pro (STM32F103ZET6)
352
-#define BOARD_FLY_MINI                4052  // FLYmaker FLY MINI (STM32F103RCT6)
353
-#define BOARD_FLSUN_HISPEED           4053  // FLSUN HiSpeedV1 (STM32F103VET6)
354
-#define BOARD_BEAST                   4054  // STM32F103RET6 Libmaple-based controller
355
-#define BOARD_MINGDA_MPX_ARM_MINI     4055  // STM32F103ZET6 Mingda MD-16
356
-#define BOARD_GTM32_PRO_VD            4056  // STM32F103VET6 controller
357
-#define BOARD_ZONESTAR_ZM3E2          4057  // Zonestar ZM3E2    (STM32F103RCT6)
358
-#define BOARD_ZONESTAR_ZM3E4          4058  // Zonestar ZM3E4 V1 (STM32F103VCT6)
359
-#define BOARD_ZONESTAR_ZM3E4V2        4059  // Zonestar ZM3E4 V2 (STM32F103VCT6)
360
-#define BOARD_ERYONE_ERY32_MINI       4060  // Eryone Ery32 mini (STM32F103VET6)
341
+#define BOARD_CREALITY_V423           4041  // Creality v4.2.3 (STM32F103RE)
342
+#define BOARD_CREALITY_V427           4042  // Creality v4.2.7 (STM32F103RE)
343
+#define BOARD_CREALITY_V4210          4043  // Creality v4.2.10 (STM32F103RE) as found in the CR-30
344
+#define BOARD_CREALITY_V431           4044  // Creality v4.3.1 (STM32F103RE)
345
+#define BOARD_CREALITY_V431_A         4045  // Creality v4.3.1a (STM32F103RE)
346
+#define BOARD_CREALITY_V431_B         4046  // Creality v4.3.1b (STM32F103RE)
347
+#define BOARD_CREALITY_V431_C         4047  // Creality v4.3.1c (STM32F103RE)
348
+#define BOARD_CREALITY_V431_D         4048  // Creality v4.3.1d (STM32F103RE)
349
+#define BOARD_CREALITY_V452           4049  // Creality v4.5.2 (STM32F103RE)
350
+#define BOARD_CREALITY_V453           4050  // Creality v4.5.3 (STM32F103RE)
351
+#define BOARD_CREALITY_V24S1          4051  // Creality v2.4.S1 (STM32F103RE) v101 as found in the Ender 7
352
+#define BOARD_TRIGORILLA_PRO          4052  // Trigorilla Pro (STM32F103ZET6)
353
+#define BOARD_FLY_MINI                4053  // FLYmaker FLY MINI (STM32F103RCT6)
354
+#define BOARD_FLSUN_HISPEED           4054  // FLSUN HiSpeedV1 (STM32F103VET6)
355
+#define BOARD_BEAST                   4055  // STM32F103RET6 Libmaple-based controller
356
+#define BOARD_MINGDA_MPX_ARM_MINI     4056  // STM32F103ZET6 Mingda MD-16
357
+#define BOARD_GTM32_PRO_VD            4057  // STM32F103VET6 controller
358
+#define BOARD_ZONESTAR_ZM3E2          4058  // Zonestar ZM3E2    (STM32F103RCT6)
359
+#define BOARD_ZONESTAR_ZM3E4          4059  // Zonestar ZM3E4 V1 (STM32F103VCT6)
360
+#define BOARD_ZONESTAR_ZM3E4V2        4060  // Zonestar ZM3E4 V2 (STM32F103VCT6)
361
+#define BOARD_ERYONE_ERY32_MINI       4061  // Eryone Ery32 mini (STM32F103VET6)
361 362
 
362 363
 //
363 364
 // ARM Cortex-M4F

+ 2
- 0
Marlin/src/pins/pins.h Vedi File

@@ -557,6 +557,8 @@
557 557
   #include "stm32f1/pins_CREALITY_V4.h"         // STM32F1                                env:STM32F103RET6_creality env:STM32F103RET6_creality_maple
558 558
 #elif MB(CREALITY_V4210)
559 559
   #include "stm32f1/pins_CREALITY_V4210.h"      // STM32F1                                env:STM32F103RET6_creality env:STM32F103RET6_creality_maple
560
+#elif MB(CREALITY_V423)
561
+  #include "stm32f1/pins_CREALITY_V423.h"       // STM32F1                                env:STM32F103RET6_creality
560 562
 #elif MB(CREALITY_V427)
561 563
   #include "stm32f1/pins_CREALITY_V427.h"       // STM32F1                                env:STM32F103RET6_creality env:STM32F103RET6_creality_maple
562 564
 #elif MB(CREALITY_V431, CREALITY_V431_A, CREALITY_V431_B, CREALITY_V431_C, CREALITY_V431_D)

+ 44
- 0
Marlin/src/pins/stm32f1/pins_CREALITY_V423.h Vedi File

@@ -0,0 +1,44 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+#pragma once
23
+
24
+/**
25
+ * CREALITY v4.2.3 (STM32F103) board pin assignments
26
+ */
27
+
28
+#define BOARD_INFO_NAME      "Creality v4.2.3"
29
+#define DEFAULT_MACHINE_NAME "Creality3D"
30
+
31
+//
32
+// Heaters
33
+//
34
+#define HEATER_BED_PIN                      PB10  // HOT BED
35
+
36
+#include "pins_CREALITY_V4.h"
37
+
38
+//
39
+// Encoder
40
+//
41
+#if BTN_EN1 == PB10
42
+  #undef BTN_EN1
43
+  #define BTN_EN1                           PA2   // Rotary Encoder
44
+#endif

Loading…
Annulla
Salva