Safety and serial sections

This commit is contained in:
Scott Lahteine 2016-06-17 15:03:43 -07:00
parent fc56a547d1
commit eab44b30d4
17 changed files with 85 additions and 68 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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