|
@@ -49,32 +49,34 @@
|
49
|
49
|
#define PROTOCOL_VERSION "1.0"
|
50
|
50
|
|
51
|
51
|
#if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
|
52
|
|
- #define MACHINE_NAME "Ultimaker"
|
53
|
|
- #define SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
|
52
|
+ #define DEFAULT_MACHINE_NAME "Ultimaker"
|
|
53
|
+ #define DEFAULT_SOURCE_URL "https://github.com/Ultimaker/Marlin"
|
54
|
54
|
#elif MB(RUMBA)
|
55
|
|
- #define MACHINE_NAME "Rumba"
|
|
55
|
+ #define DEFAULT_MACHINE_NAME "Rumba"
|
56
|
56
|
#elif MB(3DRAG)
|
57
|
|
- #define MACHINE_NAME "3Drag"
|
58
|
|
- #define SOURCE_CODE_URL "http://3dprint.elettronicain.it/"
|
|
57
|
+ #define DEFAULT_MACHINE_NAME "3Drag"
|
|
58
|
+ #define DEFAULT_SOURCE_URL "http://3dprint.elettronicain.it/"
|
59
|
59
|
#elif MB(K8200)
|
60
|
|
- #define MACHINE_NAME "K8200"
|
61
|
|
- #define SOURCE_CODE_URL "https://github.com/CONSULitAS/Marlin-K8200"
|
|
60
|
+ #define DEFAULT_MACHINE_NAME "K8200"
|
|
61
|
+ #define DEFAULT_SOURCE_URL "https://github.com/CONSULitAS/Marlin-K8200"
|
62
|
62
|
#elif MB(5DPRINT)
|
63
|
|
- #define MACHINE_NAME "Makibox"
|
|
63
|
+ #define DEFAULT_MACHINE_NAME "Makibox"
|
64
|
64
|
#elif MB(SAV_MKI)
|
65
|
|
- #define MACHINE_NAME "SAV MkI"
|
66
|
|
- #define SOURCE_CODE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
|
67
|
|
-#elif !defined(MACHINE_NAME)
|
68
|
|
- #define MACHINE_NAME "3D Printer"
|
|
65
|
+ #define DEFAULT_MACHINE_NAME "SAV MkI"
|
|
66
|
+ #define DEFAULT_SOURCE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
|
|
67
|
+#else
|
|
68
|
+ #define DEFAULT_MACHINE_NAME "3D Printer"
|
|
69
|
+ #define DEFAULT_SOURCE_URL "https://github.com/MarlinFirmware/Marlin"
|
69
|
70
|
#endif
|
70
|
71
|
|
71
|
72
|
#ifdef CUSTOM_MACHINE_NAME
|
72
|
|
- #undef MACHINE_NAME
|
73
|
73
|
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
|
74
|
+#else
|
|
75
|
+ #define MACHINE_NAME DEFAULT_MACHINE_NAME
|
74
|
76
|
#endif
|
75
|
77
|
|
76
|
78
|
#ifndef SOURCE_CODE_URL
|
77
|
|
- #define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
|
|
79
|
+ #define SOURCE_CODE_URL DEFAULT_SOURCE_URL
|
78
|
80
|
#endif
|
79
|
81
|
|
80
|
82
|
#ifndef DETAILED_BUILD_VERSION
|