From 64560eda4545e5bc65f257dffd666ece085345be Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Thu, 3 Jan 2013 15:29:39 +0100 Subject: [PATCH] config templates: bring in EECONFIG. Recently EEPROM storage was wrapped in #ifdefs, so, to get it back by default, we have to enable it. --- config.default.h | 9 +++++++++ config.gen3.h | 9 +++++++++ config.gen6.h | 9 +++++++++ config.gen7-v1.1-v1.3.h | 9 +++++++++ config.gen7-v1.4.h | 9 +++++++++ config.ramps-v1.2.h | 9 +++++++++ config.ramps-v1.3.h | 9 +++++++++ config.sanguinololu-v1.1.h | 9 +++++++++ config.sanguinololu-v1.2.h | 9 +++++++++ config.teensy.h | 9 +++++++++ 10 files changed, 90 insertions(+) diff --git a/config.default.h b/config.default.h index 6a085e8..d4e967c 100644 --- a/config.default.h +++ b/config.default.h @@ -403,6 +403,15 @@ DEFINE_HEATER(bed, PB4, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.gen3.h b/config.gen3.h index d8240ca..89195f6 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -407,6 +407,15 @@ DEFINE_TEMP_SENSOR(bed, TT_INTERCOM, AIO1, 0) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.gen6.h b/config.gen6.h index 7cbb1de..a5e9841 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -391,6 +391,15 @@ DEFINE_HEATER(extruder, PD6, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.gen7-v1.1-v1.3.h b/config.gen7-v1.1-v1.3.h index 37d556c..97acd27 100644 --- a/config.gen7-v1.1-v1.3.h +++ b/config.gen7-v1.1-v1.3.h @@ -402,6 +402,15 @@ DEFINE_HEATER(bed, DIO3, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.gen7-v1.4.h b/config.gen7-v1.4.h index 3cbfda0..01a8785 100644 --- a/config.gen7-v1.4.h +++ b/config.gen7-v1.4.h @@ -402,6 +402,15 @@ DEFINE_HEATER(bed, DIO3, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index 8e02df3..6582a42 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -400,6 +400,15 @@ DEFINE_HEATER(fan, PH6, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 2897991..928c023 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -402,6 +402,15 @@ DEFINE_HEATER(extruder, PB4, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.sanguinololu-v1.1.h b/config.sanguinololu-v1.1.h index c8c0986..0213f70 100644 --- a/config.sanguinololu-v1.1.h +++ b/config.sanguinololu-v1.1.h @@ -398,6 +398,15 @@ DEFINE_HEATER(bed, PD6, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.sanguinololu-v1.2.h b/config.sanguinololu-v1.2.h index a70712b..abba822 100644 --- a/config.sanguinololu-v1.2.h +++ b/config.sanguinololu-v1.2.h @@ -398,6 +398,15 @@ DEFINE_HEATER(bed, PD4, 1) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes. diff --git a/config.teensy.h b/config.teensy.h index a682d79..8f90610 100644 --- a/config.teensy.h +++ b/config.teensy.h @@ -457,6 +457,15 @@ DEFINE_HEATER(fan, DIO8, 0) * * \***************************************************************************/ +/** \def EECONFIG + EECONFIG: Enable EEPROM configuration storage. + + Enabled by default. Commenting this out makes the binary several hundred + bytes smaller, so you might want to disable EEPROM storage on small MCUs, + like the ATmega168. +*/ +#define EECONFIG + /** \def DEBUG DEBUG enables /heaps/ of extra output, and some extra M-codes.