Version.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. ////////////////////////////
  24. // VENDOR VERSION EXAMPLE //
  25. ////////////////////////////
  26. /**
  27. * Marlin release version identifier
  28. */
  29. //#define SHORT_BUILD_VERSION "bugfix-2.1.x"
  30. /**
  31. * Verbose version identifier which should contain a reference to the location
  32. * from where the binary was downloaded or the source code was compiled.
  33. */
  34. //#define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION
  35. /**
  36. * The STRING_DISTRIBUTION_DATE represents when the binary file was built,
  37. * here we define this default string as the date where the latest release
  38. * version was tagged.
  39. */
  40. //#define STRING_DISTRIBUTION_DATE "2024-11-26"
  41. /**
  42. * The protocol for communication to the host. Protocol indicates communication
  43. * standards such as the use of ASCII, "echo:" and "error:" line prefixes, etc.
  44. * (Other behaviors are given by the firmware version and capabilities report.)
  45. */
  46. //#define PROTOCOL_VERSION "1.0"
  47. /**
  48. * Defines a generic printer name to be output to the LCD after booting Marlin.
  49. */
  50. //#define MACHINE_NAME "3D Printer"
  51. /**
  52. * The SOURCE_CODE_URL is the location where users will find the Marlin Source
  53. * Code which is installed on the device. In most cases —unless the manufacturer
  54. * has a distinct Github fork— the Source Code URL should just be the main
  55. * Marlin repository.
  56. */
  57. //#define SOURCE_CODE_URL "github.com/MarlinFirmware/Marlin"
  58. /**
  59. * Default generic printer UUID.
  60. */
  61. //#define DEFAULT_MACHINE_UUID "cede2a2f-41a2-4748-9b12-c55c62f367ff"
  62. /**
  63. * The WEBSITE_URL is the location where users can get more information such as
  64. * documentation about a specific Marlin release.
  65. */
  66. //#define WEBSITE_URL "marlinfw.org"
  67. /**
  68. * Set the vendor info the serial USB interface, if changeable.
  69. * Currently only supported by DUE platform.
  70. */
  71. //#define USB_DEVICE_VENDOR_ID 0x0000
  72. //#define USB_DEVICE_PRODUCT_ID 0x0000
  73. //#define USB_DEVICE_MANUFACTURE_NAME WEBSITE_URL