diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 4f1773635c..c6f40f6ea7 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -21,6 +21,14 @@ // example_configurations/SCARA directory. // +// @section info + +#ifdef USE_AUTOMATIC_VERSIONING + #include "_Version.h" +#else + #include "Default_Version.h" +#endif + // User-specified version info of this build to display in [Pronterface, etc] terminal window during // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this // build by the user have been successfully uploaded into firmware. diff --git a/Marlin/example_configurations/SCARA/Configuration.h b/Marlin/example_configurations/SCARA/Configuration.h index d38abd26a8..bf58978ff4 100644 --- a/Marlin/example_configurations/SCARA/Configuration.h +++ b/Marlin/example_configurations/SCARA/Configuration.h @@ -39,6 +39,14 @@ //========================= SCARA Settings end ================================== //=========================================================================== +// @section info + +#ifdef USE_AUTOMATIC_VERSIONING + #include "_Version.h" +#else + #include "Default_Version.h" +#endif + // User-specified version info of this build to display in [Pronterface, etc] terminal window during // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this // build by the user have been successfully uploaded into firmware. diff --git a/Marlin/example_configurations/delta/Configuration.h b/Marlin/example_configurations/delta/Configuration.h index 6c530e9234..d0fae75e75 100644 --- a/Marlin/example_configurations/delta/Configuration.h +++ b/Marlin/example_configurations/delta/Configuration.h @@ -14,6 +14,14 @@ // example_configurations/delta directory. // +// @section info + +#ifdef USE_AUTOMATIC_VERSIONING + #include "_Version.h" +#else + #include "Default_Version.h" +#endif + // User-specified version info of this build to display in [Pronterface, etc] terminal window during // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this // build by the user have been successfully uploaded into firmware. diff --git a/Marlin/example_configurations/makibox/Configuration.h b/Marlin/example_configurations/makibox/Configuration.h index 1aa77f98fe..2ae7f6f9e8 100644 --- a/Marlin/example_configurations/makibox/Configuration.h +++ b/Marlin/example_configurations/makibox/Configuration.h @@ -21,6 +21,14 @@ // example_configurations/SCARA directory. // +// @section info + +#ifdef USE_AUTOMATIC_VERSIONING + #include "_Version.h" +#else + #include "Default_Version.h" +#endif + // User-specified version info of this build to display in [Pronterface, etc] terminal window during // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this // build by the user have been successfully uploaded into firmware. diff --git a/Marlin/example_configurations/tvrrug/Round2/Configuration.h b/Marlin/example_configurations/tvrrug/Round2/Configuration.h index 6bea624ff7..60597f31b7 100644 --- a/Marlin/example_configurations/tvrrug/Round2/Configuration.h +++ b/Marlin/example_configurations/tvrrug/Round2/Configuration.h @@ -21,6 +21,14 @@ // example_configurations/SCARA directory. // +// @section info + +#ifdef USE_AUTOMATIC_VERSIONING + #include "_Version.h" +#else + #include "Default_Version.h" +#endif + // User-specified version info of this build to display in [Pronterface, etc] terminal window during // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this // build by the user have been successfully uploaded into firmware. diff --git a/Marlin/language.h b/Marlin/language.h index 0814b4f7ab..8805818bf8 100644 --- a/Marlin/language.h +++ b/Marlin/language.h @@ -30,6 +30,12 @@ #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en) #endif +#if defined(USE_AUTOMATIC_VERSIONING) + #include "_Version.h" +#else + #include "Default_Version.h" +#endif + #define PROTOCOL_VERSION "1.0" #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)