My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * Release version. Leave the Marlin version or apply a custom scheme.
  25. */
  26. #ifndef SHORT_BUILD_VERSION
  27. #define SHORT_BUILD_VERSION "bugfix-2.0.x"
  28. #endif
  29. /**
  30. * Verbose version identifier containing a unique identifier, such as the
  31. * vendor name, download location, GitHub account, etc.
  32. */
  33. #ifndef DETAILED_BUILD_VERSION
  34. #define DETAILED_BUILD_VERSION SHORT_BUILD_VERSION " (GitHub)"
  35. #endif
  36. /**
  37. * The STRING_DISTRIBUTION_DATE represents when the binary file was built,
  38. * here we define this default string as the date where the latest release
  39. * version was tagged.
  40. */
  41. #ifndef STRING_DISTRIBUTION_DATE
  42. #define STRING_DISTRIBUTION_DATE "2020-03-13"
  43. #endif
  44. /**
  45. * Minimum Configuration.h and Configuration_adv.h file versions.
  46. * Set based on the release version number. Used to catch an attempt to use
  47. * older configurations. Override these if using a custom versioning scheme
  48. * to alert users to major changes.
  49. */
  50. #define MARLIN_HEX_VERSION 020004
  51. #ifndef REQUIRED_CONFIGURATION_H_VERSION
  52. #define REQUIRED_CONFIGURATION_H_VERSION MARLIN_HEX_VERSION
  53. #endif
  54. #ifndef REQUIRED_CONFIGURATION_ADV_H_VERSION
  55. #define REQUIRED_CONFIGURATION_ADV_H_VERSION MARLIN_HEX_VERSION
  56. #endif
  57. /**
  58. * The protocol for communication to the host. Protocol indicates communication
  59. * standards such as the use of ASCII, "echo:" and "error:" line prefixes, etc.
  60. * (Other behaviors are given by the firmware version and capabilities report.)
  61. */
  62. #ifndef PROTOCOL_VERSION
  63. #define PROTOCOL_VERSION "1.0"
  64. #endif
  65. /**
  66. * Define a generic printer name to be output to the LCD after booting Marlin.
  67. */
  68. #ifndef MACHINE_NAME
  69. #define MACHINE_NAME "3D Printer"
  70. #endif
  71. /**
  72. * Website where users can find Marlin source code for the binary installed on the
  73. * device. Override this if you provide public source code download. (GPLv3 requires
  74. * providing the source code to your customers.)
  75. */
  76. #ifndef SOURCE_CODE_URL
  77. #define SOURCE_CODE_URL "https://github.com/MarlinFirmware/Marlin"
  78. #endif
  79. /**
  80. * Default generic printer UUID.
  81. */
  82. #ifndef DEFAULT_MACHINE_UUID
  83. #define DEFAULT_MACHINE_UUID "cede2a2f-41a2-4748-9b12-c55c62f367ff"
  84. #endif
  85. /**
  86. * The WEBSITE_URL is the location where users can get more information such as
  87. * documentation about a specific Marlin release. Displayed in the Info Menu.
  88. */
  89. #ifndef WEBSITE_URL
  90. #define WEBSITE_URL "http://marlinfw.org"
  91. #endif
  92. /**
  93. * Set the vendor info the serial USB interface, if changable
  94. * Currently only supported by DUE platform
  95. */
  96. #ifndef USB_DEVICE_VENDOR_ID
  97. #define USB_DEVICE_VENDOR_ID 0x03EB /* ATMEL VID */
  98. #endif
  99. #ifndef USB_DEVICE_PRODUCT_ID
  100. #define USB_DEVICE_PRODUCT_ID 0x2424 /* MSC / CDC */
  101. #endif
  102. //! USB Device string definitions (Optional)
  103. #ifndef USB_DEVICE_MANUFACTURE_NAME
  104. #define USB_DEVICE_MANUFACTURE_NAME WEBSITE_URL
  105. #endif
  106. #ifdef CUSTOM_MACHINE_NAME
  107. #define USB_DEVICE_PRODUCT_NAME CUSTOM_MACHINE_NAME
  108. #else
  109. #define USB_DEVICE_PRODUCT_NAME MACHINE_NAME
  110. #endif
  111. #define USB_DEVICE_SERIAL_NAME "123985739853"