瀏覽代碼

✨ MKS Robin Nano 3.1 (#23795)

ellensp 2 年之前
父節點
當前提交
f7f29c6b5e
No account linked to committer's email address
共有 4 個文件被更改,包括 92 次插入10 次删除
  1. 11
    10
      Marlin/src/core/boards.h
  2. 2
    0
      Marlin/src/pins/pins.h
  3. 56
    0
      buildroot/share/PlatformIO/boards/marlin_STM32F407VET6_CCM.json
  4. 23
    0
      ini/stm32f4.ini

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

@@ -404,16 +404,17 @@
404 404
 #define BOARD_MKS_ROBIN2              4226  // MKS_ROBIN2 (STM32F407ZE)
405 405
 #define BOARD_MKS_ROBIN_PRO_V2        4227  // MKS Robin Pro V2 (STM32F407VE)
406 406
 #define BOARD_MKS_ROBIN_NANO_V3       4228  // MKS Robin Nano V3 (STM32F407VG)
407
-#define BOARD_MKS_MONSTER8            4229  // MKS Monster8 (STM32F407VG)
408
-#define BOARD_ANET_ET4                4230  // ANET ET4 V1.x (STM32F407VG)
409
-#define BOARD_ANET_ET4P               4231  // ANET ET4P V1.x (STM32F407VG)
410
-#define BOARD_FYSETC_CHEETAH_V20      4232  // FYSETC Cheetah V2.0
411
-#define BOARD_TH3D_EZBOARD_V2         4233  // TH3D EZBoard v2.0
412
-#define BOARD_INDEX_REV03             4234  // Index PnP Controller REV03 (STM32F407VE/VG)
413
-#define BOARD_MKS_ROBIN_NANO_V1_3_F4  4235  // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VE)
414
-#define BOARD_MKS_EAGLE               4236  // MKS Eagle (STM32F407VE)
415
-#define BOARD_ARTILLERY_RUBY          4237  // Artillery Ruby (STM32F401RC)
416
-#define BOARD_FYSETC_SPIDER_V2_2      4238  // FYSETC Spider V2.2 (STM32F446VE)
407
+#define BOARD_MKS_ROBIN_NANO_V3_1     4229  // MKS Robin Nano V3.1 (STM32F407VE)
408
+#define BOARD_MKS_MONSTER8            4230  // MKS Monster8 (STM32F407VG)
409
+#define BOARD_ANET_ET4                4231  // ANET ET4 V1.x (STM32F407VG)
410
+#define BOARD_ANET_ET4P               4232  // ANET ET4P V1.x (STM32F407VG)
411
+#define BOARD_FYSETC_CHEETAH_V20      4233  // FYSETC Cheetah V2.0
412
+#define BOARD_TH3D_EZBOARD_V2         4234  // TH3D EZBoard v2.0
413
+#define BOARD_INDEX_REV03             4235  // Index PnP Controller REV03 (STM32F407VE/VG)
414
+#define BOARD_MKS_ROBIN_NANO_V1_3_F4  4236  // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VE)
415
+#define BOARD_MKS_EAGLE               4237  // MKS Eagle (STM32F407VE)
416
+#define BOARD_ARTILLERY_RUBY          4238  // Artillery Ruby (STM32F401RC)
417
+#define BOARD_FYSETC_SPIDER_V2_2      4239  // FYSETC Spider V2.2 (STM32F446VE)
417 418
 
418 419
 //
419 420
 // ARM Cortex M7

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

@@ -669,6 +669,8 @@
669 669
   #include "stm32f4/pins_MKS_ROBIN_PRO_V2.h"    // STM32F4                                env:mks_robin_pro2
670 670
 #elif MB(MKS_ROBIN_NANO_V3)
671 671
   #include "stm32f4/pins_MKS_ROBIN_NANO_V3.h"   // STM32F4                                env:mks_robin_nano_v3 env:mks_robin_nano_v3_usb_flash_drive env:mks_robin_nano_v3_usb_flash_drive_msc
672
+#elif MB(MKS_ROBIN_NANO_V3_1)
673
+  #include "stm32f4/pins_MKS_ROBIN_NANO_V3.h"   // STM32F4                                env:mks_robin_nano_v3_1 env:mks_robin_nano_v3_1_usb_flash_drive env:mks_robin_nano_v3_1_usb_flash_drive_msc
672 674
 #elif MB(ANET_ET4)
673 675
   #include "stm32f4/pins_ANET_ET4.h"            // STM32F4                                env:Anet_ET4_OpenBLT
674 676
 #elif MB(ANET_ET4P)

+ 56
- 0
buildroot/share/PlatformIO/boards/marlin_STM32F407VET6_CCM.json 查看文件

@@ -0,0 +1,56 @@
1
+{
2
+  "build": {
3
+    "core": "stm32",
4
+    "cpu": "cortex-m4",
5
+    "extra_flags": "-DSTM32F407xx -DSTM32F4",
6
+    "f_cpu": "168000000L",
7
+    "hwids": [
8
+      [
9
+        "0x1EAF",
10
+        "0x0003"
11
+      ],
12
+      [
13
+        "0x0483",
14
+        "0x3748"
15
+      ]
16
+    ],
17
+    "mcu": "stm32f407vet6",
18
+    "product_line": "STM32F407xx",
19
+    "variant": "Generic_F4x7Vx"
20
+  },
21
+  "debug": {
22
+    "default_tools": [
23
+      "stlink"
24
+    ],
25
+    "jlink_device": "STM32F407VE",
26
+    "openocd_extra_args": [
27
+      "-c",
28
+      "reset_config none"
29
+    ],
30
+    "openocd_target": "stm32f4x",
31
+    "svd_path": "STM32F40x.svd"
32
+  },
33
+  "frameworks": [
34
+    "arduino",
35
+    "cmsis",
36
+    "stm32cube",
37
+    "libopencm3"
38
+  ],
39
+  "name": "STM32F407VE (128k RAM, 64k CCM RAM, 512k Flash",
40
+  "upload": {
41
+    "disable_flushing": false,
42
+    "maximum_ram_size": 131072,
43
+    "maximum_size": 524288,
44
+    "protocol": "stlink",
45
+    "protocols": [
46
+      "stlink",
47
+      "dfu",
48
+      "jlink"
49
+    ],
50
+    "require_upload_port": true,
51
+    "use_1200bps_touch": false,
52
+    "wait_for_upload_port": false
53
+  },
54
+  "url": "https://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f4-series/stm32f407-417/stm32f407vg.html",
55
+  "vendor": "Generic"
56
+}

+ 23
- 0
ini/stm32f4.ini 查看文件

@@ -441,6 +441,29 @@ build_flags       = ${env:mks_robin_nano_v3_usb_flash_drive.build_flags}
441 441
 build_unflags     = -DUSBD_USE_CDC
442 442
 
443 443
 #
444
+# MKS Robin Nano V3_1
445
+#
446
+[env:mks_robin_nano_v3_1]
447
+extends           = env:mks_robin_nano_v3
448
+board             = marlin_STM32F407VET6_CCM
449
+
450
+#
451
+# MKS Robin Nano V3.1 with USB Flash Drive Support
452
+# Currently, using a STM32duino fork, until USB Host get merged
453
+#
454
+[env:mks_robin_nano_v3_1_usb_flash_drive]
455
+extends           = env:mks_robin_nano_v3_usb_flash_drive
456
+board             = marlin_STM32F407VET6_CCM
457
+
458
+#
459
+# MKS Robin Nano V3.1 with USB Flash Drive Support and Shared Media
460
+# Currently, using a STM32duino fork, until USB Host and USB Device MSC get merged
461
+#
462
+[env:mks_robin_nano_v3_1_usb_flash_drive_msc]
463
+extends           = env:mks_robin_nano_v3_usb_flash_drive_msc
464
+board             = marlin_STM32F407VET6_CCM
465
+
466
+#
444 467
 # MKS Eagle
445 468
 # 5 TMC2209 uart mode on board
446 469
 #

Loading…
取消
儲存