1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 13:25:54 +00:00

Supply default version for builds from Archives

This commit is contained in:
Richard Wackerbarth 2015-08-05 14:32:58 -05:00
parent 4bc50553d0
commit fff4f29dfc
2 changed files with 14 additions and 2 deletions

View File

@ -35,8 +35,6 @@
#define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION // will be shown during bootup in line 1
//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
//#define STRING_VERSION "1.0.2"
#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.

14
Marlin/Default_Version.h Normal file
View File

@ -0,0 +1,14 @@
/*
* This file is a placeholder for a file which could be distributed in an archive
* It takes the place of an automatically created "_Version.h" which is generated during the build process
*/
// #error "You must specify the following parameters related to your distribution"
#if true
#define SHORT_BUILD_VERSION "1.0.2+"
#define DETAILED_BUILD_VERSION "1.0.2+ Development From Archive"
#define STRING_DISTRIBUTION_DATE "2015-08-00 12:00"
// It might also be appropriate to define a location where additional information can be found
#define SOURCE_CODE_URL "http:// ..."
#endif