From eab44b30d487999450f33bc0695e21d214a148f3 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 17 Jun 2016 15:03:43 -0700 Subject: [PATCH] Safety and serial sections --- Marlin/Configuration_adv.h | 9 +++++---- .../example_configurations/Cartesio/Configuration_adv.h | 9 +++++---- Marlin/example_configurations/Felix/Configuration_adv.h | 9 +++++---- .../example_configurations/Hephestos/Configuration_adv.h | 9 +++++---- .../Hephestos_2/Configuration_adv.h | 9 +++++---- Marlin/example_configurations/K8200/Configuration_adv.h | 9 +++++---- .../example_configurations/RigidBot/Configuration_adv.h | 9 +++++---- Marlin/example_configurations/SCARA/Configuration_adv.h | 9 +++++---- Marlin/example_configurations/TAZ4/Configuration_adv.h | 9 +++++---- Marlin/example_configurations/WITBOX/Configuration_adv.h | 9 +++++---- .../delta/biv2.5/Configuration_adv.h | 9 +++++---- .../delta/generic/Configuration_adv.h | 9 +++++---- .../delta/kossel_mini/Configuration_adv.h | 9 +++++---- .../delta/kossel_pro/Configuration_adv.h | 9 +++++---- .../delta/kossel_xl/Configuration_adv.h | 9 +++++---- .../example_configurations/makibox/Configuration_adv.h | 9 +++++---- .../tvrrug/Round2/Configuration_adv.h | 9 +++++---- 17 files changed, 85 insertions(+), 68 deletions(-) diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index db7cc55f5..d0fd22139 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/Cartesio/Configuration_adv.h b/Marlin/example_configurations/Cartesio/Configuration_adv.h index 7f61cf437..c69dc70f0 100644 --- a/Marlin/example_configurations/Cartesio/Configuration_adv.h +++ b/Marlin/example_configurations/Cartesio/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/Felix/Configuration_adv.h b/Marlin/example_configurations/Felix/Configuration_adv.h index d0df4f71e..1cdad67fa 100644 --- a/Marlin/example_configurations/Felix/Configuration_adv.h +++ b/Marlin/example_configurations/Felix/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/Hephestos/Configuration_adv.h b/Marlin/example_configurations/Hephestos/Configuration_adv.h index 11c6130a9..537c9f52d 100644 --- a/Marlin/example_configurations/Hephestos/Configuration_adv.h +++ b/Marlin/example_configurations/Hephestos/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/Hephestos_2/Configuration_adv.h b/Marlin/example_configurations/Hephestos_2/Configuration_adv.h index 33e50780d..f5dad62f8 100644 --- a/Marlin/example_configurations/Hephestos_2/Configuration_adv.h +++ b/Marlin/example_configurations/Hephestos_2/Configuration_adv.h @@ -417,9 +417,10 @@ #define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/K8200/Configuration_adv.h b/Marlin/example_configurations/K8200/Configuration_adv.h index e6bb3bb18..00f203d2a 100644 --- a/Marlin/example_configurations/K8200/Configuration_adv.h +++ b/Marlin/example_configurations/K8200/Configuration_adv.h @@ -423,9 +423,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -516,9 +517,9 @@ const unsigned int dropsegments = 2; //everything with less than this number of #define BLOCK_BUFFER_SIZE 32 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/RigidBot/Configuration_adv.h b/Marlin/example_configurations/RigidBot/Configuration_adv.h index daffc55c7..9f4ef31cb 100644 --- a/Marlin/example_configurations/RigidBot/Configuration_adv.h +++ b/Marlin/example_configurations/RigidBot/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 8 diff --git a/Marlin/example_configurations/SCARA/Configuration_adv.h b/Marlin/example_configurations/SCARA/Configuration_adv.h index a694aa5bb..add39fa3e 100644 --- a/Marlin/example_configurations/SCARA/Configuration_adv.h +++ b/Marlin/example_configurations/SCARA/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/TAZ4/Configuration_adv.h b/Marlin/example_configurations/TAZ4/Configuration_adv.h index 914644a6c..96e38bc6c 100644 --- a/Marlin/example_configurations/TAZ4/Configuration_adv.h +++ b/Marlin/example_configurations/TAZ4/Configuration_adv.h @@ -425,9 +425,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -518,9 +519,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/WITBOX/Configuration_adv.h b/Marlin/example_configurations/WITBOX/Configuration_adv.h index 11c6130a9..537c9f52d 100644 --- a/Marlin/example_configurations/WITBOX/Configuration_adv.h +++ b/Marlin/example_configurations/WITBOX/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/delta/biv2.5/Configuration_adv.h b/Marlin/example_configurations/delta/biv2.5/Configuration_adv.h index 72117ccbf..b90ca6a1c 100644 --- a/Marlin/example_configurations/delta/biv2.5/Configuration_adv.h +++ b/Marlin/example_configurations/delta/biv2.5/Configuration_adv.h @@ -419,9 +419,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/delta/generic/Configuration_adv.h b/Marlin/example_configurations/delta/generic/Configuration_adv.h index ffd33436b..bb3674b15 100644 --- a/Marlin/example_configurations/delta/generic/Configuration_adv.h +++ b/Marlin/example_configurations/delta/generic/Configuration_adv.h @@ -419,9 +419,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h b/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h index f182a71c5..cfd313dce 100644 --- a/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h +++ b/Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h @@ -418,9 +418,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -511,9 +512,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h b/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h index f4408f3db..221ddb16c 100644 --- a/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h +++ b/Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h @@ -423,9 +423,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -516,9 +517,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h b/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h index 4c629088a..7286e3a69 100644 --- a/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h +++ b/Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h @@ -419,9 +419,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/makibox/Configuration_adv.h b/Marlin/example_configurations/makibox/Configuration_adv.h index ffe73bc90..820d9d53e 100644 --- a/Marlin/example_configurations/makibox/Configuration_adv.h +++ b/Marlin/example_configurations/makibox/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4 diff --git a/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h b/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h index b94317331..fd96c8947 100644 --- a/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h +++ b/Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h @@ -417,9 +417,10 @@ //#define USE_SMALL_INFOFONT #endif // DOGLCD -// @section more +// @section safety -// 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. #define USE_WATCHDOG #if ENABLED(USE_WATCHDOG) @@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of #define BLOCK_BUFFER_SIZE 16 // maximize block buffer #endif -// @section more +// @section serial -//The ASCII buffer for receiving from the serial: +// The ASCII buffer for serial input #define MAX_CMD_SIZE 96 #define BUFSIZE 4