浏览代码

Canonize Option flag USE_AUTOMATIC_VERSION

Richard Wackerbarth 9 年前
父节点
当前提交
329acc852e

+ 1
- 1
ArduinoAddons/Arduino_1.6.x/hardware/marlin/avr/platform.local.txt 查看文件

@@ -1,4 +1,4 @@
1
-compiler.cpp.extra_flags=-DHAS_AUTOMATIC_VERSIONING
1
+compiler.cpp.extra_flags=-DUSE_AUTOMATIC_VERSIONING
2 2
 build.custom_bin.path.macosx=/usr/local/bin/
3 3
 build.custom_bin.path.linux=
4 4
 recipe.hooks.prebuild0.pattern={build.custom_bin.path}generate_version_header_for_marlin "{build.source.path}" "{build.path}/_Version.h"

+ 1
- 1
Marlin/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 4
- 0
Marlin/SanityCheck.h 查看文件

@@ -382,4 +382,8 @@
382 382
     #error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME instead
383 383
   #endif
384 384
 
385
+  #ifdef HAS_AUTOMATIC_VERSIONING
386
+    #error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
387
+  #endif
388
+
385 389
 #endif //SANITYCHECK_H

+ 1
- 1
Marlin/configurator/config/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/configurator/config/language.h 查看文件

@@ -38,7 +38,7 @@
38 38
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
39 39
 #endif
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #endif
44 44
 

+ 1
- 1
Marlin/example_configurations/Felix/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/Felix/Configuration_DUAL.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/Hephestos/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/K8200/Configuration.h 查看文件

@@ -43,7 +43,7 @@ Here are some standard links for getting your machine calibrated:
43 43
 
44 44
 // @section info
45 45
 
46
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
46
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
47 47
   #include "_Version.h"
48 48
 #else
49 49
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/RigidBot/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/SCARA/Configuration.h 查看文件

@@ -63,7 +63,7 @@ Here are some standard links for getting your machine calibrated:
63 63
 
64 64
 // @section info
65 65
 
66
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
66
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
67 67
   #include "_Version.h"
68 68
 #else
69 69
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/WITBOX/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/delta/biv2.5/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/delta/generic/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/delta/kossel_pro/Configuration.h 查看文件

@@ -42,7 +42,7 @@ Here are some standard links for getting your machine calibrated:
42 42
 
43 43
 // @section info
44 44
 
45
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
45
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
46 46
   #include "_Version.h"
47 47
 #else
48 48
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/makibox/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/example_configurations/tvrrug/Round2/Configuration.h 查看文件

@@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
38 38
 
39 39
 // @section info
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #else
44 44
   #include "Default_Version.h"

+ 1
- 1
Marlin/language.h 查看文件

@@ -38,7 +38,7 @@
38 38
   #define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
39 39
 #endif
40 40
 
41
-#if ENABLED(HAS_AUTOMATIC_VERSIONING)
41
+#if ENABLED(USE_AUTOMATIC_VERSIONING)
42 42
   #include "_Version.h"
43 43
 #endif
44 44
 

正在加载...
取消
保存