Merge pull request #7 from Wackerbarth/DetailedBuildVersion
Provide both long and short version strings
This commit is contained in:
commit
e3acc84b99
26 changed files with 81 additions and 68 deletions
|
@ -1,2 +0,0 @@
|
||||||
compiler.cpp.extra_flags=-DHAS_AUTOMATIC_VERSIONING
|
|
||||||
recipe.hooks.prebuild.pattern=/usr/local/bin/generate_version_header_for_marlin "{build.source.path}" "{build.path}/_Version.h"
|
|
|
@ -1,4 +1,4 @@
|
||||||
compiler.cpp.extra_flags=-DHAS_AUTOMATIC_VERSIONING
|
compiler.cpp.extra_flags=-DUSE_AUTOMATIC_VERSIONING
|
||||||
build.custom_bin.path.macosx=/usr/local/bin/
|
build.custom_bin.path.macosx=/usr/local/bin/
|
||||||
build.custom_bin.path.linux=
|
build.custom_bin.path.linux=
|
||||||
recipe.hooks.prebuild0.pattern={build.custom_bin.path}generate_version_header_for_marlin "{build.source.path}" "{build.path}/_Version.h"
|
recipe.hooks.prebuild0.pattern={build.custom_bin.path}generate_version_header_for_marlin "{build.source.path}" "{build.path}/_Version.h"
|
||||||
|
|
|
@ -23,9 +23,14 @@ echo "#define STRING_DISTRIBUTION_DATE" `date '+"%Y-%m-%d %H:%M"'` >>"$OUTFILE"
|
||||||
fi
|
fi
|
||||||
VERSION=`git describe --tags --first-parent 2>/dev/null`
|
VERSION=`git describe --tags --first-parent 2>/dev/null`
|
||||||
if [ "x$VERSION" != "x" ] ; then
|
if [ "x$VERSION" != "x" ] ; then
|
||||||
echo "#define BUILD_VERSION \"$VERSION\"" | sed "s/-/$BRANCH-/" >>"$OUTFILE"
|
echo "#define SHORT_BUILD_VERSION \"$VERSION\"" | sed "s/-.*/$BRANCH\"/" >>"$OUTFILE"
|
||||||
|
echo "#define DETAILED_BUILD_VERSION \"$VERSION\"" | sed "s/-/$BRANCH-/" >>"$OUTFILE"
|
||||||
|
else
|
||||||
|
VERSION=`git describe --tags --first-parent --always 2>/dev/null`
|
||||||
|
echo "#define SHORT_BUILD_VERSION \"$BRANCH\"" >>"$OUTFILE"
|
||||||
|
echo "#define DETAILED_BUILD_VERSION \"${BRANCH}-$VERSION\"" >>"$OUTFILE"
|
||||||
fi
|
fi
|
||||||
URL=`git config --local --get remote.origin.url | sed "sx.*github.com:xhttps://github.com/x" | sed "sx\.gitx/x"`
|
URL=`git config --local --get remote.origin.url | sed "sx.*github.com.xhttps://github.com/x" | sed "sx\.gitx/x"`
|
||||||
if [ "x$URL" != "x" ] ; then
|
if [ "x$URL" != "x" ] ; then
|
||||||
echo "#define SOURCE_CODE_URL \""$URL"\"" >>"$OUTFILE"
|
echo "#define SOURCE_CODE_URL \""$URL"\"" >>"$OUTFILE"
|
||||||
echo "// Deprecated URL definition" >>"$OUTFILE"
|
echo "// Deprecated URL definition" >>"$OUTFILE"
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -3,11 +3,12 @@
|
||||||
* It takes the place of an automatically created "_Version.h" which is generated during the build process
|
* It takes the place of an automatically created "_Version.h" which is generated during the build process
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// #error "You must specify the following parameter related to your distribution"
|
// #error "You must specify the following parameters related to your distribution"
|
||||||
|
|
||||||
#if true
|
#if true
|
||||||
#define BUILD_VERSION "1.0.3 dev"
|
#define SHORT_BUILD_VERSION "1.1.0 dev"
|
||||||
#define STRING_DISTRIBUTION_DATE "2015-06-00 12:00"
|
#define DETAILED_BUILD_VERSION "1.1.0 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
|
// It might also be appropriate to define a location where additional information can be found
|
||||||
#define SOURCE_CODE_URL "http:// ..."
|
#define SOURCE_CODE_URL "http:// ..."
|
||||||
#endif
|
#endif
|
|
@ -638,7 +638,7 @@ void setup() {
|
||||||
MCUSR = 0;
|
MCUSR = 0;
|
||||||
|
|
||||||
SERIAL_ECHOPGM(MSG_MARLIN);
|
SERIAL_ECHOPGM(MSG_MARLIN);
|
||||||
SERIAL_ECHOLNPGM(" " BUILD_VERSION);
|
SERIAL_ECHOLNPGM(" " SHORT_BUILD_VERSION);
|
||||||
|
|
||||||
#ifdef STRING_DISTRIBUTION_DATE
|
#ifdef STRING_DISTRIBUTION_DATE
|
||||||
#ifdef STRING_CONFIG_H_AUTHOR
|
#ifdef STRING_CONFIG_H_AUTHOR
|
||||||
|
|
|
@ -378,4 +378,12 @@
|
||||||
#error BTENABLED has been replaced with BLUETOOTH. Please update your configuration.
|
#error BTENABLED has been replaced with BLUETOOTH. Please update your configuration.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CUSTOM_MENDEL_NAME
|
||||||
|
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME instead
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAS_AUTOMATIC_VERSIONING
|
||||||
|
#error HAS_AUTOMATIC_VERSIONING deprecated - use USE_AUTOMATIC_VERSIONING instead
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif //SANITYCHECK_H
|
#endif //SANITYCHECK_H
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
|
#define BOARD_RAMPS_13_EEF 36 // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
|
||||||
#define BOARD_RAMPS_13_SF 38 // RAMPS 1.3 / 1.4 (Power outputs: Spindle, Controller Fan)
|
#define BOARD_RAMPS_13_SF 38 // RAMPS 1.3 / 1.4 (Power outputs: Spindle, Controller Fan)
|
||||||
#define BOARD_FELIX2 37 // Felix 2.0+ Electronics Board (RAMPS like)
|
#define BOARD_FELIX2 37 // Felix 2.0+ Electronics Board (RAMPS like)
|
||||||
|
#define BOARD_RIGIDBOARD 42 // Invent-A-Part RigidBoard
|
||||||
#define BOARD_GEN6 5 // Gen6
|
#define BOARD_GEN6 5 // Gen6
|
||||||
#define BOARD_GEN6_DELUXE 51 // Gen6 deluxe
|
#define BOARD_GEN6_DELUXE 51 // Gen6 deluxe
|
||||||
#define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2
|
#define BOARD_SANGUINOLOLU_11 6 // Sanguinololu < 1.2
|
||||||
|
@ -42,11 +43,13 @@
|
||||||
#define BOARD_GEN3_MONOLITHIC 22 // Gen3 Monolithic Electronics
|
#define BOARD_GEN3_MONOLITHIC 22 // Gen3 Monolithic Electronics
|
||||||
#define BOARD_MEGATRONICS 70 // Megatronics
|
#define BOARD_MEGATRONICS 70 // Megatronics
|
||||||
#define BOARD_MEGATRONICS_2 701 // Megatronics v2.0
|
#define BOARD_MEGATRONICS_2 701 // Megatronics v2.0
|
||||||
#define BOARD_MEGATRONICS_1 702 // Minitronics v1.0
|
#define BOARD_MINITRONICS 702 // Minitronics v1.0/1.1
|
||||||
#define BOARD_MEGATRONICS_3 703 // Megatronics v3.0
|
#define BOARD_MEGATRONICS_3 703 // Megatronics v3.0
|
||||||
#define BOARD_OMCA_A 90 // Alpha OMCA board
|
#define BOARD_OMCA_A 90 // Alpha OMCA board
|
||||||
#define BOARD_OMCA 91 // Final OMCA board
|
#define BOARD_OMCA 91 // Final OMCA board
|
||||||
#define BOARD_RAMBO 301 // Rambo
|
#define BOARD_RAMBO 301 // Rambo
|
||||||
|
#define BOARD_MINIRAMBO 302 // Mini-Rambo
|
||||||
|
#define BOARD_MEGACONTROLLER 310 // Mega controller
|
||||||
#define BOARD_ELEFU_3 21 // Elefu Ra Board (v3)
|
#define BOARD_ELEFU_3 21 // Elefu Ra Board (v3)
|
||||||
#define BOARD_5DPRINT 88 // 5DPrint D8 Driver Board
|
#define BOARD_5DPRINT 88 // 5DPrint D8 Driver Board
|
||||||
#define BOARD_LEAPFROG 999 // Leapfrog
|
#define BOARD_LEAPFROG 999 // Leapfrog
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
// de German
|
// de German
|
||||||
// es Spanish
|
// es Spanish
|
||||||
// ru Russian
|
// ru Russian
|
||||||
|
// bg Bulgarian
|
||||||
// it Italian
|
// it Italian
|
||||||
// pt Portuguese
|
// pt Portuguese
|
||||||
// pt-br Portuguese (Brazil)
|
// pt-br Portuguese (Brazil)
|
||||||
|
@ -37,15 +38,17 @@
|
||||||
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
|
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
|
#else
|
||||||
|
#include "Default_Version.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PROTOCOL_VERSION "1.0"
|
#define PROTOCOL_VERSION "1.0"
|
||||||
|
|
||||||
#if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
|
#if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
|
||||||
#define MACHINE_NAME "Ultimaker"
|
#define MACHINE_NAME "Ultimaker"
|
||||||
#define SOURCE_CODE_URL "http://firmware.ultimaker.com"
|
#define SOURCE_CODE_URL "https://github.com/Ultimaker/Marlin"
|
||||||
#elif MB(RUMBA)
|
#elif MB(RUMBA)
|
||||||
#define MACHINE_NAME "Rumba"
|
#define MACHINE_NAME "Rumba"
|
||||||
#elif MB(3DRAG)
|
#elif MB(3DRAG)
|
||||||
|
@ -63,11 +66,6 @@
|
||||||
#define MACHINE_NAME "3D Printer"
|
#define MACHINE_NAME "3D Printer"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CUSTOM_MENDEL_NAME
|
|
||||||
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
|
|
||||||
#define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CUSTOM_MACHINE_NAME
|
#ifdef CUSTOM_MACHINE_NAME
|
||||||
#undef MACHINE_NAME
|
#undef MACHINE_NAME
|
||||||
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
||||||
|
@ -77,8 +75,8 @@
|
||||||
#define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
|
#define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BUILD_VERSION
|
#ifndef DETAILED_BUILD_VERSION
|
||||||
#define BUILD_VERSION "V1; Sprinter/grbl mashup for gen6"
|
#error BUILD_VERSION Information must be specified
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MACHINE_UUID
|
#ifndef MACHINE_UUID
|
||||||
|
@ -122,11 +120,7 @@
|
||||||
#define MSG_INVALID_EXTRUDER "Invalid extruder"
|
#define MSG_INVALID_EXTRUDER "Invalid extruder"
|
||||||
#define MSG_INVALID_SOLENOID "Invalid solenoid"
|
#define MSG_INVALID_SOLENOID "Invalid solenoid"
|
||||||
#define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
|
#define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
|
||||||
#define MSG_HEATING "Heating..."
|
#define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " DETAILED_BUILD_VERSION " SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
|
||||||
#define MSG_HEATING_COMPLETE "Heating done."
|
|
||||||
#define MSG_BED_HEATING "Bed Heating."
|
|
||||||
#define MSG_BED_DONE "Bed done."
|
|
||||||
#define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " BUILD_VERSION " SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
|
|
||||||
#define MSG_COUNT_X " Count X: "
|
#define MSG_COUNT_X " Count X: "
|
||||||
#define MSG_ERR_KILLED "Printer halted. kill() called!"
|
#define MSG_ERR_KILLED "Printer halted. kill() called!"
|
||||||
#define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
|
#define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
|
||||||
|
@ -195,6 +189,8 @@
|
||||||
#define MSG_KP " Kp: "
|
#define MSG_KP " Kp: "
|
||||||
#define MSG_KI " Ki: "
|
#define MSG_KI " Ki: "
|
||||||
#define MSG_KD " Kd: "
|
#define MSG_KD " Kd: "
|
||||||
|
#define MSG_B "B:"
|
||||||
|
#define MSG_T "T:"
|
||||||
#define MSG_AT " @:"
|
#define MSG_AT " @:"
|
||||||
#define MSG_PID_AUTOTUNE_FINISHED MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from below into Configuration.h"
|
#define MSG_PID_AUTOTUNE_FINISHED MSG_PID_AUTOTUNE " finished! Put the last Kp, Ki and Kd constants from below into Configuration.h"
|
||||||
#define MSG_PID_DEBUG " PID_DEBUG "
|
#define MSG_PID_DEBUG " PID_DEBUG "
|
||||||
|
@ -213,6 +209,11 @@
|
||||||
#define MSG_T_MAXTEMP "MAXTEMP triggered"
|
#define MSG_T_MAXTEMP "MAXTEMP triggered"
|
||||||
#define MSG_T_MINTEMP "MINTEMP triggered"
|
#define MSG_T_MINTEMP "MINTEMP triggered"
|
||||||
|
|
||||||
|
// Debug
|
||||||
|
#define MSG_DEBUG_ECHO "DEBUG ECHO ENABLED"
|
||||||
|
#define MSG_DEBUG_INFO "DEBUG INFO ENABLED"
|
||||||
|
#define MSG_DEBUG_ERRORS "DEBUG ERRORS ENABLED"
|
||||||
|
#define MSG_DEBUG_DRYRUN "DEBUG DRYRUN ENABLED"
|
||||||
|
|
||||||
// LCD Menu Messages
|
// LCD Menu Messages
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -43,7 +43,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -54,7 +54,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(K8200, CONSULitAS)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(K8200, CONSULitAS)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "RepRapWorld.com" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "RepRapWorld.com" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -63,7 +63,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -74,7 +74,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(bq Witbox)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(bq Witbox)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -42,7 +42,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -53,7 +53,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,7 +38,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
|
|
||||||
// @section info
|
// @section info
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
#else
|
#else
|
||||||
#include "Default_Version.h"
|
#include "Default_Version.h"
|
||||||
|
@ -49,7 +49,7 @@ Here are some standard links for getting your machine calibrated:
|
||||||
// build by the user have been successfully uploaded into firmware.
|
// build by the user have been successfully uploaded into firmware.
|
||||||
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
#define STRING_CONFIG_H_AUTHOR "(none, default config)" // Who made the changes.
|
||||||
#define SHOW_BOOTSCREEN
|
#define SHOW_BOOTSCREEN
|
||||||
#define STRING_SPLASH_LINE1 BUILD_VERSION // will be shown during bootup in line 1
|
#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_SPLASH_LINE2 STRING_DISTRIBUTION_DATE // will be shown during bootup in line 2
|
||||||
|
|
||||||
// @section machine
|
// @section machine
|
||||||
|
|
|
@ -38,8 +38,10 @@
|
||||||
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
|
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(HAS_AUTOMATIC_VERSIONING)
|
#if ENABLED(USE_AUTOMATIC_VERSIONING)
|
||||||
#include "_Version.h"
|
#include "_Version.h"
|
||||||
|
#else
|
||||||
|
#include "Default_Version.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PROTOCOL_VERSION "1.0"
|
#define PROTOCOL_VERSION "1.0"
|
||||||
|
@ -64,11 +66,6 @@
|
||||||
#define MACHINE_NAME "3D Printer"
|
#define MACHINE_NAME "3D Printer"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CUSTOM_MENDEL_NAME
|
|
||||||
#error CUSTOM_MENDEL_NAME deprecated - use CUSTOM_MACHINE_NAME
|
|
||||||
#define CUSTOM_MACHINE_NAME CUSTOM_MENDEL_NAME
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CUSTOM_MACHINE_NAME
|
#ifdef CUSTOM_MACHINE_NAME
|
||||||
#undef MACHINE_NAME
|
#undef MACHINE_NAME
|
||||||
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
#define MACHINE_NAME CUSTOM_MACHINE_NAME
|
||||||
|
@ -78,8 +75,8 @@
|
||||||
#define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
|
#define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef BUILD_VERSION
|
#ifndef DETAILED_BUILD_VERSION
|
||||||
#define BUILD_VERSION "V1; Sprinter/grbl mashup for gen6"
|
#error BUILD_VERSION Information must be specified
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MACHINE_UUID
|
#ifndef MACHINE_UUID
|
||||||
|
@ -123,7 +120,7 @@
|
||||||
#define MSG_INVALID_EXTRUDER "Invalid extruder"
|
#define MSG_INVALID_EXTRUDER "Invalid extruder"
|
||||||
#define MSG_INVALID_SOLENOID "Invalid solenoid"
|
#define MSG_INVALID_SOLENOID "Invalid solenoid"
|
||||||
#define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
|
#define MSG_ERR_NO_THERMISTORS "No thermistors - no temperature"
|
||||||
#define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " BUILD_VERSION " SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
|
#define MSG_M115_REPORT "FIRMWARE_NAME:Marlin " DETAILED_BUILD_VERSION " SOURCE_CODE_URL:" SOURCE_CODE_URL " PROTOCOL_VERSION:" PROTOCOL_VERSION " MACHINE_TYPE:" MACHINE_NAME " EXTRUDER_COUNT:" STRINGIFY(EXTRUDERS) " UUID:" MACHINE_UUID "\n"
|
||||||
#define MSG_COUNT_X " Count X: "
|
#define MSG_COUNT_X " Count X: "
|
||||||
#define MSG_ERR_KILLED "Printer halted. kill() called!"
|
#define MSG_ERR_KILLED "Printer halted. kill() called!"
|
||||||
#define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
|
#define MSG_ERR_STOPPED "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"
|
||||||
|
|
Reference in a new issue