Browse Source

Revised Versioning mechanism

Richard Wackerbarth 10 years ago
parent
commit
5ea139fd79

+ 8
- 4
Marlin/Configuration.h View File

@@ -37,14 +37,18 @@ Here are some standard links for getting your machine calibrated:
37 37
 
38 38
 // @section info
39 39
 
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
40 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
41 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
42 48
 // build by the user have been successfully uploaded into firmware.
43
-#define STRING_VERSION "1.0.3 dev"
44
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
45 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
46
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
47
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
48 52
 
49 53
 // @section machine
50 54
 

+ 12
- 0
Marlin/Default_Version.h View File

@@ -0,0 +1,12 @@
1
+/*
2
+ * This file is a placeholder for a file which could be distributed in an archive
3
+ * It takes the place of an automatically created "_Version.h" which is generated during the build process
4
+ */
5
+#error "You must specify the following parameter related to your distribution"
6
+
7
+#if false
8
+  #define BUILD_VERSION "1.1.0 dev"
9
+  #define STRING_DISTRIBUTION_DATE "2015-06-00 12:00"
10
+  // It might also be appropriate to define a location where additional information can be found
11
+  #define FIRMWARE_URL  "http:// ..."
12
+#endif

+ 4
- 4
Marlin/Marlin_main.cpp View File

@@ -614,19 +614,19 @@ void setup() {
614 614
   MCUSR = 0;
615 615
 
616 616
   SERIAL_ECHOPGM(MSG_MARLIN);
617
-  SERIAL_ECHOLNPGM(" " STRING_VERSION);
617
+  SERIAL_ECHOLNPGM(" " BUILD_VERSION);
618 618
 
619
-  #ifdef STRING_VERSION_CONFIG_H
619
+  #ifdef STRING_DISTRIBUTION_DATE
620 620
     #ifdef STRING_CONFIG_H_AUTHOR
621 621
       SERIAL_ECHO_START;
622 622
       SERIAL_ECHOPGM(MSG_CONFIGURATION_VER);
623
-      SERIAL_ECHOPGM(STRING_VERSION_CONFIG_H);
623
+      SERIAL_ECHOPGM(STRING_DISTRIBUTION_DATE);
624 624
       SERIAL_ECHOPGM(MSG_AUTHOR);
625 625
       SERIAL_ECHOLNPGM(STRING_CONFIG_H_AUTHOR);
626 626
       SERIAL_ECHOPGM("Compiled: ");
627 627
       SERIAL_ECHOLNPGM(__DATE__);
628 628
     #endif // STRING_CONFIG_H_AUTHOR
629
-  #endif // STRING_VERSION_CONFIG_H
629
+  #endif // STRING_DISTRIBUTION_DATE
630 630
 
631 631
   SERIAL_ECHO_START;
632 632
   SERIAL_ECHOPGM(MSG_FREE_MEMORY);

+ 8
- 4
Marlin/configurator/config/Configuration.h View File

@@ -37,14 +37,18 @@ Here are some standard links for getting your machine calibrated:
37 37
 
38 38
 // @section info
39 39
 
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
40 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
41 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
42 48
 // build by the user have been successfully uploaded into firmware.
43
-#define STRING_VERSION "1.0.3 dev"
44
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
45 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
46
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
47
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
48 52
 
49 53
 // @section machine
50 54
 

+ 14
- 5
Marlin/example_configurations/Felix/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 14
- 5
Marlin/example_configurations/Felix/Configuration_DUAL.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 15
- 6
Marlin/example_configurations/Hephestos/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43
-#define STRING_CONFIG_H_AUTHOR "(bq Hephestos)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
49
+#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 8
- 4
Marlin/example_configurations/K8200/Configuration.h View File

@@ -42,14 +42,18 @@ Here are some standard links for getting your machine calibrated:
42 42
 
43 43
 // @section info
44 44
 
45
+#ifdef HAS_AUTOMATIC_VERSIONING
46
+  #include "_Version.h"
47
+#else
48
+  #include "Default_Version.h"
49
+#endif
50
+
45 51
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
46 52
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
47 53
 // build by the user have been successfully uploaded into firmware.
48
-#define STRING_VERSION "1.0.3 dev"
49
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
50 54
 #define STRING_CONFIG_H_AUTHOR "(K8200, CONSULitAS)" // Who made the changes.
51
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
52
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
55
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
56
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
53 57
 
54 58
 // @section machine
55 59
 

+ 8
- 4
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -37,14 +37,18 @@ Here are some standard links for getting your machine calibrated:
37 37
 
38 38
 // @section info
39 39
 
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
40 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
41 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
42 48
 // build by the user have been successfully uploaded into firmware.
43
-#define STRING_VERSION "1.0.3 dev"
44
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
45 49
 #define STRING_CONFIG_H_AUTHOR "RepRapWorld.com" // Who made the changes.
46
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
47
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
48 52
 
49 53
 // @section machine
50 54
 

+ 20
- 4
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -22,6 +22,13 @@ Here are some standard links for getting your machine calibrated:
22 22
 // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration
23 23
 
24 24
 //===========================================================================
25
+//============================= DELTA Printer ===============================
26
+//===========================================================================
27
+// For a Delta printer replace the configuration files with the files in the
28
+// example_configurations/delta directory.
29
+//
30
+
31
+//===========================================================================
25 32
 //========================= SCARA Settings ==================================
26 33
 //===========================================================================
27 34
 // SCARA-mode for Marlin has been developed by QHARLEY in ZA in 2012/2013. Implemented
@@ -53,18 +60,27 @@ Here are some standard links for getting your machine calibrated:
53 60
 //========================= SCARA Settings end ==============================
54 61
 //===========================================================================
55 62
 
63
+// @section info
64
+
65
+#ifdef HAS_AUTOMATIC_VERSIONING
66
+  #include "_Version.h"
67
+#else
68
+  #include "Default_Version.h"
69
+#endif
70
+
56 71
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
57 72
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
58 73
 // build by the user have been successfully uploaded into firmware.
59
-#define STRING_VERSION "1.0.3 dev"
60
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
61 74
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
62
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
63
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
75
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
76
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
77
+
78
+// @section machine
64 79
 
65 80
 // SERIAL_PORT selects which serial port should be used for communication with the host.
66 81
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
67 82
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
83
+// :[0,1,2,3,4,5,6,7]
68 84
 #define SERIAL_PORT 0
69 85
 
70 86
 // This determines the communication speed of the printer

+ 14
- 5
Marlin/example_configurations/WITBOX/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(bq Witbox)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 14
- 5
Marlin/example_configurations/delta/biv2.5/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 14
- 5
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 14
- 5
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 3
- 2
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -38,14 +38,15 @@ Here are some standard links for getting your machine calibrated:
38 38
 // For a Scara printer replace the configuration files with the files in the
39 39
 // example_configurations/SCARA directory.
40 40
 //
41
+
42
+// @section info
43
+
41 44
 #ifdef HAS_AUTOMATIC_VERSIONING
42 45
   #include "_Version.h"
43 46
 #else
44 47
   #include "Default_Version.h"
45 48
 #endif
46 49
 
47
-// @section info
48
-
49 50
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
50 51
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
51 52
 // build by the user have been successfully uploaded into firmware.

+ 14
- 5
Marlin/example_configurations/makibox/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

+ 14
- 5
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -31,22 +31,31 @@ Here are some standard links for getting your machine calibrated:
31 31
 //===========================================================================
32 32
 //============================= SCARA Printer ===============================
33 33
 //===========================================================================
34
-// For a Delta printer replace the configuration files with the files in the
34
+// For a Scara printer replace the configuration files with the files in the
35 35
 // example_configurations/SCARA directory.
36 36
 //
37 37
 
38
+// @section info
39
+
40
+#ifdef HAS_AUTOMATIC_VERSIONING
41
+  #include "_Version.h"
42
+#else
43
+  #include "Default_Version.h"
44
+#endif
45
+
38 46
 // User-specified version info of this build to display in [Pronterface, etc] terminal window during
39 47
 // startup. Implementation of an idea by Prof Braino to inform user that any changes made to this
40 48
 // build by the user have been successfully uploaded into firmware.
41
-#define STRING_VERSION "1.0.3 dev"
42
-#define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time
43 49
 #define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
44
-#define STRING_SPLASH_LINE1 "v" STRING_VERSION // will be shown during bootup in line 1
45
-//#define STRING_SPLASH_LINE2 STRING_VERSION_CONFIG_H // will be shown during bootup in line2
50
+#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
51
+//#define STRING_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
52
+
53
+// @section machine
46 54
 
47 55
 // SERIAL_PORT selects which serial port should be used for communication with the host.
48 56
 // This allows the connection of wireless adapters (for instance) to non-default port pins.
49 57
 // Serial port 0 is still used by the Arduino bootloader regardless of this setting.
58
+// :[0,1,2,3,4,5,6,7]
50 59
 #define SERIAL_PORT 0
51 60
 
52 61
 // This determines the communication speed of the printer

Loading…
Cancel
Save