Prusa MINI Firmware overview
Version.h File Reference

Go to the source code of this file.

Macros

#define SHORT_BUILD_VERSION   "bugfix-2.0.x"
 
#define DETAILED_BUILD_VERSION   SHORT_BUILD_VERSION " (GitHub)"
 
#define STRING_DISTRIBUTION_DATE   "2019-10-18"
 
#define MARLIN_HEX_VERSION   020000
 
#define REQUIRED_CONFIGURATION_H_VERSION   MARLIN_HEX_VERSION
 
#define REQUIRED_CONFIGURATION_ADV_H_VERSION   MARLIN_HEX_VERSION
 
#define PROTOCOL_VERSION   "1.0"
 
#define MACHINE_NAME   "3D Printer"
 
#define SOURCE_CODE_URL   "https://github.com/MarlinFirmware/Marlin"
 
#define DEFAULT_MACHINE_UUID   "cede2a2f-41a2-4748-9b12-c55c62f367ff"
 
#define WEBSITE_URL   "http://marlinfw.org"
 
#define USB_DEVICE_VENDOR_ID   0x03EB /* ATMEL VID */
 
#define USB_DEVICE_PRODUCT_ID   0x2424 /* MSC / CDC */
 
#define USB_DEVICE_MANUFACTURE_NAME   WEBSITE_URL
 USB Device string definitions (Optional) More...
 
#define USB_DEVICE_PRODUCT_NAME   MACHINE_NAME
 
#define USB_DEVICE_SERIAL_NAME   "123985739853"
 

Macro Definition Documentation

◆ SHORT_BUILD_VERSION

#define SHORT_BUILD_VERSION   "bugfix-2.0.x"

Marlin 3D Printer Firmware Copyright (c) 2019 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/. Release version. Leave the Marlin version or apply a custom scheme.

◆ DETAILED_BUILD_VERSION

#define DETAILED_BUILD_VERSION   SHORT_BUILD_VERSION " (GitHub)"

Verbose version identifier containing a unique identifier, such as the vendor name, download location, GitHub account, etc.

◆ STRING_DISTRIBUTION_DATE

#define STRING_DISTRIBUTION_DATE   "2019-10-18"

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.

◆ MARLIN_HEX_VERSION

#define MARLIN_HEX_VERSION   020000

Minimum Configuration.h and Configuration_adv.h file versions. Set based on the release version number. Used to catch an attempt to use older configurations. Override these if using a custom versioning scheme to alert users to major changes.

◆ REQUIRED_CONFIGURATION_H_VERSION

#define REQUIRED_CONFIGURATION_H_VERSION   MARLIN_HEX_VERSION

◆ REQUIRED_CONFIGURATION_ADV_H_VERSION

#define REQUIRED_CONFIGURATION_ADV_H_VERSION   MARLIN_HEX_VERSION

◆ PROTOCOL_VERSION

#define PROTOCOL_VERSION   "1.0"

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.)

◆ MACHINE_NAME

#define MACHINE_NAME   "3D Printer"

Define a generic printer name to be output to the LCD after booting Marlin.

◆ SOURCE_CODE_URL

#define SOURCE_CODE_URL   "https://github.com/MarlinFirmware/Marlin"

Website where users can find Marlin source code for the binary installed on the device. Override this if you provide public source code download. (GPLv3 requires providing the source code to your customers.)

◆ DEFAULT_MACHINE_UUID

#define DEFAULT_MACHINE_UUID   "cede2a2f-41a2-4748-9b12-c55c62f367ff"

Default generic printer UUID.

◆ WEBSITE_URL

#define WEBSITE_URL   "http://marlinfw.org"

The WEBSITE_URL is the location where users can get more information such as documentation about a specific Marlin release. Displayed in the Info Menu.

◆ USB_DEVICE_VENDOR_ID

#define USB_DEVICE_VENDOR_ID   0x03EB /* ATMEL VID */

Set the vendor info the serial USB interface, if changable Currently only supported by DUE platform

◆ USB_DEVICE_PRODUCT_ID

#define USB_DEVICE_PRODUCT_ID   0x2424 /* MSC / CDC */

◆ USB_DEVICE_MANUFACTURE_NAME

#define USB_DEVICE_MANUFACTURE_NAME   WEBSITE_URL

USB Device string definitions (Optional)

◆ USB_DEVICE_PRODUCT_NAME

#define USB_DEVICE_PRODUCT_NAME   MACHINE_NAME

◆ USB_DEVICE_SERIAL_NAME

#define USB_DEVICE_SERIAL_NAME   "123985739853"