浏览代码

Update Watchdog description

Scott Lahteine 6 年前
父节点
当前提交
9ccbd382e7
共有 76 个文件被更改,包括 677 次插入452 次删除
  1. 9
    6
      Marlin/Configuration_adv.h
  2. 2
    2
      Marlin/src/HAL/HAL_AVR/watchdog_AVR.cpp
  3. 9
    6
      config/default/Configuration_adv.h
  4. 9
    6
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  5. 9
    6
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  6. 9
    6
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  7. 9
    6
      config/examples/Anet/A2/Configuration_adv.h
  8. 9
    6
      config/examples/Anet/A2plus/Configuration_adv.h
  9. 9
    6
      config/examples/Anet/A6/Configuration_adv.h
  10. 9
    6
      config/examples/Anet/A8/Configuration_adv.h
  11. 9
    6
      config/examples/AnyCubic/i3/Configuration_adv.h
  12. 9
    6
      config/examples/ArmEd/Configuration_adv.h
  13. 9
    6
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  14. 9
    6
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  15. 9
    6
      config/examples/BQ/Hephestos/Configuration_adv.h
  16. 9
    6
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  17. 9
    6
      config/examples/BQ/WITBOX/Configuration_adv.h
  18. 9
    6
      config/examples/Cartesio/Configuration_adv.h
  19. 9
    6
      config/examples/Creality/CR-10/Configuration_adv.h
  20. 9
    6
      config/examples/Creality/CR-10S/Configuration_adv.h
  21. 9
    6
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  22. 9
    6
      config/examples/Creality/CR-10mini/Configuration_adv.h
  23. 9
    6
      config/examples/Creality/CR-8/Configuration_adv.h
  24. 9
    6
      config/examples/Creality/Ender-2/Configuration_adv.h
  25. 9
    6
      config/examples/Creality/Ender-3/Configuration_adv.h
  26. 9
    6
      config/examples/Creality/Ender-4/Configuration_adv.h
  27. 9
    6
      config/examples/Einstart-S/Configuration_adv.h
  28. 9
    6
      config/examples/Felix/Configuration_adv.h
  29. 9
    6
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  30. 9
    6
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  31. 9
    6
      config/examples/Formbot/Raptor/Configuration_adv.h
  32. 9
    6
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  33. 9
    6
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  34. 9
    6
      config/examples/Geeetech/A10M/Configuration_adv.h
  35. 9
    6
      config/examples/Geeetech/A20M/Configuration_adv.h
  36. 9
    6
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  37. 9
    6
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  38. 9
    6
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  39. 9
    6
      config/examples/Infitary/i3-M508/Configuration_adv.h
  40. 9
    6
      config/examples/JGAurora/A5/Configuration_adv.h
  41. 9
    6
      config/examples/MakerParts/Configuration_adv.h
  42. 9
    6
      config/examples/Malyan/M150/Configuration_adv.h
  43. 9
    6
      config/examples/Malyan/M200/Configuration_adv.h
  44. 9
    6
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  45. 9
    6
      config/examples/Mks/Robin/Configuration_adv.h
  46. 9
    6
      config/examples/Mks/Sbase/Configuration_adv.h
  47. 9
    6
      config/examples/RapideLite/RL200/Configuration_adv.h
  48. 9
    6
      config/examples/RigidBot/Configuration_adv.h
  49. 9
    6
      config/examples/SCARA/Configuration_adv.h
  50. 9
    6
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  51. 9
    6
      config/examples/Sanguinololu/Configuration_adv.h
  52. 9
    6
      config/examples/TheBorg/Configuration_adv.h
  53. 9
    6
      config/examples/TinyBoy2/Configuration_adv.h
  54. 9
    6
      config/examples/Tronxy/X3A/Configuration_adv.h
  55. 9
    6
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  56. 9
    6
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  57. 9
    6
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  58. 9
    6
      config/examples/VORONDesign/Configuration_adv.h
  59. 9
    6
      config/examples/Velleman/K8200/Configuration_adv.h
  60. 9
    6
      config/examples/Velleman/K8400/Configuration_adv.h
  61. 9
    6
      config/examples/WASP/PowerWASP/Configuration_adv.h
  62. 9
    6
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  63. 9
    6
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  64. 9
    6
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  65. 9
    6
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  66. 9
    6
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  67. 9
    6
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  68. 9
    6
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  69. 9
    6
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  70. 9
    6
      config/examples/delta/generic/Configuration_adv.h
  71. 9
    6
      config/examples/delta/kossel_mini/Configuration_adv.h
  72. 9
    6
      config/examples/delta/kossel_xl/Configuration_adv.h
  73. 9
    6
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  74. 9
    6
      config/examples/makibox/Configuration_adv.h
  75. 9
    6
      config/examples/tvrrug/Round2/Configuration_adv.h
  76. 9
    6
      config/examples/wt150/Configuration_adv.h

+ 9
- 6
Marlin/Configuration_adv.h 查看文件

@@ -1004,14 +1004,17 @@
1004 1004
 
1005 1005
 // @section safety
1006 1006
 
1007
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1008
-// in case the firmware gets stuck and doesn't do temperature regulation.
1007
+/**
1008
+ * The watchdog hardware timer will do a reset and disable all outputs
1009
+ * if the firmware gets too overloaded to read the temperature sensors.
1010
+ *
1011
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1012
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1013
+ * NOTE: This method is less reliable as it can only catch hangups while
1014
+ * interrupts are enabled.
1015
+ */
1009 1016
 #define USE_WATCHDOG
1010
-
1011 1017
 #if ENABLED(USE_WATCHDOG)
1012
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1013
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1014
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1015 1018
   //#define WATCHDOG_RESET_MANUAL
1016 1019
 #endif
1017 1020
 

+ 2
- 2
Marlin/src/HAL/HAL_AVR/watchdog_AVR.cpp 查看文件

@@ -38,7 +38,7 @@ void watchdog_init() {
38 38
     #define WDTO_NS WDTO_4S
39 39
   #endif
40 40
   #if ENABLED(WATCHDOG_RESET_MANUAL)
41
-    // We enable the watchdog timer, but only for the interrupt.
41
+    // Enable the watchdog timer, but only for the interrupt.
42 42
     // Take care, as this requires the correct order of operation, with interrupts disabled.
43 43
     // See the datasheet of any AVR chip for details.
44 44
     wdt_reset();
@@ -65,7 +65,7 @@ void watchdog_init() {
65 65
     SERIAL_ERROR_MSG(MSG_WATCHDOG_FIRED);
66 66
     minkill();  // interrupt-safe final kill and infinite loop
67 67
   }
68
-#endif // WATCHDOG_RESET_MANUAL
68
+#endif
69 69
 
70 70
 #endif // USE_WATCHDOG
71 71
 #endif // __AVR__

+ 9
- 6
config/default/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/3DFabXYZ/Migbot/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/AlephObjects/TAZ4/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/AliExpress/UM2pExt/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Anet/A2/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Anet/A2plus/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Anet/A6/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Anet/A8/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/AnyCubic/i3/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/ArmEd/Configuration_adv.h 查看文件

@@ -1010,14 +1010,17 @@
1010 1010
 
1011 1011
 // @section safety
1012 1012
 
1013
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1014
-// in case the firmware gets stuck and doesn't do temperature regulation.
1013
+/**
1014
+ * The watchdog hardware timer will do a reset and disable all outputs
1015
+ * if the firmware gets too overloaded to read the temperature sensors.
1016
+ *
1017
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1018
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1019
+ * NOTE: This method is less reliable as it can only catch hangups while
1020
+ * interrupts are enabled.
1021
+ */
1015 1022
 #define USE_WATCHDOG
1016
-
1017 1023
 #if ENABLED(USE_WATCHDOG)
1018
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1019
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1020
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1021 1024
   //#define WATCHDOG_RESET_MANUAL
1022 1025
 #endif
1023 1026
 

+ 9
- 6
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/BIBO/TouchX/default/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/BQ/Hephestos/Configuration_adv.h 查看文件

@@ -1003,14 +1003,17 @@
1003 1003
 
1004 1004
 // @section safety
1005 1005
 
1006
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1007
-// in case the firmware gets stuck and doesn't do temperature regulation.
1006
+/**
1007
+ * The watchdog hardware timer will do a reset and disable all outputs
1008
+ * if the firmware gets too overloaded to read the temperature sensors.
1009
+ *
1010
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1011
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1012
+ * NOTE: This method is less reliable as it can only catch hangups while
1013
+ * interrupts are enabled.
1014
+ */
1008 1015
 #define USE_WATCHDOG
1009
-
1010 1016
 #if ENABLED(USE_WATCHDOG)
1011
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1012
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1013
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1014 1017
   //#define WATCHDOG_RESET_MANUAL
1015 1018
 #endif
1016 1019
 

+ 9
- 6
config/examples/BQ/Hephestos_2/Configuration_adv.h 查看文件

@@ -1011,14 +1011,17 @@
1011 1011
 
1012 1012
 // @section safety
1013 1013
 
1014
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1015
-// in case the firmware gets stuck and doesn't do temperature regulation.
1014
+/**
1015
+ * The watchdog hardware timer will do a reset and disable all outputs
1016
+ * if the firmware gets too overloaded to read the temperature sensors.
1017
+ *
1018
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1019
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1020
+ * NOTE: This method is less reliable as it can only catch hangups while
1021
+ * interrupts are enabled.
1022
+ */
1016 1023
 #define USE_WATCHDOG
1017
-
1018 1024
 #if ENABLED(USE_WATCHDOG)
1019
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1020
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1021
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1022 1025
   //#define WATCHDOG_RESET_MANUAL
1023 1026
 #endif
1024 1027
 

+ 9
- 6
config/examples/BQ/WITBOX/Configuration_adv.h 查看文件

@@ -1003,14 +1003,17 @@
1003 1003
 
1004 1004
 // @section safety
1005 1005
 
1006
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1007
-// in case the firmware gets stuck and doesn't do temperature regulation.
1006
+/**
1007
+ * The watchdog hardware timer will do a reset and disable all outputs
1008
+ * if the firmware gets too overloaded to read the temperature sensors.
1009
+ *
1010
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1011
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1012
+ * NOTE: This method is less reliable as it can only catch hangups while
1013
+ * interrupts are enabled.
1014
+ */
1008 1015
 #define USE_WATCHDOG
1009
-
1010 1016
 #if ENABLED(USE_WATCHDOG)
1011
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1012
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1013
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1014 1017
   //#define WATCHDOG_RESET_MANUAL
1015 1018
 #endif
1016 1019
 

+ 9
- 6
config/examples/Cartesio/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Creality/CR-10/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Creality/CR-10S/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Creality/CR-10_5S/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Creality/CR-10mini/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Creality/CR-8/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Creality/Ender-2/Configuration_adv.h 查看文件

@@ -1003,14 +1003,17 @@
1003 1003
 
1004 1004
 // @section safety
1005 1005
 
1006
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1007
-// in case the firmware gets stuck and doesn't do temperature regulation.
1006
+/**
1007
+ * The watchdog hardware timer will do a reset and disable all outputs
1008
+ * if the firmware gets too overloaded to read the temperature sensors.
1009
+ *
1010
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1011
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1012
+ * NOTE: This method is less reliable as it can only catch hangups while
1013
+ * interrupts are enabled.
1014
+ */
1008 1015
 #define USE_WATCHDOG
1009
-
1010 1016
 #if ENABLED(USE_WATCHDOG)
1011
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1012
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1013
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1014 1017
   //#define WATCHDOG_RESET_MANUAL
1015 1018
 #endif
1016 1019
 

+ 9
- 6
config/examples/Creality/Ender-3/Configuration_adv.h 查看文件

@@ -1003,14 +1003,17 @@
1003 1003
 
1004 1004
 // @section safety
1005 1005
 
1006
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1007
-// in case the firmware gets stuck and doesn't do temperature regulation.
1006
+/**
1007
+ * The watchdog hardware timer will do a reset and disable all outputs
1008
+ * if the firmware gets too overloaded to read the temperature sensors.
1009
+ *
1010
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1011
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1012
+ * NOTE: This method is less reliable as it can only catch hangups while
1013
+ * interrupts are enabled.
1014
+ */
1008 1015
 #define USE_WATCHDOG
1009
-
1010 1016
 #if ENABLED(USE_WATCHDOG)
1011
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1012
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1013
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1014 1017
   //#define WATCHDOG_RESET_MANUAL
1015 1018
 #endif
1016 1019
 

+ 9
- 6
config/examples/Creality/Ender-4/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Einstart-S/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Felix/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/FlashForge/CreatorPro/Configuration_adv.h 查看文件

@@ -1002,14 +1002,17 @@
1002 1002
 
1003 1003
 // @section safety
1004 1004
 
1005
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1006
-// in case the firmware gets stuck and doesn't do temperature regulation.
1005
+/**
1006
+ * The watchdog hardware timer will do a reset and disable all outputs
1007
+ * if the firmware gets too overloaded to read the temperature sensors.
1008
+ *
1009
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1010
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1011
+ * NOTE: This method is less reliable as it can only catch hangups while
1012
+ * interrupts are enabled.
1013
+ */
1007 1014
 #define USE_WATCHDOG
1008
-
1009 1015
 #if ENABLED(USE_WATCHDOG)
1010
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1011
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1012
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1013 1016
   //#define WATCHDOG_RESET_MANUAL
1014 1017
 #endif
1015 1018
 

+ 9
- 6
config/examples/FolgerTech/i3-2020/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Formbot/Raptor/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Formbot/T_Rex_2+/Configuration_adv.h 查看文件

@@ -1010,14 +1010,17 @@
1010 1010
 
1011 1011
 // @section safety
1012 1012
 
1013
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1014
-// in case the firmware gets stuck and doesn't do temperature regulation.
1013
+/**
1014
+ * The watchdog hardware timer will do a reset and disable all outputs
1015
+ * if the firmware gets too overloaded to read the temperature sensors.
1016
+ *
1017
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1018
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1019
+ * NOTE: This method is less reliable as it can only catch hangups while
1020
+ * interrupts are enabled.
1021
+ */
1015 1022
 #define USE_WATCHDOG
1016
-
1017 1023
 #if ENABLED(USE_WATCHDOG)
1018
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1019
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1020
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1021 1024
   //#define WATCHDOG_RESET_MANUAL
1022 1025
 #endif
1023 1026
 

+ 9
- 6
config/examples/Formbot/T_Rex_3/Configuration_adv.h 查看文件

@@ -1010,14 +1010,17 @@
1010 1010
 
1011 1011
 // @section safety
1012 1012
 
1013
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1014
-// in case the firmware gets stuck and doesn't do temperature regulation.
1013
+/**
1014
+ * The watchdog hardware timer will do a reset and disable all outputs
1015
+ * if the firmware gets too overloaded to read the temperature sensors.
1016
+ *
1017
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1018
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1019
+ * NOTE: This method is less reliable as it can only catch hangups while
1020
+ * interrupts are enabled.
1021
+ */
1015 1022
 #define USE_WATCHDOG
1016
-
1017 1023
 #if ENABLED(USE_WATCHDOG)
1018
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1019
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1020
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1021 1024
   //#define WATCHDOG_RESET_MANUAL
1022 1025
 #endif
1023 1026
 

+ 9
- 6
config/examples/Geeetech/A10M/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Geeetech/A20M/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Geeetech/MeCreator2/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Infitary/i3-M508/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/JGAurora/A5/Configuration_adv.h 查看文件

@@ -1003,14 +1003,17 @@
1003 1003
 
1004 1004
 // @section safety
1005 1005
 
1006
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1007
-// in case the firmware gets stuck and doesn't do temperature regulation.
1006
+/**
1007
+ * The watchdog hardware timer will do a reset and disable all outputs
1008
+ * if the firmware gets too overloaded to read the temperature sensors.
1009
+ *
1010
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1011
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1012
+ * NOTE: This method is less reliable as it can only catch hangups while
1013
+ * interrupts are enabled.
1014
+ */
1008 1015
 #define USE_WATCHDOG
1009
-
1010 1016
 #if ENABLED(USE_WATCHDOG)
1011
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1012
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1013
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1014 1017
   //#define WATCHDOG_RESET_MANUAL
1015 1018
 #endif
1016 1019
 

+ 9
- 6
config/examples/MakerParts/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Malyan/M150/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Malyan/M200/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Micromake/C1/enhanced/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Mks/Robin/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Mks/Sbase/Configuration_adv.h 查看文件

@@ -1007,14 +1007,17 @@
1007 1007
 
1008 1008
 // @section safety
1009 1009
 
1010
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1011
-// in case the firmware gets stuck and doesn't do temperature regulation.
1010
+/**
1011
+ * The watchdog hardware timer will do a reset and disable all outputs
1012
+ * if the firmware gets too overloaded to read the temperature sensors.
1013
+ *
1014
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1015
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1016
+ * NOTE: This method is less reliable as it can only catch hangups while
1017
+ * interrupts are enabled.
1018
+ */
1012 1019
 #define USE_WATCHDOG
1013
-
1014 1020
 #if ENABLED(USE_WATCHDOG)
1015
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1016
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1017
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1018 1021
   //#define WATCHDOG_RESET_MANUAL
1019 1022
 #endif
1020 1023
 

+ 9
- 6
config/examples/RapideLite/RL200/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/RigidBot/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/SCARA/Configuration_adv.h 查看文件

@@ -1003,14 +1003,17 @@
1003 1003
 
1004 1004
 // @section safety
1005 1005
 
1006
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1007
-// in case the firmware gets stuck and doesn't do temperature regulation.
1006
+/**
1007
+ * The watchdog hardware timer will do a reset and disable all outputs
1008
+ * if the firmware gets too overloaded to read the temperature sensors.
1009
+ *
1010
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1011
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1012
+ * NOTE: This method is less reliable as it can only catch hangups while
1013
+ * interrupts are enabled.
1014
+ */
1008 1015
 #define USE_WATCHDOG
1009
-
1010 1016
 #if ENABLED(USE_WATCHDOG)
1011
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1012
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1013
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1014 1017
   //#define WATCHDOG_RESET_MANUAL
1015 1018
 #endif
1016 1019
 

+ 9
- 6
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h 查看文件

@@ -998,14 +998,17 @@
998 998
 
999 999
 // @section safety
1000 1000
 
1001
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1002
-// in case the firmware gets stuck and doesn't do temperature regulation.
1001
+/**
1002
+ * The watchdog hardware timer will do a reset and disable all outputs
1003
+ * if the firmware gets too overloaded to read the temperature sensors.
1004
+ *
1005
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1006
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1007
+ * NOTE: This method is less reliable as it can only catch hangups while
1008
+ * interrupts are enabled.
1009
+ */
1003 1010
 #define USE_WATCHDOG
1004
-
1005 1011
 #if ENABLED(USE_WATCHDOG)
1006
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1007
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1008
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1009 1012
   //#define WATCHDOG_RESET_MANUAL
1010 1013
 #endif
1011 1014
 

+ 9
- 6
config/examples/Sanguinololu/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/TheBorg/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 //#define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/TinyBoy2/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Tronxy/X3A/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Tronxy/X5S-2E/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/UltiMachine/Archim1/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/UltiMachine/Archim2/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 //#define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/VORONDesign/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Velleman/K8200/Configuration_adv.h 查看文件

@@ -1019,14 +1019,17 @@
1019 1019
 
1020 1020
 // @section safety
1021 1021
 
1022
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1023
-// in case the firmware gets stuck and doesn't do temperature regulation.
1022
+/**
1023
+ * The watchdog hardware timer will do a reset and disable all outputs
1024
+ * if the firmware gets too overloaded to read the temperature sensors.
1025
+ *
1026
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1027
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1028
+ * NOTE: This method is less reliable as it can only catch hangups while
1029
+ * interrupts are enabled.
1030
+ */
1024 1031
 #define USE_WATCHDOG
1025
-
1026 1032
 #if ENABLED(USE_WATCHDOG)
1027
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1028
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1029
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1030 1033
   //#define WATCHDOG_RESET_MANUAL
1031 1034
 #endif
1032 1035
 

+ 9
- 6
config/examples/Velleman/K8400/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/WASP/PowerWASP/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/Wanhao/Duplicator 6/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/Anycubic/Kossel/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/FLSUN/kossel/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/MKS/SBASE/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/Tevo Little Monster/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/generic/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/delta/kossel_mini/Configuration_adv.h 查看文件

@@ -1004,14 +1004,17 @@
1004 1004
 
1005 1005
 // @section safety
1006 1006
 
1007
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1008
-// in case the firmware gets stuck and doesn't do temperature regulation.
1007
+/**
1008
+ * The watchdog hardware timer will do a reset and disable all outputs
1009
+ * if the firmware gets too overloaded to read the temperature sensors.
1010
+ *
1011
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1012
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1013
+ * NOTE: This method is less reliable as it can only catch hangups while
1014
+ * interrupts are enabled.
1015
+ */
1009 1016
 #define USE_WATCHDOG
1010
-
1011 1017
 #if ENABLED(USE_WATCHDOG)
1012
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1013
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1014
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1015 1018
   //#define WATCHDOG_RESET_MANUAL
1016 1019
 #endif
1017 1020
 

+ 9
- 6
config/examples/delta/kossel_xl/Configuration_adv.h 查看文件

@@ -1005,14 +1005,17 @@
1005 1005
 
1006 1006
 // @section safety
1007 1007
 
1008
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1009
-// in case the firmware gets stuck and doesn't do temperature regulation.
1008
+/**
1009
+ * The watchdog hardware timer will do a reset and disable all outputs
1010
+ * if the firmware gets too overloaded to read the temperature sensors.
1011
+ *
1012
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1013
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1014
+ * NOTE: This method is less reliable as it can only catch hangups while
1015
+ * interrupts are enabled.
1016
+ */
1010 1017
 #define USE_WATCHDOG
1011
-
1012 1018
 #if ENABLED(USE_WATCHDOG)
1013
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1014
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1015
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1016 1019
   //#define WATCHDOG_RESET_MANUAL
1017 1020
 #endif
1018 1021
 

+ 9
- 6
config/examples/gCreate/gMax1.5+/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/makibox/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/tvrrug/Round2/Configuration_adv.h 查看文件

@@ -1006,14 +1006,17 @@
1006 1006
 
1007 1007
 // @section safety
1008 1008
 
1009
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1010
-// in case the firmware gets stuck and doesn't do temperature regulation.
1009
+/**
1010
+ * The watchdog hardware timer will do a reset and disable all outputs
1011
+ * if the firmware gets too overloaded to read the temperature sensors.
1012
+ *
1013
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1014
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1015
+ * NOTE: This method is less reliable as it can only catch hangups while
1016
+ * interrupts are enabled.
1017
+ */
1011 1018
 #define USE_WATCHDOG
1012
-
1013 1019
 #if ENABLED(USE_WATCHDOG)
1014
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1015
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1016
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1017 1020
   //#define WATCHDOG_RESET_MANUAL
1018 1021
 #endif
1019 1022
 

+ 9
- 6
config/examples/wt150/Configuration_adv.h 查看文件

@@ -1007,14 +1007,17 @@
1007 1007
 
1008 1008
 // @section safety
1009 1009
 
1010
-// The hardware watchdog should reset the microcontroller disabling all outputs,
1011
-// in case the firmware gets stuck and doesn't do temperature regulation.
1010
+/**
1011
+ * The watchdog hardware timer will do a reset and disable all outputs
1012
+ * if the firmware gets too overloaded to read the temperature sensors.
1013
+ *
1014
+ * If you find that watchdog reboot causes your AVR board to hang forever,
1015
+ * enable WATCHDOG_RESET_MANUAL to use a custom timer instead of WDTO.
1016
+ * NOTE: This method is less reliable as it can only catch hangups while
1017
+ * interrupts are enabled.
1018
+ */
1012 1019
 #define USE_WATCHDOG
1013
-
1014 1020
 #if ENABLED(USE_WATCHDOG)
1015
-  // If you have a watchdog reboot in an ArduinoMega2560 then the device will hang forever, as a watchdog reset will leave the watchdog on.
1016
-  // The "WATCHDOG_RESET_MANUAL" goes around this by not using the hardware reset.
1017
-  //  However, THIS FEATURE IS UNSAFE!, as it will only work if interrupts are disabled. And the code could hang in an interrupt routine with interrupts disabled.
1018 1021
   //#define WATCHDOG_RESET_MANUAL
1019 1022
 #endif
1020 1023
 

正在加载...
取消
保存