浏览代码

✨ Creality v5.2.1 board (#24815)

Followup to #24760
ellensp 2 年前
父节点
当前提交
91fafec424
没有帐户链接到提交者的电子邮件
共有 3 个文件被更改,包括 13 次插入24 次删除
  1. 1
    1
      Marlin/src/core/boards.h
  2. 2
    2
      Marlin/src/pins/pins.h
  3. 10
    21
      ini/stm32f1.ini

+ 1
- 1
Marlin/src/core/boards.h 查看文件

@@ -355,7 +355,7 @@
355 355
 #define BOARD_CREALITY_V431_D         4051  // Creality v4.3.1d (STM32F103RC / STM32F103RE)
356 356
 #define BOARD_CREALITY_V452           4052  // Creality v4.5.2 (STM32F103RC / STM32F103RE)
357 357
 #define BOARD_CREALITY_V453           4053  // Creality v4.5.3 (STM32F103RC / STM32F103RE)
358
-#define BOARD_CREALITY_V521           4054  // SV04 Board
358
+#define BOARD_CREALITY_V521           4054  // Creality v5.2.1 (STM32F103VE) as found in the SV04
359 359
 #define BOARD_CREALITY_V24S1          4055  // Creality v2.4.S1 (STM32F103RC / STM32F103RE) v101 as found in the Ender-7
360 360
 #define BOARD_CREALITY_V24S1_301      4056  // Creality v2.4.S1_301 (STM32F103RC / STM32F103RE) v301 as found in the Ender-3 S1
361 361
 #define BOARD_CREALITY_V25S1          4057  // Creality v2.5.S1 (STM32F103RE) as found in the CR-10 Smart Pro

+ 2
- 2
Marlin/src/pins/pins.h 查看文件

@@ -591,6 +591,8 @@
591 591
   #include "stm32f1/pins_CREALITY_V24S1_301.h"  // STM32F1                                env:STM32F103RE_creality env:STM32F103RE_creality_xfer env:STM32F103RC_creality env:STM32F103RC_creality_xfer env:STM32F103RE_creality_maple
592 592
 #elif MB(CREALITY_V25S1)
593 593
   #include "stm32f1/pins_CREALITY_V25S1.h"      // STM32F1                                env:STM32F103RE_creality_smartPro env:STM32F103RE_creality_smartPro_maple
594
+#elif MB(CREALITY_V521)
595
+  #include "stm32f1/pins_CREALITY_V521.h"       // STM32F103VE                            env:STM32F103VE_creality
594 596
 #elif MB(TRIGORILLA_PRO)
595 597
   #include "stm32f1/pins_TRIGORILLA_PRO.h"      // STM32F1                                env:trigorilla_pro env:trigorilla_pro_maple env:trigorilla_pro_disk
596 598
 #elif MB(FLY_MINI)
@@ -611,8 +613,6 @@
611 613
   #include "stm32f1/pins_ERYONE_ERY32_MINI.h"   // STM32F103VET6                          env:ERYONE_ERY32_MINI_maple
612 614
 #elif MB(PANDA_PI_V29)
613 615
   #include "stm32f1/pins_PANDA_PI_V29.h"        // STM32F103RCT6                          env:PANDA_PI_V29
614
-#elif MB(CREALITY_V521)
615
-  #include "stm32f1/pins_CREALITY_V521.h"       // STM32F103RET6                          env:STM32F103RET6_creality
616 616
 
617 617
 //
618 618
 // ARM Cortex-M4F

+ 10
- 21
ini/stm32f1.ini 查看文件

@@ -172,6 +172,16 @@ extends = STM32F103Rx_creality_xfer
172 172
 board   = genericSTM32F103RC
173 173
 
174 174
 #
175
+# Creality 512K (STM32F103VE)
176
+#
177
+[env:STM32F103VE_creality]
178
+extends             = STM32F103Rx_creality
179
+board               = genericSTM32F103VE
180
+board_build.variant = MARLIN_F103Vx
181
+build_flags         = ${stm32_variant.build_flags}
182
+                      -DSS_TIMER=4 -DTIMER_SERVO=TIM5
183
+                      -DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
184
+#
175 185
 # BigTreeTech SKR Mini E3 V2.0 & DIP / SKR CR6 (STM32F103RET6 ARM Cortex-M3)
176 186
 #
177 187
 #   STM32F103RE_btt ............. RET6
@@ -467,24 +477,3 @@ board                = genericSTM32F103VE
467 477
 board_build.variant  = MARLIN_F103Vx
468 478
 build_flags          = ${ZONESTAR_ZM3E.build_flags} -DTIMER_TONE=TIM1
469 479
 board_upload.maximum_size = 499712
470
-
471
-#
472
-# Creality (STM32F103RET6)
473
-#
474
-[env:STM32F103RET6_creality]
475
-platform                    = ${common_stm32f1.platform}
476
-extends                     = stm32_variant
477
-board                       = genericSTM32F103VE
478
-board_build.variant         = MARLIN_F103Vx
479
-board_build.offset          = 0x7000
480
-board_upload.offset_address = 0x08007000
481
-build_flags                 = ${stm32_variant.build_flags}
482
-                              -DSS_TIMER=4 -DTIMER_SERVO=TIM5
483
-                              -DENABLE_HWSERIAL3 -DTRANSFER_CLOCK_DIV=8
484
-build_unflags               = ${stm32_variant.build_unflags}
485
-                              -DUSBCON -DUSBD_USE_CDC
486
-extra_scripts               = ${stm32_variant.extra_scripts}
487
-                              pre:buildroot/share/PlatformIO/scripts/random-bin.py
488
-monitor_speed               = 115200
489
-debug_tool                  = jlink
490
-upload_protocol             = jlink

正在加载...
取消
保存