Merge pull request #2120 from chris-bo/dogm_config
move dogm font selection to configuration_adv.h
This commit is contained in:
commit
9b8c6ed254
@ -315,6 +315,17 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,17 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -35,15 +35,11 @@
|
|||||||
#include "ultralcd_st7920_u8glib_rrd.h"
|
#include "ultralcd_st7920_u8glib_rrd.h"
|
||||||
#include "Configuration.h"
|
#include "Configuration.h"
|
||||||
|
|
||||||
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
#if !defined(MAPPER_C2C3) && !defined(MAPPER_NON) && defined(USE_BIG_EDIT_FONT)
|
||||||
// we don't have a big font for Cyrillic, Kana
|
#undef USE_BIG_EDIT_FONT
|
||||||
#if defined(MAPPER_C2C3) || defined(MAPPER_NON)
|
|
||||||
//#define USE_BIG_EDIT_FONT
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If you have spare 2300Byte of progmem and want to use a
|
|
||||||
// smaller font on the Info-screen uncomment the next line.
|
|
||||||
//#define USE_SMALL_INFOFONT
|
|
||||||
#ifdef USE_SMALL_INFOFONT
|
#ifdef USE_SMALL_INFOFONT
|
||||||
#include "dogm_font_data_6x9_marlin.h"
|
#include "dogm_font_data_6x9_marlin.h"
|
||||||
#define FONT_STATUSMENU_NAME u8g_font_6x9
|
#define FONT_STATUSMENU_NAME u8g_font_6x9
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -324,6 +324,17 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -324,6 +324,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
@ -323,6 +323,18 @@
|
|||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
|
||||||
|
// for dogm lcd displays you can choose some additional fonts:
|
||||||
|
#ifdef DOGLCD
|
||||||
|
// save 3120 bytes of PROGMEM by commenting out #define USE_BIG_EDIT_FONT
|
||||||
|
// we don't have a big font for Cyrillic, Kana
|
||||||
|
//#define USE_BIG_EDIT_FONT
|
||||||
|
|
||||||
|
// If you have spare 2300Byte of progmem and want to use a
|
||||||
|
// smaller font on the Info-screen uncomment the next line.
|
||||||
|
//#define USE_SMALL_INFOFONT
|
||||||
|
#endif // DOGLCD
|
||||||
|
|
||||||
|
|
||||||
// @section more
|
// @section more
|
||||||
|
|
||||||
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
|
||||||
|
Loading…
Reference in New Issue
Block a user