Parcourir la source

Add: Board for Vellemann K8200 (derived from 3Drag)

## Add: Board for Vellemann K8200 (derived from 3Drag)

* Boards.h: updated comment for board 3Drag - K8200 removed
* Boards.h: added `BOARD_K8200` with ID 78

* language.h.: machine name and firmware URL for new board

* pins.h: added `K8200` to any `#if` with `3Drag` and corresponding
comments
CONSULitAS il y a 10 ans
Parent
révision
3b50a5e2e6
3 fichiers modifiés avec 14 ajouts et 10 suppressions
  1. 2
    1
      Marlin/boards.h
  2. 3
    0
      Marlin/language.h
  3. 9
    9
      Marlin/pins.h

+ 2
- 1
Marlin/boards.h Voir le fichier

@@ -28,7 +28,8 @@
28 28
 #define BOARD_ULTIMAKER         7    // Ultimaker
29 29
 #define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
30 30
 #define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
31
-#define BOARD_3DRAG             77   // 3Drag Controller / Vellemann K8200 Controller
31
+#define BOARD_3DRAG             77   // 3Drag Controller
32
+#define BOARD_K8200             78   // Vellemann K8200 Controller (derived from 3Drag Controller)
32 33
 #define BOARD_TEENSYLU          8    // Teensylu
33 34
 #define BOARD_RUMBA             80   // Rumba
34 35
 #define BOARD_PRINTRBOARD       81   // Printrboard (AT90USB1286)

+ 3
- 0
Marlin/language.h Voir le fichier

@@ -41,6 +41,9 @@
41 41
 #elif MB(3DRAG)
42 42
   #define MACHINE_NAME "3Drag"
43 43
   #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
44
+#elif MB(K8200)
45
+  #define MACHINE_NAME "K8200"
46
+  #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"
44 47
 #elif MB(5DPRINT)
45 48
   #define MACHINE_NAME "Makibox"
46 49
   #define FIRMWARE_URL "https://github.com/MarlinFirmware/Marlin"

+ 9
- 9
Marlin/pins.h Voir le fichier

@@ -530,7 +530,7 @@
530 530
 * Arduino Mega pin assignment
531 531
 *
532 532
 ****************************************************************************************/
533
-#if IS_RAMPS || MB(3DRAG) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
533
+#if IS_RAMPS || MB(3DRAG) || MB(K8200) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
534 534
 #define KNOWN_BOARD 1
535 535
 
536 536
 //////////////////FIX THIS//////////////
@@ -546,11 +546,11 @@
546 546
 // #define RAMPS_V_1_0
547 547
 
548 548
 
549
-#if (IS_RAMPS && !MB(RAMPS_OLD)) || MB(3DRAG) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
549
+#if (IS_RAMPS && !MB(RAMPS_OLD)) || MB(3DRAG) || MB(K8200) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
550 550
 
551 551
   #define LARGE_FLASH true
552 552
 
553
-  #if MB(3DRAG)
553
+  #if MB(3DRAG) || MB(K8200)
554 554
     #define X_STEP_PIN         54
555 555
     #define X_DIR_PIN          55
556 556
     #define X_ENABLE_PIN       38
@@ -661,7 +661,7 @@
661 661
     #define FAN_PIN            4 // IO pin. Buffer needed
662 662
   #endif
663 663
 
664
-  #if MB(3DRAG) || MB(RAMPS_13_EEF)
664
+  #if MB(3DRAG) || MB(K8200) || MB(RAMPS_13_EEF)
665 665
     #define FAN_PIN            8
666 666
   #endif
667 667
 
@@ -690,7 +690,7 @@
690 690
   #endif
691 691
 
692 692
 
693
-  #if MB(3DRAG)
693
+  #if MB(3DRAG) || MB(K8200)
694 694
     #define HEATER_0_PIN       10
695 695
     #define HEATER_1_PIN       12
696 696
     #define HEATER_2_PIN       6
@@ -720,7 +720,7 @@
720 720
   #if MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)
721 721
     #define HEATER_BED_PIN     -1    // NO BED
722 722
   #else
723
-    #if MB(3DRAG)
723
+    #if MB(3DRAG) || MB(K8200)
724 724
       #define HEATER_BED_PIN     9    // BED
725 725
     #else
726 726
       #define HEATER_BED_PIN     8    // BED
@@ -813,7 +813,7 @@
813 813
 
814 814
       #endif
815 815
 
816
-      #if MB(3DRAG)
816
+      #if MB(3DRAG) || MB(K8200)
817 817
         #define BEEPER -1
818 818
 
819 819
         #define LCD_PINS_RS 27
@@ -895,7 +895,7 @@
895 895
 #define TEMP_2_PIN          -1
896 896
 #define TEMP_BED_PIN        1    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
897 897
 
898
-#endif // RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG
898
+#endif // RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG || K8200
899 899
 
900 900
 // SPI for Max6675 Thermocouple
901 901
 
@@ -909,7 +909,7 @@
909 909
   #define MAX6675_SS       66// Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
910 910
 #endif
911 911
 
912
-#endif // RAMPS_OLD || RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG
912
+#endif // RAMPS_OLD || RAMPS_13_EFB || RAMPS_13_EEB || RAMPS_13_EFF || 3DRAG || K8200
913 913
 
914 914
 /****************************************************************************************
915 915
 * Duemilanove w/ ATMega328P pin assignment

Chargement…
Annuler
Enregistrer