Browse Source

Merge branch 'Development' of https://github.com/MarlinFirmware/Marlin into _temp_error

AnHardt 10 years ago
parent
commit
4422365a53
38 changed files with 263 additions and 84 deletions
  1. 0
    3
      .travis.yml
  2. 7
    2
      Marlin/Conditionals.h
  3. 5
    0
      Marlin/Configuration.h
  4. 12
    1
      Marlin/Configuration_adv.h
  5. 0
    6
      Marlin/Makefile
  6. 3
    1
      Marlin/Marlin_main.cpp
  7. 0
    1
      Marlin/boards.h
  8. 5
    0
      Marlin/configurator/config/Configuration.h
  9. 12
    1
      Marlin/configurator/config/Configuration_adv.h
  10. 0
    1
      Marlin/configurator/config/boards.h
  11. 6
    7
      Marlin/dogm_lcd_implementation.h
  12. 5
    0
      Marlin/example_configurations/Felix/Configuration.h
  13. 13
    1
      Marlin/example_configurations/Felix/Configuration_adv.h
  14. 5
    0
      Marlin/example_configurations/Hephestos/Configuration.h
  15. 13
    1
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  16. 5
    0
      Marlin/example_configurations/K8200/Configuration.h
  17. 13
    1
      Marlin/example_configurations/K8200/Configuration_adv.h
  18. 5
    0
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  19. 5
    0
      Marlin/example_configurations/SCARA/Configuration.h
  20. 13
    1
      Marlin/example_configurations/SCARA/Configuration_adv.h
  21. 5
    0
      Marlin/example_configurations/WITBOX/Configuration.h
  22. 13
    1
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  23. 5
    0
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  24. 12
    1
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  25. 5
    0
      Marlin/example_configurations/delta/generic/Configuration.h
  26. 13
    1
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  27. 5
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  28. 13
    1
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  29. 5
    0
      Marlin/example_configurations/makibox/Configuration.h
  30. 13
    1
      Marlin/example_configurations/makibox/Configuration_adv.h
  31. 5
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  32. 13
    1
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  33. 2
    1
      Marlin/language.h
  34. 0
    2
      Marlin/pins.h
  35. 0
    43
      Marlin/pins_DUEMILANOVE_328P.h
  36. 11
    1
      Marlin/pins_RAMPS_13.h
  37. 2
    1
      Marlin/temperature.cpp
  38. 14
    3
      Marlin/ultralcd.cpp

+ 0
- 3
.travis.yml View File

@@ -161,6 +161,3 @@ script:
161 161
   #- rm -rf .build/
162 162
   #- ino build -m mega2560
163 163
   ######## Board Types #############
164
-  - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_13_EFB/#define MOTHERBOARD BOARD_DUEMILANOVE_328P/g' Marlin/Configuration.h
165
-  - rm -rf .build/
166
-  - ino build -m atmega328

+ 7
- 2
Marlin/Conditionals.h View File

@@ -22,15 +22,20 @@
22 22
     #define NEWPANEL
23 23
   #endif
24 24
 
25
-  #if defined(miniVIKI) || defined(VIKI2)
25
+  #if defined(miniVIKI) || defined(VIKI2) || defined(ELB_FULL_GRAPHIC_CONTROLLER)
26 26
     #define ULTRA_LCD  //general LCD support, also 16x2
27 27
     #define DOGLCD  // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)
28 28
     #define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
29 29
 
30 30
     #ifdef miniVIKI
31 31
       #define DEFAULT_LCD_CONTRAST 95
32
-    #else
32
+    #elif defined(VIKI2)
33 33
       #define DEFAULT_LCD_CONTRAST 40
34
+    #elif defined(ELB_FULL_GRAPHIC_CONTROLLER)
35
+      #define DEFAULT_LCD_CONTRAST 110
36
+      #define SDCARDDETECTINVERTED
37
+      #define SDSLOW
38
+      #define U8GLIB_LM6059_AF
34 39
     #endif
35 40
 
36 41
     #define ENCODER_PULSES_PER_STEP 4

+ 5
- 0
Marlin/Configuration.h View File

@@ -660,6 +660,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
660 660
 //#define VIKI2
661 661
 //#define miniVIKI
662 662
 
663
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
664
+//
665
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
666
+//#define ELB_FULL_GRAPHIC_CONTROLLER
667
+
663 668
 // The RepRapDiscount Smart Controller (white PCB)
664 669
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
665 670
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 12
- 1
Marlin/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -315,6 +315,17 @@
315 315
 
316 316
 #endif // SDSUPPORT
317 317
 
318
+// for dogm lcd displays you can choose some additional fonts:
319
+#ifdef DOGLCD
320
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
321
+  // we don't have a big font for Cyrillic, Kana
322
+  //#define USE_BIG_EDIT_FONT
323
+ 
324
+  // If you have spare 2300Byte of progmem and want to use a 
325
+  // smaller font on the Info-screen uncomment the next line.
326
+  //#define USE_SMALL_INFOFONT
327
+#endif // DOGLCD
328
+
318 329
 // @section more
319 330
 
320 331
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

+ 0
- 6
Marlin/Makefile View File

@@ -99,12 +99,6 @@ else ifeq  ($(HARDWARE_MOTHERBOARD),34)
99 99
 HARDWARE_VARIANT ?= arduino
100 100
 MCU              ?= atmega2560
101 101
 
102
-#Duemilanove w/ ATMega328P pin assignment
103
-else ifeq  ($(HARDWARE_MOTHERBOARD),4)
104
-HARDWARE_VARIANT ?= arduino
105
-HARDWARE_SUB_VARIANT ?= standard
106
-MCU              ?= atmega328p
107
-
108 102
 #Gen6
109 103
 else ifeq  ($(HARDWARE_MOTHERBOARD),5)
110 104
 HARDWARE_VARIANT ?= Gen6

+ 3
- 1
Marlin/Marlin_main.cpp View File

@@ -6374,7 +6374,9 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
6374 6374
 }
6375 6375
 
6376 6376
 void kill(const char *lcd_msg) {
6377
-  lcd_setalertstatuspgm(lcd_msg);
6377
+  #ifdef ULTRA_LCD
6378
+    lcd_setalertstatuspgm(lcd_msg);
6379
+  #endif
6378 6380
 
6379 6381
   cli(); // Stop interrupts
6380 6382
   disable_all_heaters();

+ 0
- 1
Marlin/boards.h View File

@@ -16,7 +16,6 @@
16 16
 #define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
17 17
 #define BOARD_RAMPS_13_SF       38   // RAMPS 1.3 / 1.4 (Power outputs: Spindle, Controller Fan)
18 18
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
19
-#define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
20 19
 #define BOARD_GEN6              5    // Gen6
21 20
 #define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
22 21
 #define BOARD_SANGUINOLOLU_11   6    // Sanguinololu < 1.2

+ 5
- 0
Marlin/configurator/config/Configuration.h View File

@@ -661,6 +661,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
661 661
 //#define VIKI2
662 662
 //#define miniVIKI
663 663
 
664
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
665
+//
666
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
667
+//#define ELB_FULL_GRAPHIC_CONTROLLER
668
+
664 669
 // The RepRapDiscount Smart Controller (white PCB)
665 670
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
666 671
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 12
- 1
Marlin/configurator/config/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,17 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
326 337
 // @section more
327 338
 
328 339
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

+ 0
- 1
Marlin/configurator/config/boards.h View File

@@ -15,7 +15,6 @@
15 15
 #define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
16 16
 #define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
17 17
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
18
-#define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
19 18
 #define BOARD_GEN6              5    // Gen6
20 19
 #define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
21 20
 #define BOARD_SANGUINOLOLU_11   6    // Sanguinololu < 1.2

+ 6
- 7
Marlin/dogm_lcd_implementation.h View File

@@ -35,15 +35,11 @@
35 35
 #include "ultralcd_st7920_u8glib_rrd.h"
36 36
 #include "Configuration.h"
37 37
 
38
-// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
39
-// we don't have a big font for Cyrillic, Kana
40
-#if defined(MAPPER_C2C3) || defined(MAPPER_NON)
41
-  //#define USE_BIG_EDIT_FONT
38
+#if !defined(MAPPER_C2C3) && !defined(MAPPER_NON) && defined(USE_BIG_EDIT_FONT)
39
+   #undef USE_BIG_EDIT_FONT
42 40
 #endif
43 41
 
44
-// If you have spare 2300Byte of progmem and want to use a 
45
-// smaller font on the Info-screen uncomment the next line.
46
-//#define USE_SMALL_INFOFONT
42
+
47 43
 #ifdef USE_SMALL_INFOFONT
48 44
   #include "dogm_font_data_6x9_marlin.h"
49 45
   #define FONT_STATUSMENU_NAME u8g_font_6x9
@@ -126,6 +122,9 @@
126 122
 #elif defined(VIKI2) || defined(miniVIKI)
127 123
   // Mini Viki and Viki 2.0 LCD, ST7565 controller as well
128 124
   U8GLIB_NHD_C12864 u8g(DOGLCD_CS, DOGLCD_A0);
125
+#elif defined(U8GLIB_LM6059_AF)
126
+  // Based on the Adafruit ST7565 (http://www.adafruit.com/products/250)
127
+  U8GLIB_LM6059 u8g(DOGLCD_CS, DOGLCD_A0);
129 128
 #else
130 129
   // for regular DOGM128 display with HW-SPI
131 130
   U8GLIB_DOGM128 u8g(DOGLCD_CS, DOGLCD_A0);  // HW-SPI Com: CS, A0

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

@@ -595,6 +595,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
595 595
 //#define VIKI2
596 596
 //#define miniVIKI
597 597
 
598
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
599
+//
600
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
601
+//#define ELB_FULL_GRAPHIC_CONTROLLER
602
+
598 603
 // The RepRapDiscount Smart Controller (white PCB)
599 604
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
600 605
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -615,6 +615,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
615 615
 //#define VIKI2
616 616
 //#define miniVIKI
617 617
 
618
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
619
+//
620
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
621
+//#define ELB_FULL_GRAPHIC_CONTROLLER
622
+
618 623
 // The RepRapDiscount Smart Controller (white PCB)
619 624
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
620 625
 #define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/Hephestos/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -678,6 +678,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
678 678
 //#define VIKI2
679 679
 //#define miniVIKI
680 680
 
681
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
682
+//
683
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
684
+//#define ELB_FULL_GRAPHIC_CONTROLLER
685
+
681 686
 // The RepRapDiscount Smart Controller (white PCB)
682 687
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
683 688
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/K8200/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -661,6 +661,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
661 661
 //#define VIKI2
662 662
 //#define miniVIKI
663 663
 
664
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
665
+//
666
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
667
+//#define ELB_FULL_GRAPHIC_CONTROLLER
668
+
664 669
 // The RepRapDiscount Smart Controller (white PCB)
665 670
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
666 671
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

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

@@ -646,6 +646,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
646 646
 //#define VIKI2
647 647
 //#define miniVIKI
648 648
 
649
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
650
+//
651
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
652
+//#define ELB_FULL_GRAPHIC_CONTROLLER
653
+
649 654
 // The RepRapDiscount Smart Controller (white PCB)
650 655
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
651 656
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -614,6 +614,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
614 614
 //#define VIKI2
615 615
 //#define miniVIKI
616 616
 
617
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
618
+//
619
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
620
+//#define ELB_FULL_GRAPHIC_CONTROLLER
621
+
617 622
 // The RepRapDiscount Smart Controller (white PCB)
618 623
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
619 624
 #define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/WITBOX/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -660,6 +660,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
660 660
 //#define VIKI2
661 661
 //#define miniVIKI
662 662
 
663
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
664
+//
665
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
666
+//#define ELB_FULL_GRAPHIC_CONTROLLER
667
+
663 668
 // The RepRapDiscount Smart Controller (white PCB)
664 669
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
665 670
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 12
- 1
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -324,6 +324,17 @@
324 324
 
325 325
 #endif // SDSUPPORT
326 326
 
327
+// for dogm lcd displays you can choose some additional fonts:
328
+#ifdef DOGLCD
329
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
330
+  // we don't have a big font for Cyrillic, Kana
331
+  //#define USE_BIG_EDIT_FONT
332
+ 
333
+  // If you have spare 2300Byte of progmem and want to use a 
334
+  // smaller font on the Info-screen uncomment the next line.
335
+  //#define USE_SMALL_INFOFONT
336
+#endif // DOGLCD
337
+
327 338
 // @section more
328 339
 
329 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -663,6 +663,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
663 663
 //#define VIKI2
664 664
 //#define miniVIKI
665 665
 
666
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
667
+//
668
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
669
+//#define ELB_FULL_GRAPHIC_CONTROLLER
670
+
666 671
 // The RepRapDiscount Smart Controller (white PCB)
667 672
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
668 673
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -324,6 +324,18 @@
324 324
 
325 325
 #endif // SDSUPPORT
326 326
 
327
+// for dogm lcd displays you can choose some additional fonts:
328
+#ifdef DOGLCD
329
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
330
+  // we don't have a big font for Cyrillic, Kana
331
+  //#define USE_BIG_EDIT_FONT
332
+ 
333
+  // If you have spare 2300Byte of progmem and want to use a 
334
+  // smaller font on the Info-screen uncomment the next line.
335
+  //#define USE_SMALL_INFOFONT
336
+#endif // DOGLCD
337
+
338
+
327 339
 // @section more
328 340
 
329 341
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -667,6 +667,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
667 667
 //#define VIKI2
668 668
 //#define miniVIKI
669 669
 
670
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
671
+//
672
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
673
+//#define ELB_FULL_GRAPHIC_CONTROLLER
674
+
670 675
 // The RepRapDiscount Smart Controller (white PCB)
671 676
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
672 677
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -614,6 +614,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
614 614
 //#define VIKI2
615 615
 //#define miniVIKI
616 616
 
617
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
618
+//
619
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
620
+//#define ELB_FULL_GRAPHIC_CONTROLLER
621
+
617 622
 // The RepRapDiscount Smart Controller (white PCB)
618 623
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
619 624
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

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

@@ -620,6 +620,11 @@ const bool Z_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the logic
620 620
 //#define VIKI2
621 621
 //#define miniVIKI
622 622
 
623
+// This is a new controller currently under development.  https://github.com/eboston/Adafruit-ST7565-Full-Graphic-Controller/
624
+//
625
+// ==> REMEMBER TO INSTALL U8glib to your ARDUINO library folder: http://code.google.com/p/u8glib/wiki/u8glib
626
+//#define ELB_FULL_GRAPHIC_CONTROLLER
627
+
623 628
 // The RepRapDiscount Smart Controller (white PCB)
624 629
 // http://reprap.org/wiki/RepRapDiscount_Smart_Controller
625 630
 //#define REPRAP_DISCOUNT_SMART_CONTROLLER

+ 13
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

@@ -23,7 +23,7 @@
23 23
 
24 24
   /**
25 25
    * Whenever an M104 or M109 increases the target temperature the firmware will wait for the
26
-   * WATCH_TEMP_PERIOD to transpire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
26
+   * WATCH_TEMP_PERIOD to expire, and if the temperature hasn't increased by WATCH_TEMP_INCREASE
27 27
    * degrees, the machine is halted, requiring a hard reset. This test restarts with any M104/M109,
28 28
    * but only if the current temperature is far enough below the target for a reliable test.
29 29
    */
@@ -323,6 +323,18 @@
323 323
 
324 324
 #endif // SDSUPPORT
325 325
 
326
+// for dogm lcd displays you can choose some additional fonts:
327
+#ifdef DOGLCD
328
+  // save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
329
+  // we don't have a big font for Cyrillic, Kana
330
+  //#define USE_BIG_EDIT_FONT
331
+ 
332
+  // If you have spare 2300Byte of progmem and want to use a 
333
+  // smaller font on the Info-screen uncomment the next line.
334
+  //#define USE_SMALL_INFOFONT
335
+#endif // DOGLCD
336
+
337
+
326 338
 // @section more
327 339
 
328 340
 // The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.

+ 2
- 1
Marlin/language.h View File

@@ -32,8 +32,8 @@
32 32
 // kana_utf Japanese
33 33
 // cn       Chinese
34 34
 
35
+// fallback if no language is set, don't change
35 36
 #ifndef LANGUAGE_INCLUDE
36
-  // pick your language from the list above
37 37
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
38 38
 #endif
39 39
 
@@ -53,6 +53,7 @@
53 53
   #define FIRMWARE_URL "http://3dprint.elettronicain.it/"
54 54
 #elif MB(K8200)
55 55
   #define MACHINE_NAME "K8200"
56
+  #define FIRMWARE_URL "https://github.com/CONSULitAS/Marlin-K8200"
56 57
 #elif MB(5DPRINT)
57 58
   #define MACHINE_NAME "Makibox"
58 59
 #elif MB(SAV_MKI)

+ 0
- 2
Marlin/pins.h View File

@@ -36,8 +36,6 @@
36 36
   #include "pins_RAMPS_OLD.h"
37 37
 #elif MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF)
38 38
   #include "pins_RAMPS_13.h"
39
-#elif MB(DUEMILANOVE_328P)
40
-  #include "pins_DUEMILANOVE_328P.h"
41 39
 #elif MB(GEN6)
42 40
   #include "pins_GEN6.h"
43 41
 #elif MB(GEN6_DELUXE)

+ 0
- 43
Marlin/pins_DUEMILANOVE_328P.h View File

@@ -1,43 +0,0 @@
1
-/**
2
- * Duemilanove w/ ATMega328P pin assignments
3
- */
4
-
5
-#ifndef __AVR_ATmega328P__
6
-  #error Oops!  Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.
7
-#endif
8
-
9
-#define X_STEP_PIN         19
10
-#define X_DIR_PIN          18
11
-#define X_ENABLE_PIN       -1
12
-#define X_STOP_PIN         17
13
-
14
-#define Y_STEP_PIN         10
15
-#define Y_DIR_PIN           7
16
-#define Y_ENABLE_PIN       -1
17
-#define Y_STOP_PIN          8
18
-
19
-#define Z_STEP_PIN         13
20
-#define Z_DIR_PIN           3
21
-#define Z_ENABLE_PIN        2
22
-#define Z_STOP_PIN          4
23
-
24
-#define E0_STEP_PIN         11
25
-#define E0_DIR_PIN          12
26
-#define E0_ENABLE_PIN       -1
27
-
28
-#define SDPOWER          -1
29
-#define SDSS          -1
30
-#define LED_PIN            -1
31
-#define FAN_PIN             5
32
-#define PS_ON_PIN          -1
33
-#define KILL_PIN           -1
34
-
35
-#define HEATER_0_PIN        6
36
-#define HEATER_1_PIN        -1
37
-#define HEATER_2_PIN        -1
38
-#define TEMP_0_PIN          0    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
39
-#define TEMP_1_PIN          -1
40
-#define TEMP_2_PIN          -1
41
-#define HEATER_BED_PIN      -1
42
-#define TEMP_BED_PIN        -1
43
-

+ 11
- 1
Marlin/pins_RAMPS_13.h View File

@@ -180,6 +180,17 @@
180 180
       #define BTN_ENC -1
181 181
       #define LCD_SDSS 53
182 182
       #define SDCARDDETECT 49
183
+    #elif defined(ELB_FULL_GRAPHIC_CONTROLLER)
184
+      #define BTN_EN1 35  // reverse if the encoder turns the wrong way.
185
+      #define BTN_EN2 37
186
+      #define BTN_ENC 31
187
+      #define SDCARDDETECT 49
188
+      #define LCD_SDSS 53
189
+      #define KILL_PIN 41
190
+      #define BEEPER 23
191
+      #define DOGLCD_CS 29
192
+      #define DOGLCD_A0 27
193
+      #define LCD_PIN_BL 33
183 194
     #else
184 195
       // arduino pin which triggers an piezzo beeper
185 196
       #define BEEPER 33  // Beeper on AUX-4
@@ -209,7 +220,6 @@
209 220
       #endif
210 221
 
211 222
     #endif
212
-
213 223
   #else // Old-style panel with shift register
214 224
     // Arduino pin witch triggers an piezzo beeper
215 225
     #define BEEPER 33   // No Beeper added

+ 2
- 1
Marlin/temperature.cpp View File

@@ -312,7 +312,8 @@ void PID_autotune(float temp, int extruder, int ncycles)
312 312
         }
313 313
       } 
314 314
     }
315
-    if (input > temp + 20) {
315
+    #define MAX_OVERSHOOT_PID_AUTOTUNE 20
316
+    if (input > temp + MAX_OVERSHOOT_PID_AUTOTUNE) {
316 317
       SERIAL_PROTOCOLLNPGM(MSG_PID_TEMP_TOO_HIGH);
317 318
       return;
318 319
     }

+ 14
- 3
Marlin/ultralcd.cpp View File

@@ -1110,13 +1110,24 @@ static void lcd_control_volumetric_menu() {
1110 1110
 #ifdef HAS_LCD_CONTRAST
1111 1111
   static void lcd_set_contrast() {
1112 1112
     if (encoderPosition != 0) {
1113
-      lcd_contrast -= encoderPosition;
1114
-      lcd_contrast &= 0x3F;
1113
+      #ifdef U8GLIB_LM6059_AF
1114
+        lcd_contrast += encoderPosition;
1115
+        lcd_contrast &= 0xFF;
1116
+      #else
1117
+        lcd_contrast -= encoderPosition;
1118
+        lcd_contrast &= 0x3F;
1119
+      #endif
1115 1120
       encoderPosition = 0;
1116 1121
       lcdDrawUpdate = 1;
1117 1122
       u8g.setContrast(lcd_contrast);
1118 1123
     }
1119
-    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));
1124
+    if (lcdDrawUpdate) {
1125
+      #ifdef U8GLIB_LM6059_AF
1126
+        lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr3(lcd_contrast));
1127
+      #else
1128
+        lcd_implementation_drawedit(PSTR(MSG_CONTRAST), itostr2(lcd_contrast));
1129
+      #endif
1130
+    }
1120 1131
     if (LCD_CLICKED) lcd_goto_menu(lcd_control_menu);
1121 1132
   }
1122 1133
 #endif // HAS_LCD_CONTRAST

Loading…
Cancel
Save