Firmware2/Marlin/src/inc/Version.h

102 lines
3.2 KiB
C
Raw Normal View History

2016-04-22 17:07:26 +02:00
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef _VERSION_H_
#define _VERSION_H_
#include "../core/macros.h" // for ENABLED
2016-04-22 17:07:26 +02:00
/**
* This file is the standard Marlin version identifier file.
* Use -DUSE_AUTOMATIC_VERSIONING=1 and a custom _Version.h
* to override these values.
2016-04-22 17:07:26 +02:00
*/
2016-07-26 21:16:59 +02:00
#if ENABLED(USE_AUTOMATIC_VERSIONING)
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
#include "_Version.h"
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
#else
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
/**
* Marlin release version identifier
*/
2017-07-27 10:02:53 +02:00
#define SHORT_BUILD_VERSION "bugfix-2.0.x"
2016-07-26 21:16:59 +02:00
/**
* Verbose version identifier which should contain a reference to the location
* from where the binary was downloaded or the source code was compiled.
*/
#define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " (Github)"
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
/**
* The STRING_DISTRIBUTION_DATE represents when the binary file was built,
* here we define this default string as the date where the latest release
* version was tagged.
*/
2018-01-20 16:17:57 +01:00
#define STRING_DISTRIBUTION_DATE "2018-01-20"
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
/**
* Required minimum Configuration.h and Configuration_adv.h file versions.
*
* You must increment this version number for every significant change such as,
* but not limited to: ADD, DELETE RENAME OR REPURPOSE any directive/option on
* the configuration files.
*/
2017-07-27 10:02:53 +02:00
#define REQUIRED_CONFIGURATION_H_VERSION 020000
#define REQUIRED_CONFIGURATION_ADV_H_VERSION 020000
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
/**
2017-03-05 05:27:41 +01:00
* The protocol for communication to the host. Protocol indicates communication
* standards such as the use of ASCII, "echo:" and "error:" line prefixes, etc.
* (Other behaviors are given by the firmware version and capabilities report.)
2016-07-26 21:16:59 +02:00
*/
#define PROTOCOL_VERSION "1.0"
2016-04-22 17:07:26 +02:00
2016-07-26 21:16:59 +02:00
/**
* Defines a generic printer name to be output to the LCD after booting Marlin.
*/
#define MACHINE_NAME "3D Printer"
/**
* The SOURCE_CODE_URL is the location where users will find the Marlin Source
* Code which is installed on the device. In most cases unless the manufacturer
* has a distinct Github fork the Source Code URL should just be the main
* Marlin repository.
*/
#define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
/**
* Default generic printer UUID.
*/
#define DEFAULT_MACHINE_UUID "cede2a2f-41a2-4748-9b12-c55c62f367ff"
/**
* The WEBSITE_URL is the location where users can get more information such as
* documentation about a specific Marlin release.
*/
#define WEBSITE_URL "http://marlinfw.org"
#endif // USE_AUTOMATIC_VERSIONING
#endif // _VERSION_H_