Skip to content

Commit

Permalink
Report sd card progress [FR] #9751 (#9832)
Browse files Browse the repository at this point in the history
* SD Status auto-report feature
Feature Request #9751
  • Loading branch information
TheSFReader authored and thinkyhead committed Feb 26, 2018
1 parent 7bdb98c commit eb07995
Show file tree
Hide file tree
Showing 50 changed files with 282 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/Marlin.cpp
Expand Up @@ -547,6 +547,10 @@ void idle(
}
#endif

#if ENABLED(AUTO_REPORT_SD_STATUS)
card.auto_report_sd_status();
#endif

#ifdef HAL_IDLETASK
HAL_idletask();
#endif
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/default/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Anet/A6/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Anet/A8/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
Expand Up @@ -1414,6 +1414,11 @@
*/
#define EXTENDED_CAPABILITIES_REPORT

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Disable all Volumetric extrusion options
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Cartesio/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
Expand Up @@ -1412,6 +1412,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Felix/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
//#define AUTO_REPORT_TEMPERATURES


/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS
/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/MakerParts/Configuration_adv.h
Expand Up @@ -1410,6 +1410,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
Expand Up @@ -1417,6 +1417,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/RigidBot/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/SCARA/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/TheBorg/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
Expand Up @@ -1422,6 +1422,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
5 changes: 5 additions & 0 deletions Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
Expand Up @@ -1409,6 +1409,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down
Expand Up @@ -1411,6 +1411,11 @@
*/
#define AUTO_REPORT_TEMPERATURES

/**
* Auto-report SdCard status with M27 S<seconds>
*/
//#define AUTO_REPORT_SD_STATUS

/**
* Include capabilities in M115 output
*/
Expand Down

0 comments on commit eb07995

Please sign in to comment.