Sfoglia il codice sorgente

✨ FYSETC Spider v2.2 (#23208)

George Fu 2 anni fa
parent
commit
a3c4a5eca6
Nessun account collegato all'indirizzo email del committer

+ 1
- 0
Marlin/src/core/boards.h Vedi File

@@ -407,6 +407,7 @@
407 407
 #define BOARD_MKS_ROBIN_NANO_V1_3_F4  4235  // MKS Robin Nano V1.3 and MKS Robin Nano-S V1.3 (STM32F407VET6)
408 408
 #define BOARD_MKS_EAGLE               4236  // MKS Eagle (STM32F407VET6)
409 409
 #define BOARD_ARTILLERY_RUBY          4237  // Artillery Ruby (STM32F401RCT6)
410
+#define BOARD_FYSETC_SPIDER_V2_2      4238  // FYSETC Spider V2.2 (STM32F446VET6)
410 411
 
411 412
 //
412 413
 // ARM Cortex M7

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

@@ -643,6 +643,8 @@
643 643
   #include "stm32f4/pins_FYSETC_S6_V2_0.h"      // STM32F4                                env:FYSETC_S6 env:FYSETC_S6_8000
644 644
 #elif MB(FYSETC_SPIDER)
645 645
   #include "stm32f4/pins_FYSETC_SPIDER.h"       // STM32F4                                env:FYSETC_S6 env:FYSETC_S6_8000
646
+#elif MB(FYSETC_SPIDER_V2_2)
647
+  #include "stm32f4/pins_FYSETC_SPIDER_V2_2.h"  // STM32F4                                env:FYSETC_S6 env:FYSETC_S6_8000
646 648
 #elif MB(FLYF407ZG)
647 649
   #include "stm32f4/pins_FLYF407ZG.h"           // STM32F4                                env:FLYF407ZG
648 650
 #elif MB(MKS_ROBIN2)

+ 9
- 3
Marlin/src/pins/stm32f4/pins_FYSETC_S6.h Vedi File

@@ -162,7 +162,9 @@
162 162
 #define TEMP_0_PIN                          PC0
163 163
 #define TEMP_1_PIN                          PC1
164 164
 #define TEMP_2_PIN                          PC2
165
-#define TEMP_BED_PIN                        PC3
165
+#ifndef TEMP_BED_PIN
166
+  #define TEMP_BED_PIN                      PC3
167
+#endif
166 168
 
167 169
 //
168 170
 // Heaters / Fans
@@ -180,8 +182,12 @@
180 182
   #define HEATER_BED_PIN                    PC8
181 183
 #endif
182 184
 
183
-#define FAN_PIN                             PB0
184
-#define FAN1_PIN                            PB1
185
+#ifndef FAN_PIN
186
+  #define FAN_PIN                           PB0
187
+#endif
188
+#ifndef FAN1_PIN
189
+  #define FAN1_PIN                          PB1
190
+#endif
185 191
 #define FAN2_PIN                            PB2
186 192
 
187 193
 //

+ 34
- 0
Marlin/src/pins/stm32f4/pins_FYSETC_SPIDER_V2_2.h Vedi File

@@ -0,0 +1,34 @@
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
+#define BOARD_INFO_NAME "FYSETC SPIDER V22"
25
+#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
26
+
27
+#define TEMP_3_PIN                          PC3
28
+#define TEMP_4_PIN                          PB1
29
+#define TEMP_BED_PIN                        PB0
30
+
31
+#define FAN_PIN                             PA13
32
+#define FAN1_PIN                            PA14
33
+
34
+#include "pins_FYSETC_SPIDER.h"

+ 2
- 2
buildroot/share/PlatformIO/variants/MARLIN_FYSETC_S6/PeripheralPins.c Vedi File

@@ -60,9 +60,9 @@ const PinMap PinMap_ADC[] = {
60 60
   //{PA_6,  ADC2,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 6, 0)}, // ADC2_IN6
61 61
   //{PA_7,  ADC1,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 7, 0)}, // ADC1_IN7
62 62
   //{PA_7,  ADC2,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 7, 0)}, // ADC2_IN7
63
-  //{PB_0,  ADC1,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 8, 0)}, // ADC1_IN8
63
+  {PB_0,  ADC1,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 8, 0)}, // ADC1_IN8
64 64
   //{PB_0,  ADC2,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 8, 0)}, // ADC2_IN8
65
-  //{PB_1,  ADC1,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 9, 0)}, // ADC1_IN9
65
+  {PB_1,  ADC1,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 9, 0)}, // ADC1_IN9
66 66
   //{PB_1,  ADC2,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 9, 0)}, // ADC2_IN9
67 67
   {PC_0,  ADC1,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 10, 0)}, // ADC1_IN10
68 68
   //{PC_0,  ADC2,  STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, 10, 0)}, // ADC2_IN10

Loading…
Annulla
Salva