Przeglądaj źródła

Unify FYSETC F6 1.3 / 1.4 (#20507)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Victor Oliveira 3 lat temu
rodzic
commit
cfad5cb435
No account linked to committer's email address

+ 1
- 1
.github/workflows/test-builds.yml Wyświetl plik

@@ -48,7 +48,7 @@ jobs:
48 48
 
49 49
         # Extended AVR Environments
50 50
 
51
-        - FYSETC_F6_13
51
+        - FYSETC_F6
52 52
         - mega1280
53 53
         - rambo
54 54
         - sanguino1284p

+ 2
- 2
Marlin/src/pins/pins.h Wyświetl plik

@@ -163,9 +163,9 @@
163 163
 #elif MB(DAGOMA_F5)
164 164
   #include "ramps/pins_DAGOMA_F5.h"             // ATmega2560                             env:mega2560
165 165
 #elif MB(FYSETC_F6_13)
166
-  #include "ramps/pins_FYSETC_F6_13.h"          // ATmega2560                             env:FYSETC_F6_13
166
+  #include "ramps/pins_FYSETC_F6_13.h"          // ATmega2560                             env:FYSETC_F6
167 167
 #elif MB(FYSETC_F6_14)
168
-  #include "ramps/pins_FYSETC_F6_14.h"          // ATmega2560                             env:FYSETC_F6_14
168
+  #include "ramps/pins_FYSETC_F6_14.h"          // ATmega2560                             env:FYSETC_F6
169 169
 #elif MB(DUPLICATOR_I3_PLUS)
170 170
   #include "ramps/pins_DUPLICATOR_I3_PLUS.h"    // ATmega2560                             env:mega2560
171 171
 #elif MB(VORON)

+ 34
- 0
buildroot/share/PlatformIO/boards/fysetc_f6.json Wyświetl plik

@@ -0,0 +1,34 @@
1
+{
2
+  "build": {
3
+    "core": "arduino",
4
+    "extra_flags": "-DARDUINO_AVR_MEGA2560",
5
+    "f_cpu": "16000000L",
6
+    "hwids": [
7
+      [
8
+        "0x27b2",
9
+        "0x0002"
10
+      ]
11
+    ],
12
+    "mcu": "atmega2560",
13
+    "variant": "fysetcf6"
14
+  },
15
+  "debug": {
16
+    "simavr_target": "atmega2560",
17
+    "avr-stub": {
18
+      "speed": 115200
19
+    }
20
+  },
21
+  "frameworks": [
22
+    "arduino"
23
+  ],
24
+  "name": "FYSETC F6",
25
+  "upload": {
26
+    "maximum_ram_size": 8192,
27
+    "maximum_size": 258048,
28
+    "protocol": "wiring",
29
+    "require_upload_port": true,
30
+    "speed": 115200
31
+  },
32
+  "url": "https://www.fysetc.com/",
33
+  "vendor": "FYSETC"
34
+}

buildroot/tests/FYSETC_F6_13-tests → buildroot/tests/FYSETC_F6-tests Wyświetl plik


+ 3
- 11
platformio.ini Wyświetl plik

@@ -505,20 +505,12 @@ extends  = common_avr8
505 505
 board    = reprap_rambo
506 506
 
507 507
 #
508
-# FYSETC F6 V1.3
508
+# FYSETC F6 V1.3 / V1.4
509 509
 #
510
-[env:FYSETC_F6_13]
510
+[env:FYSETC_F6]
511 511
 platform = atmelavr
512 512
 extends  = common_avr8
513
-board    = fysetc_f6_13
514
-
515
-#
516
-# FYSETC F6 V1.4
517
-#
518
-[env:FYSETC_F6_14]
519
-platform = atmelavr
520
-extends  = common_avr8
521
-board    = fysetc_f6_14
513
+board    = fysetc_f6
522 514
 
523 515
 #
524 516
 # Sanguinololu (ATmega644p)

Ładowanie…
Anuluj
Zapisz