Revised Versioning mechanism
This commit is contained in:
		| @@ -21,6 +21,13 @@ Here are some standard links for getting your machine calibrated: | ||||
| // Advanced settings can be found in Configuration_adv.h | ||||
| // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration | ||||
|  | ||||
| //=========================================================================== | ||||
| //============================= DELTA Printer =============================== | ||||
| //=========================================================================== | ||||
| // For a Delta printer replace the configuration files with the files in the | ||||
| // example_configurations/delta directory. | ||||
| // | ||||
|  | ||||
| //=========================================================================== | ||||
| //========================= SCARA Settings ================================== | ||||
| //=========================================================================== | ||||
| @@ -53,18 +60,27 @@ Here are some standard links for getting your machine calibrated: | ||||
| //========================= SCARA Settings end ============================== | ||||
| //=========================================================================== | ||||
|  | ||||
| // @section info | ||||
|  | ||||
| #ifdef HAS_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. | ||||
| #define STRING_VERSION "1.0.3 dev" | ||||
| #define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time | ||||
| #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes. | ||||
| #define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1 | ||||
| //#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2 | ||||
| #define STRING_SPLASH_LINE1 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 | ||||
|  | ||||
| // @section machine | ||||
|  | ||||
| // SERIAL_PORT selects which serial port should be used for communication with the host. | ||||
| // This allows the connection of wireless adapters (for instance) to non-default port pins. | ||||
| // Serial port 0 is still used by the Arduino bootloader regardless of this setting. | ||||
| // :[0,1,2,3,4,5,6,7] | ||||
| #define SERIAL_PORT 0 | ||||
|  | ||||
| // This determines the communication speed of the printer | ||||
|   | ||||
		Reference in New Issue
	
	Block a user