Browse Source

Support for SilverGate Board

Scott Lahteine 7 years ago
parent
commit
4fb3ce4739
45 changed files with 294 additions and 15 deletions
  1. 1
    1
      Marlin/Conditionals_LCD.h
  2. 5
    0
      Marlin/Configuration.h
  3. 1
    0
      Marlin/boards.h
  4. 5
    0
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  5. 5
    0
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  6. 5
    0
      Marlin/example_configurations/Anet/A6/Configuration.h
  7. 5
    0
      Marlin/example_configurations/Anet/A8/Configuration.h
  8. 5
    0
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  9. 5
    0
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  10. 5
    0
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  11. 5
    0
      Marlin/example_configurations/Cartesio/Configuration.h
  12. 5
    0
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  13. 5
    0
      Marlin/example_configurations/Felix/Configuration.h
  14. 5
    0
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  15. 5
    0
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h
  16. 5
    0
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  17. 5
    0
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  18. 5
    0
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  19. 5
    0
      Marlin/example_configurations/Malyan/M150/Configuration.h
  20. 5
    0
      Marlin/example_configurations/Micromake/C1/basic/Configuration.h
  21. 5
    0
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h
  22. 5
    0
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  23. 5
    0
      Marlin/example_configurations/RigidBot/Configuration.h
  24. 5
    0
      Marlin/example_configurations/SCARA/Configuration.h
  25. 5
    0
      Marlin/example_configurations/Sanguinololu/Configuration.h
  26. 5
    0
      Marlin/example_configurations/TinyBoy2/Configuration.h
  27. 5
    0
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  28. 5
    0
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  29. 5
    0
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  30. 5
    0
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  31. 5
    0
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  32. 5
    0
      Marlin/example_configurations/delta/generic/Configuration.h
  33. 5
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  34. 5
    0
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  35. 5
    0
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  36. 5
    0
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  37. 5
    0
      Marlin/example_configurations/makibox/Configuration.h
  38. 5
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  39. 5
    0
      Marlin/example_configurations/wt150/Configuration.h
  40. 2
    0
      Marlin/pins.h
  41. 1
    4
      Marlin/pinsDebug.h
  42. 4
    4
      Marlin/pinsDebug_plus_70.h
  43. 94
    0
      Marlin/pins_SILVER_GATE.h
  44. 3
    3
      Marlin/ultralcd_st7565_u8glib_VIKI.h
  45. 3
    3
      Marlin/ultralcd_st7920_u8glib_rrd.h

+ 1
- 1
Marlin/Conditionals_LCD.h View File

154
 
154
 
155
   #endif
155
   #endif
156
 
156
 
157
-  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(LCD_FOR_MELZI)
157
+  #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) || ENABLED(LCD_FOR_MELZI) || ENABLED(SILVER_GATE_GLCD_CONTROLLER)
158
     #define DOGLCD
158
     #define DOGLCD
159
     #define U8GLIB_ST7920
159
     #define U8GLIB_ST7920
160
     #define REPRAP_DISCOUNT_SMART_CONTROLLER
160
     #define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 5
- 0
Marlin/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 1
- 0
Marlin/boards.h View File

33
 #define BOARD_CNCONTROLS_12     112  // Cartesio CN Controls V12
33
 #define BOARD_CNCONTROLS_12     112  // Cartesio CN Controls V12
34
 #define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
34
 #define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
35
 #define BOARD_CHEAPTRONIC_V2    21   // Cheaptronic v2.0
35
 #define BOARD_CHEAPTRONIC_V2    21   // Cheaptronic v2.0
36
+#define BOARD_SILVER_GATE       25   // Silvergate v1.0
36
 #define BOARD_SETHI             20   // Sethi 3D_1
37
 #define BOARD_SETHI             20   // Sethi 3D_1
37
 #define BOARD_MIGHTYBOARD_REVE  200  // Makerbot Mightyboard Revision E
38
 #define BOARD_MIGHTYBOARD_REVE  200  // Makerbot Mightyboard Revision E
38
 #define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2
39
 #define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2

+ 5
- 0
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h View File

1573
 //
1573
 //
1574
 //#define MKS_12864OLED
1574
 //#define MKS_12864OLED
1575
 
1575
 
1576
+// Silvergate GLCD controller
1577
+// http://github.com/android444/Silvergate
1578
+//
1579
+//#define SILVER_GATE_GLCD_CONTROLLER
1580
+
1576
 //=============================================================================
1581
 //=============================================================================
1577
 //=============================== Extra Features ==============================
1582
 //=============================== Extra Features ==============================
1578
 //=============================================================================
1583
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/AliExpress/CL-260/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Anet/A6/Configuration.h View File

1712
 //
1712
 //
1713
 //#define MKS_12864OLED
1713
 //#define MKS_12864OLED
1714
 
1714
 
1715
+// Silvergate GLCD controller
1716
+// http://github.com/android444/Silvergate
1717
+//
1718
+//#define SILVER_GATE_GLCD_CONTROLLER
1719
+
1715
 //=============================================================================
1720
 //=============================================================================
1716
 //=============================== Extra Features ==============================
1721
 //=============================== Extra Features ==============================
1717
 //=============================================================================
1722
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Anet/A8/Configuration.h View File

1561
 //
1561
 //
1562
 //#define MKS_12864OLED
1562
 //#define MKS_12864OLED
1563
 
1563
 
1564
+// Silvergate GLCD controller
1565
+// http://github.com/android444/Silvergate
1566
+//
1567
+//#define SILVER_GATE_GLCD_CONTROLLER
1568
+
1564
 //=============================================================================
1569
 //=============================================================================
1565
 //=============================== Extra Features ==============================
1570
 //=============================== Extra Features ==============================
1566
 //=============================================================================
1571
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/BQ/Hephestos/Configuration.h View File

1544
 //
1544
 //
1545
 //#define MKS_12864OLED
1545
 //#define MKS_12864OLED
1546
 
1546
 
1547
+// Silvergate GLCD controller
1548
+// http://github.com/android444/Silvergate
1549
+//
1550
+//#define SILVER_GATE_GLCD_CONTROLLER
1551
+
1547
 //=============================================================================
1552
 //=============================================================================
1548
 //=============================== Extra Features ==============================
1553
 //=============================== Extra Features ==============================
1549
 //=============================================================================
1554
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h View File

1554
 //
1554
 //
1555
 //#define MKS_12864OLED
1555
 //#define MKS_12864OLED
1556
 
1556
 
1557
+// Silvergate GLCD controller
1558
+// http://github.com/android444/Silvergate
1559
+//
1560
+//#define SILVER_GATE_GLCD_CONTROLLER
1561
+
1557
 //=============================================================================
1562
 //=============================================================================
1558
 //=============================== Extra Features ==============================
1563
 //=============================== Extra Features ==============================
1559
 //=============================================================================
1564
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/BQ/WITBOX/Configuration.h View File

1544
 //
1544
 //
1545
 //#define MKS_12864OLED
1545
 //#define MKS_12864OLED
1546
 
1546
 
1547
+// Silvergate GLCD controller
1548
+// http://github.com/android444/Silvergate
1549
+//
1550
+//#define SILVER_GATE_GLCD_CONTROLLER
1551
+
1547
 //=============================================================================
1552
 //=============================================================================
1548
 //=============================== Extra Features ==============================
1553
 //=============================== Extra Features ==============================
1549
 //=============================================================================
1554
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Cartesio/Configuration.h View File

1552
 //
1552
 //
1553
 //#define MKS_12864OLED
1553
 //#define MKS_12864OLED
1554
 
1554
 
1555
+// Silvergate GLCD controller
1556
+// http://github.com/android444/Silvergate
1557
+//
1558
+//#define SILVER_GATE_GLCD_CONTROLLER
1559
+
1555
 //=============================================================================
1560
 //=============================================================================
1556
 //=============================== Extra Features ==============================
1561
 //=============================== Extra Features ==============================
1557
 //=============================================================================
1562
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Creality/CR-10/Configuration.h View File

1563
 //
1563
 //
1564
 //#define MKS_12864OLED
1564
 //#define MKS_12864OLED
1565
 
1565
 
1566
+// Silvergate GLCD controller
1567
+// http://github.com/android444/Silvergate
1568
+//
1569
+//#define SILVER_GATE_GLCD_CONTROLLER
1570
+
1566
 //=============================================================================
1571
 //=============================================================================
1567
 //=============================== Extra Features ==============================
1572
 //=============================== Extra Features ==============================
1568
 //=============================================================================
1573
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Felix/Configuration.h View File

1535
 //
1535
 //
1536
 //#define MKS_12864OLED
1536
 //#define MKS_12864OLED
1537
 
1537
 
1538
+// Silvergate GLCD controller
1539
+// http://github.com/android444/Silvergate
1540
+//
1541
+//#define SILVER_GATE_GLCD_CONTROLLER
1542
+
1538
 //=============================================================================
1543
 //=============================================================================
1539
 //=============================== Extra Features ==============================
1544
 //=============================== Extra Features ==============================
1540
 //=============================================================================
1545
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

1535
 //
1535
 //
1536
 //#define MKS_12864OLED
1536
 //#define MKS_12864OLED
1537
 
1537
 
1538
+// Silvergate GLCD controller
1539
+// http://github.com/android444/Silvergate
1540
+//
1541
+//#define SILVER_GATE_GLCD_CONTROLLER
1542
+
1538
 //=============================================================================
1543
 //=============================================================================
1539
 //=============================== Extra Features ==============================
1544
 //=============================== Extra Features ==============================
1540
 //=============================================================================
1545
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h View File

1558
 //
1558
 //
1559
 //#define MKS_12864OLED
1559
 //#define MKS_12864OLED
1560
 
1560
 
1561
+// Silvergate GLCD controller
1562
+// http://github.com/android444/Silvergate
1563
+//
1564
+//#define SILVER_GATE_GLCD_CONTROLLER
1565
+
1561
 //=============================================================================
1566
 //=============================================================================
1562
 //=============================== Extra Features ==============================
1567
 //=============================== Extra Features ==============================
1563
 //=============================================================================
1568
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Geeetech/GT2560/Configuration.h View File

1568
 //
1568
 //
1569
 //#define MKS_12864OLED
1569
 //#define MKS_12864OLED
1570
 
1570
 
1571
+// Silvergate GLCD controller
1572
+// http://github.com/android444/Silvergate
1573
+//
1574
+//#define SILVER_GATE_GLCD_CONTROLLER
1575
+
1571
 //=============================================================================
1576
 //=============================================================================
1572
 //=============================== Extra Features ==============================
1577
 //=============================== Extra Features ==============================
1573
 //=============================================================================
1578
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Infitary/i3-M508/Configuration.h View File

1557
 //
1557
 //
1558
 //#define MKS_12864OLED
1558
 //#define MKS_12864OLED
1559
 
1559
 
1560
+// Silvergate GLCD controller
1561
+// http://github.com/android444/Silvergate
1562
+//
1563
+//#define SILVER_GATE_GLCD_CONTROLLER
1564
+
1560
 //=============================================================================
1565
 //=============================================================================
1561
 //=============================== Extra Features ==============================
1566
 //=============================== Extra Features ==============================
1562
 //=============================================================================
1567
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Malyan/M150/Configuration.h View File

1581
 //
1581
 //
1582
 //#define MKS_12864OLED
1582
 //#define MKS_12864OLED
1583
 
1583
 
1584
+// Silvergate GLCD controller
1585
+// http://github.com/android444/Silvergate
1586
+//
1587
+//#define SILVER_GATE_GLCD_CONTROLLER
1588
+
1584
 //=============================================================================
1589
 //=============================================================================
1585
 //=============================== Extra Features ==============================
1590
 //=============================== Extra Features ==============================
1586
 //=============================================================================
1591
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Micromake/C1/basic/Configuration.h View File

1557
 //
1557
 //
1558
 //#define MKS_12864OLED
1558
 //#define MKS_12864OLED
1559
 
1559
 
1560
+// Silvergate GLCD controller
1561
+// http://github.com/android444/Silvergate
1562
+//
1563
+//#define SILVER_GATE_GLCD_CONTROLLER
1564
+
1560
 //=============================================================================
1565
 //=============================================================================
1561
 //=============================== Extra Features ==============================
1566
 //=============================== Extra Features ==============================
1562
 //=============================================================================
1567
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h View File

1557
 //
1557
 //
1558
 //#define MKS_12864OLED
1558
 //#define MKS_12864OLED
1559
 
1559
 
1560
+// Silvergate GLCD controller
1561
+// http://github.com/android444/Silvergate
1562
+//
1563
+//#define SILVER_GATE_GLCD_CONTROLLER
1564
+
1560
 //=============================================================================
1565
 //=============================================================================
1561
 //=============================== Extra Features ==============================
1566
 //=============================== Extra Features ==============================
1562
 //=============================================================================
1567
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/RigidBot/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/SCARA/Configuration.h View File

1565
 //
1565
 //
1566
 //#define MKS_12864OLED
1566
 //#define MKS_12864OLED
1567
 
1567
 
1568
+// Silvergate GLCD controller
1569
+// http://github.com/android444/Silvergate
1570
+//
1571
+//#define SILVER_GATE_GLCD_CONTROLLER
1572
+
1568
 //=============================================================================
1573
 //=============================================================================
1569
 //=============================== Extra Features ==============================
1574
 //=============================== Extra Features ==============================
1570
 //=============================================================================
1575
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Sanguinololu/Configuration.h View File

1584
 //
1584
 //
1585
 //#define MKS_12864OLED
1585
 //#define MKS_12864OLED
1586
 
1586
 
1587
+// Silvergate GLCD controller
1588
+// http://github.com/android444/Silvergate
1589
+//
1590
+//#define SILVER_GATE_GLCD_CONTROLLER
1591
+
1587
 //=============================================================================
1592
 //=============================================================================
1588
 //=============================== Extra Features ==============================
1593
 //=============================== Extra Features ==============================
1589
 //=============================================================================
1594
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/TinyBoy2/Configuration.h View File

1609
 //
1609
 //
1610
 //#define MKS_12864OLED
1610
 //#define MKS_12864OLED
1611
 
1611
 
1612
+// Silvergate GLCD controller
1613
+// http://github.com/android444/Silvergate
1614
+//
1615
+//#define SILVER_GATE_GLCD_CONTROLLER
1616
+
1612
 //=============================================================================
1617
 //=============================================================================
1613
 //=============================== Extra Features ==============================
1618
 //=============================== Extra Features ==============================
1614
 //=============================================================================
1619
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Velleman/K8400/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

1553
 //
1553
 //
1554
 //#define MKS_12864OLED
1554
 //#define MKS_12864OLED
1555
 
1555
 
1556
+// Silvergate GLCD controller
1557
+// http://github.com/android444/Silvergate
1558
+//
1559
+//#define SILVER_GATE_GLCD_CONTROLLER
1560
+
1556
 //=============================================================================
1561
 //=============================================================================
1557
 //=============================== Extra Features ==============================
1562
 //=============================== Extra Features ==============================
1558
 //=============================================================================
1563
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h View File

1687
 //
1687
 //
1688
 //#define MKS_12864OLED
1688
 //#define MKS_12864OLED
1689
 
1689
 
1690
+// Silvergate GLCD controller
1691
+// http://github.com/android444/Silvergate
1692
+//
1693
+//#define SILVER_GATE_GLCD_CONTROLLER
1694
+
1690
 //=============================================================================
1695
 //=============================================================================
1691
 //=============================== Extra Features ==============================
1696
 //=============================== Extra Features ==============================
1692
 //=============================================================================
1697
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h View File

1680
 //
1680
 //
1681
 //#define MKS_12864OLED
1681
 //#define MKS_12864OLED
1682
 
1682
 
1683
+// Silvergate GLCD controller
1684
+// http://github.com/android444/Silvergate
1685
+//
1686
+//#define SILVER_GATE_GLCD_CONTROLLER
1687
+
1683
 //=============================================================================
1688
 //=============================================================================
1684
 //=============================== Extra Features ==============================
1689
 //=============================== Extra Features ==============================
1685
 //=============================================================================
1690
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/delta/generic/Configuration.h View File

1675
 //
1675
 //
1676
 //#define MKS_12864OLED
1676
 //#define MKS_12864OLED
1677
 
1677
 
1678
+// Silvergate GLCD controller
1679
+// http://github.com/android444/Silvergate
1680
+//
1681
+//#define SILVER_GATE_GLCD_CONTROLLER
1682
+
1678
 //=============================================================================
1683
 //=============================================================================
1679
 //=============================== Extra Features ==============================
1684
 //=============================== Extra Features ==============================
1680
 //=============================================================================
1685
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

1678
 //
1678
 //
1679
 //#define MKS_12864OLED
1679
 //#define MKS_12864OLED
1680
 
1680
 
1681
+// Silvergate GLCD controller
1682
+// http://github.com/android444/Silvergate
1683
+//
1684
+//#define SILVER_GATE_GLCD_CONTROLLER
1685
+
1681
 //=============================================================================
1686
 //=============================================================================
1682
 //=============================== Extra Features ==============================
1687
 //=============================== Extra Features ==============================
1683
 //=============================================================================
1688
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

1678
 //
1678
 //
1679
 //#define MKS_12864OLED
1679
 //#define MKS_12864OLED
1680
 
1680
 
1681
+// Silvergate GLCD controller
1682
+// http://github.com/android444/Silvergate
1683
+//
1684
+//#define SILVER_GATE_GLCD_CONTROLLER
1685
+
1681
 //=============================================================================
1686
 //=============================================================================
1682
 //=============================== Extra Features ==============================
1687
 //=============================== Extra Features ==============================
1683
 //=============================================================================
1688
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

1687
 //
1687
 //
1688
 //#define MKS_12864OLED
1688
 //#define MKS_12864OLED
1689
 
1689
 
1690
+// Silvergate GLCD controller
1691
+// http://github.com/android444/Silvergate
1692
+//
1693
+//#define SILVER_GATE_GLCD_CONTROLLER
1694
+
1690
 //=============================================================================
1695
 //=============================================================================
1691
 //=============================== Extra Features ==============================
1696
 //=============================== Extra Features ==============================
1692
 //=============================================================================
1697
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h View File

1567
 //
1567
 //
1568
 //#define MKS_12864OLED
1568
 //#define MKS_12864OLED
1569
 
1569
 
1570
+// Silvergate GLCD controller
1571
+// http://github.com/android444/Silvergate
1572
+//
1573
+//#define SILVER_GATE_GLCD_CONTROLLER
1574
+
1570
 //=============================================================================
1575
 //=============================================================================
1571
 //=============================== Extra Features ==============================
1576
 //=============================== Extra Features ==============================
1572
 //=============================================================================
1577
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/makibox/Configuration.h View File

1556
 //
1556
 //
1557
 //#define MKS_12864OLED
1557
 //#define MKS_12864OLED
1558
 
1558
 
1559
+// Silvergate GLCD controller
1560
+// http://github.com/android444/Silvergate
1561
+//
1562
+//#define SILVER_GATE_GLCD_CONTROLLER
1563
+
1559
 //=============================================================================
1564
 //=============================================================================
1560
 //=============================== Extra Features ==============================
1565
 //=============================== Extra Features ==============================
1561
 //=============================================================================
1566
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

1548
 //
1548
 //
1549
 //#define MKS_12864OLED
1549
 //#define MKS_12864OLED
1550
 
1550
 
1551
+// Silvergate GLCD controller
1552
+// http://github.com/android444/Silvergate
1553
+//
1554
+//#define SILVER_GATE_GLCD_CONTROLLER
1555
+
1551
 //=============================================================================
1556
 //=============================================================================
1552
 //=============================== Extra Features ==============================
1557
 //=============================== Extra Features ==============================
1553
 //=============================================================================
1558
 //=============================================================================

+ 5
- 0
Marlin/example_configurations/wt150/Configuration.h View File

1558
 //
1558
 //
1559
 //#define MKS_12864OLED
1559
 //#define MKS_12864OLED
1560
 
1560
 
1561
+// Silvergate GLCD controller
1562
+// http://github.com/android444/Silvergate
1563
+//
1564
+//#define SILVER_GATE_GLCD_CONTROLLER
1565
+
1561
 //=============================================================================
1566
 //=============================================================================
1562
 //=============================== Extra Features ==============================
1567
 //=============================== Extra Features ==============================
1563
 //=============================================================================
1568
 //=============================================================================

+ 2
- 0
Marlin/pins.h View File

158
   #include "pins_GT2560_REV_A.h"      // ATmega1280, ATmega2560
158
   #include "pins_GT2560_REV_A.h"      // ATmega1280, ATmega2560
159
 #elif MB(GT2560_REV_A_PLUS)
159
 #elif MB(GT2560_REV_A_PLUS)
160
   #include "pins_GT2560_REV_A_PLUS.h" // ATmega1280, ATmega2560
160
   #include "pins_GT2560_REV_A_PLUS.h" // ATmega1280, ATmega2560
161
+#elif MB(SILVER_GATE)
162
+  #include "pins_SILVER_GATE.h"       // ATmega2561
161
 
163
 
162
 //
164
 //
163
 // ATmega1281, ATmega2561
165
 // ATmega1281, ATmega2561

+ 1
- 4
Marlin/pinsDebug.h View File

102
 
102
 
103
 };
103
 };
104
 
104
 
105
-#define AVR_ATmega2560_FAMILY_PLUS_70 (MOTHERBOARD == BOARD_BQ_ZUM_MEGA_3D \
106
-|| MOTHERBOARD == BOARD_MIGHTYBOARD_REVE \
107
-|| MOTHERBOARD == BOARD_MINIRAMBO \
108
-|| MOTHERBOARD == BOARD_SCOOVO_X9H)
105
+#define AVR_ATmega2560_FAMILY_PLUS_70 (MB(BQ_ZUM_MEGA_3D) || MB(MIGHTYBOARD_REVE) || MB(MINIRAMBO) || MB(SCOOVO_X9H))
109
 
106
 
110
 #if AVR_AT90USB1286_FAMILY
107
 #if AVR_AT90USB1286_FAMILY
111
   // Working with Teensyduino extension so need to re-define some things
108
   // Working with Teensyduino extension so need to re-define some things

+ 4
- 4
Marlin/pinsDebug_plus_70.h View File

29
 #define __PINSDEBUG_PLUS_70_H__
29
 #define __PINSDEBUG_PLUS_70_H__
30
 
30
 
31
 #undef NUM_DIGITAL_PINS
31
 #undef NUM_DIGITAL_PINS
32
-#if MOTHERBOARD == BOARD_BQ_ZUM_MEGA_3D
32
+#if MB(BQ_ZUM_MEGA_3D)
33
   #define NUM_DIGITAL_PINS            85
33
   #define NUM_DIGITAL_PINS            85
34
-#elif MOTHERBOARD == BOARD_MIGHTYBOARD_REVE
34
+#elif MB(MIGHTYBOARD_REVE)
35
   #define NUM_DIGITAL_PINS            80
35
   #define NUM_DIGITAL_PINS            80
36
-#elif MOTHERBOARD == BOARD_MINIRAMBO
36
+#elif MB(MINIRAMBO)
37
   #define NUM_DIGITAL_PINS            85
37
   #define NUM_DIGITAL_PINS            85
38
-#elif MOTHERBOARD == BOARD_SCOOVO_X9H
38
+#elif MB(SCOOVO_X9H)
39
   #define NUM_DIGITAL_PINS            85
39
   #define NUM_DIGITAL_PINS            85
40
 #endif
40
 #endif
41
 
41
 

+ 94
- 0
Marlin/pins_SILVER_GATE.h View File

1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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 <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+
23
+#if !defined(__AVR_ATmega1281__) && !defined(__AVR_ATmega2561__) 
24
+  #error Oops!  Make sure you have 'Silvergate' selected from the 'Tools -> Boards' menu.
25
+#endif
26
+
27
+#ifndef BOARD_NAME
28
+  #define BOARD_NAME "Silver Gate"
29
+#endif
30
+
31
+#define LARGE_FLASH true
32
+
33
+#define X_STEP_PIN         43
34
+#define X_DIR_PIN          44
35
+#define X_ENABLE_PIN       42
36
+#define X_MIN_PIN          31
37
+#define X_MAX_PIN          34
38
+
39
+#define Y_STEP_PIN         40
40
+#define Y_DIR_PIN          41
41
+#define Y_ENABLE_PIN       39
42
+#define Y_MIN_PIN          32
43
+#define Y_MAX_PIN          35
44
+
45
+#define Z_STEP_PIN         13
46
+#define Z_DIR_PIN          38
47
+#define Z_ENABLE_PIN       14
48
+#define Z_MIN_PIN          33
49
+#define Z_MAX_PIN          36
50
+
51
+#define E0_STEP_PIN        27
52
+#define E0_DIR_PIN         37
53
+#define E0_ENABLE_PIN      45
54
+
55
+#define SDSS               16
56
+
57
+#ifndef FIL_RUNOUT_PIN
58
+  #define FIL_RUNOUT_PIN   34   // X_MAX unless overridden
59
+#endif
60
+
61
+#define FAN_PIN             5
62
+
63
+#define HEATER_0_PIN        7
64
+
65
+#define E0_AUTO_FAN_PIN     3
66
+#define CONTROLLER_FAN_PIN  2
67
+
68
+#define TEMP_0_PIN          7   // Analog Input
69
+
70
+#define HEATER_BED_PIN      8
71
+#define TEMP_BED_PIN        6
72
+
73
+#if ENABLED(DOGLCD)
74
+  #if ENABLED(U8GLIB_ST7920)    // SPI GLCD 12864 ST7920 
75
+    #define LCD_PINS_RS    30
76
+    #define LCD_PINS_ENABLE 20
77
+    #define LCD_PINS_D4    25
78
+    #define BEEPER_PIN     29
79
+    #define BTN_EN1        19
80
+    #define BTN_EN2        22
81
+    #define BTN_ENC        24
82
+    #define LCD_BACKLIGHT_PIN  6
83
+    #if ENABLED(SILVER_GATE_GLCD_CONTROLLER) 
84
+      #define KILL_PIN     21
85
+      #define HOME_PIN     28
86
+    #endif
87
+  #endif
88
+#endif
89
+
90
+#define SD_DETECT_PIN      15
91
+ 
92
+#define STAT_LED_RED_PIN   23
93
+#define STAT_LED_BLUE_PIN  26
94
+#define CASE_LIGHT_PIN     51

+ 3
- 3
Marlin/ultralcd_st7565_u8glib_VIKI.h View File

52
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
52
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
53
   #define CPU_ST7565_DELAY_2 DELAY_0_NOP
53
   #define CPU_ST7565_DELAY_2 DELAY_0_NOP
54
   #define CPU_ST7565_DELAY_3 DELAY_1_NOP
54
   #define CPU_ST7565_DELAY_3 DELAY_1_NOP
55
-#elif (MOTHERBOARD == BOARD_3DRAG) || (MOTHERBOARD == BOARD_K8200) || (MOTHERBOARD == BOARD_K8400)
55
+#elif MB(3DRAG) || MB(K8200) || MB(K8400)
56
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
56
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
57
   #define CPU_ST7565_DELAY_2 DELAY_3_NOP
57
   #define CPU_ST7565_DELAY_2 DELAY_3_NOP
58
   #define CPU_ST7565_DELAY_3 DELAY_0_NOP
58
   #define CPU_ST7565_DELAY_3 DELAY_0_NOP
59
-#elif (MOTHERBOARD == BOARD_MINIRAMBO)
59
+#elif MB(MINIRAMBO)
60
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
60
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
61
   #define CPU_ST7565_DELAY_2 DELAY_4_NOP
61
   #define CPU_ST7565_DELAY_2 DELAY_4_NOP
62
   #define CPU_ST7565_DELAY_3 DELAY_0_NOP
62
   #define CPU_ST7565_DELAY_3 DELAY_0_NOP
63
-#elif (MOTHERBOARD == BOARD_RAMBO)
63
+#elif MB(RAMBO)
64
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
64
   #define CPU_ST7565_DELAY_1 DELAY_0_NOP
65
   #define CPU_ST7565_DELAY_2 DELAY_0_NOP
65
   #define CPU_ST7565_DELAY_2 DELAY_0_NOP
66
   #define CPU_ST7565_DELAY_3 DELAY_0_NOP
66
   #define CPU_ST7565_DELAY_3 DELAY_0_NOP

+ 3
- 3
Marlin/ultralcd_st7920_u8glib_rrd.h View File

48
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
48
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
49
   #define CPU_ST7920_DELAY_2 DELAY_0_NOP
49
   #define CPU_ST7920_DELAY_2 DELAY_0_NOP
50
   #define CPU_ST7920_DELAY_3 DELAY_1_NOP
50
   #define CPU_ST7920_DELAY_3 DELAY_1_NOP
51
-#elif (MOTHERBOARD == BOARD_3DRAG) || (MOTHERBOARD == BOARD_K8200) || (MOTHERBOARD == BOARD_K8400)
51
+#elif MB(3DRAG) || MB(K8200) || MB(K8400) || MB(SILVER_GATE)
52
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
52
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
53
   #define CPU_ST7920_DELAY_2 DELAY_3_NOP
53
   #define CPU_ST7920_DELAY_2 DELAY_3_NOP
54
   #define CPU_ST7920_DELAY_3 DELAY_0_NOP
54
   #define CPU_ST7920_DELAY_3 DELAY_0_NOP
55
-#elif (MOTHERBOARD == BOARD_MINIRAMBO)
55
+#elif MB(MINIRAMBO)
56
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
56
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
57
   #define CPU_ST7920_DELAY_2 DELAY_4_NOP
57
   #define CPU_ST7920_DELAY_2 DELAY_4_NOP
58
   #define CPU_ST7920_DELAY_3 DELAY_0_NOP
58
   #define CPU_ST7920_DELAY_3 DELAY_0_NOP
59
-#elif (MOTHERBOARD == BOARD_RAMBO)
59
+#elif MB(RAMBO)
60
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
60
   #define CPU_ST7920_DELAY_1 DELAY_0_NOP
61
   #define CPU_ST7920_DELAY_2 DELAY_0_NOP
61
   #define CPU_ST7920_DELAY_2 DELAY_0_NOP
62
   #define CPU_ST7920_DELAY_3 DELAY_0_NOP
62
   #define CPU_ST7920_DELAY_3 DELAY_0_NOP

Loading…
Cancel
Save