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

.travis.yml 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. ---
  2. language: c
  3. #
  4. notifications:
  5. email: false
  6. #
  7. before_install:
  8. #
  9. # Fetch the tag information for the current branch
  10. - git fetch origin --tags
  11. #
  12. # Publish the buildroot script folder
  13. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  14. - ln -s ${TRAVIS_BUILD_DIR}/buildroot/bin/ ~/bin
  15. #
  16. # Start fb X server
  17. - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
  18. - sleep 3
  19. - export DISPLAY=:1.0
  20. #
  21. install:
  22. #
  23. # Install arduino 1.6.10
  24. - wget http://downloads-02.arduino.cc/arduino-1.6.10-linux64.tar.xz
  25. - tar xf arduino-1.6.10-linux64.tar.xz
  26. - sudo mv arduino-1.6.10 /usr/local/share/arduino
  27. - ln -s /usr/local/share/arduino/arduino ${TRAVIS_BUILD_DIR}/buildroot/bin/arduino
  28. #
  29. # Install: LiquidCrystal_I2C library
  30. - git clone https://github.com/kiyoshigawa/LiquidCrystal_I2C.git
  31. - mv LiquidCrystal_I2C/LiquidCrystal_I2C /usr/local/share/arduino/libraries/LiquidCrystal_I2C
  32. #
  33. # Install: LiquidTWI2 library
  34. - git clone https://github.com/lincomatic/LiquidTWI2.git
  35. - sudo mv LiquidTWI2 /usr/local/share/arduino/libraries/LiquidTWI2
  36. #
  37. # Install: Monochrome Graphics Library for LCDs and OLEDs
  38. - git clone https://github.com/olikraus/U8glib_Arduino.git
  39. - sudo mv U8glib_Arduino /usr/local/share/arduino/libraries/U8glib
  40. #
  41. # Install: L6470 Stepper Motor Driver library
  42. # - git clone https://github.com/ameyer/Arduino-L6470.git
  43. # - sudo mv Arduino-L6470/L6470 /usr/local/share/arduino/libraries/L6470
  44. #
  45. # Install: TMC26X Stepper Motor Controller library
  46. # - git clone https://github.com/trinamic/TMC26XStepper.git
  47. # - sudo mv TMC26XStepper /usr/local/share/arduino/libraries/TMC26XStepper
  48. #
  49. # Install: TMC2130 Stepper Motor Controller library
  50. - git clone https://github.com/teemuatlut/TMC2130Stepper.git
  51. - sudo mv TMC2130Stepper /usr/local/share/arduino/libraries/TMC2130Stepper
  52. #
  53. # Install: Adafruit Neopixel library
  54. - git clone https://github.com/adafruit/Adafruit_NeoPixel.git
  55. - sudo mv Adafruit_NeoPixel /usr/local/share/arduino/libraries/Adafruit_NeoPixel
  56. #
  57. before_script:
  58. #
  59. # Change current working directory to the build dir
  60. - cd ${TRAVIS_BUILD_DIR}
  61. #
  62. # Generate custom version include
  63. - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin
  64. - cat ${TRAVIS_BUILD_DIR}/Marlin/_Version.h
  65. #
  66. script:
  67. #
  68. # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
  69. #
  70. - cp Marlin/Configuration.h Marlin/Configuration.h.backup
  71. - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
  72. - cp Marlin/pins_RAMPS.h Marlin/pins_RAMPS.h.backup
  73. #
  74. # Build with the default configurations
  75. #
  76. - build_marlin
  77. #
  78. # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
  79. # plus a "Fix Mounted" Probe with Safe Homing and some arc options
  80. #
  81. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  82. - opt_set EXTRUDERS 2
  83. - opt_set TEMP_SENSOR_0 -2
  84. - opt_set TEMP_SENSOR_1 1
  85. - opt_set TEMP_SENSOR_BED 1
  86. - opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES
  87. - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_RGBW_LED
  88. - build_marlin
  89. #
  90. # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
  91. #
  92. - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  93. - opt_set ABL_GRID_POINTS_X 16
  94. - opt_set ABL_GRID_POINTS_Y 16
  95. - build_marlin
  96. #
  97. # Test a simple build of AUTO_BED_LEVELING_UBL
  98. #
  99. - restore_configs
  100. - opt_enable AUTO_BED_LEVELING_UBL UBL_G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT FIX_MOUNTED_PROBE EEPROM_SETTINGS G3D_PANEL
  101. - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING
  102. - build_marlin
  103. #
  104. # Test a Sled Z Probe
  105. # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
  106. #
  107. - restore_configs
  108. - opt_enable Z_PROBE_SLED AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  109. - build_marlin
  110. #
  111. # Test a Servo Probe
  112. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  113. #
  114. - restore_configs
  115. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  116. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  117. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
  118. - build_marlin
  119. #
  120. # Test MESH_BED_LEVELING feature, with LCD
  121. #
  122. - restore_configs
  123. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
  124. - build_marlin
  125. #
  126. # Test PROBE_MANUALLY feature, with LCD support,
  127. # EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  128. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  129. #
  130. - restore_configs
  131. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  132. - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR LCD_BED_LEVELING ULTIMAKERCONTROLLER
  133. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  134. - build_marlin
  135. #
  136. # Test 5 extruders on AZTEEG_X3_PRO (can use any board with >=5 extruders defined)
  137. # Include a test for LIN_ADVANCE here also
  138. #
  139. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  140. - opt_set EXTRUDERS 5
  141. - opt_set TEMP_SENSOR_1 1
  142. - opt_set TEMP_SENSOR_2 5
  143. - opt_set TEMP_SENSOR_3 20
  144. - opt_set TEMP_SENSOR_4 999
  145. - opt_set TEMP_SENSOR_BED 1
  146. - opt_enable_adv LIN_ADVANCE
  147. - build_marlin
  148. #
  149. # Mixing Extruder with 5 steppers
  150. #
  151. - restore_configs
  152. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  153. - opt_enable MIXING_EXTRUDER
  154. - opt_set MIXING_STEPPERS 5
  155. - build_marlin
  156. #
  157. # Test DUAL_X_CARRIAGE
  158. #
  159. - restore_configs
  160. - opt_set MOTHERBOARD BOARD_RUMBA
  161. - opt_set EXTRUDERS 2
  162. - opt_set TEMP_SENSOR_1 1
  163. - opt_enable USE_XMAX_PLUG
  164. - opt_enable_adv DUAL_X_CARRIAGE
  165. - build_marlin
  166. #
  167. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  168. #
  169. - restore_configs
  170. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  171. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  172. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  173. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  174. #
  175. # Test SWITCHING_EXTRUDER
  176. #
  177. - restore_configs
  178. - opt_set MOTHERBOARD BOARD_RUMBA
  179. - opt_set EXTRUDERS 2
  180. - opt_enable NUM_SERVOS
  181. - opt_set NUM_SERVOS 1
  182. - opt_set TEMP_SENSOR_1 1
  183. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  184. - build_marlin
  185. #
  186. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  187. # ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
  188. # PRINTCOUNTER, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE, PCA9632,
  189. # Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS, BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS,
  190. # FILAMENT_CHANGE_FEATURE, PARK_HEAD_ON_PAUSE, LCD_INFO_MENU,
  191. #
  192. - restore_configs
  193. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR SDSUPPORT
  194. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632
  195. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  196. - opt_set_adv I2C_SLAVE_ADDRESS 63
  197. - opt_enable_adv FILAMENT_CHANGE_FEATURE PARK_HEAD_ON_PAUSE LCD_INFO_MENU
  198. - pins_set RAMPS X_MAX_PIN -1
  199. - opt_set_adv Z2_MAX_PIN 2
  200. - build_marlin
  201. #
  202. # Enable COREXY
  203. #
  204. - restore_configs
  205. - opt_enable COREXY
  206. - build_marlin
  207. #
  208. # Enable COREYX (swapped)
  209. #
  210. #- restore_configs
  211. #- opt_enable COREYX
  212. #- build_marlin
  213. #
  214. #
  215. ######## Other Standard LCD/Panels ##############
  216. #
  217. # ULTRA_LCD
  218. #
  219. - restore_configs
  220. - opt_enable ULTRA_LCD
  221. - build_marlin
  222. #
  223. # DOGLCD
  224. #
  225. - restore_configs
  226. - opt_enable DOGLCD
  227. - build_marlin
  228. #
  229. # MAKRPANEL
  230. # Needs to use Melzi and Sanguino hardware
  231. #
  232. #- restore_configs
  233. #- opt_enable MAKRPANEL
  234. #- build_marlin
  235. #
  236. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  237. #
  238. - restore_configs
  239. - opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  240. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  241. - build_marlin
  242. #
  243. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  244. #
  245. - restore_configs
  246. - opt_enable G3D_PANEL SDSUPPORT
  247. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
  248. - opt_set_adv SDSORT_GCODE true
  249. - opt_set_adv SDSORT_USES_RAM true
  250. - opt_set_adv SDSORT_USES_STACK true
  251. - opt_set_adv SDSORT_CACHE_NAMES true
  252. - build_marlin
  253. #
  254. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  255. #
  256. - restore_configs
  257. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  258. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING
  259. - build_marlin
  260. #
  261. # REPRAPWORLD_KEYPAD
  262. #
  263. # Cant find configuration details to get it to compile
  264. #- restore_configs
  265. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  266. #- build_marlin
  267. #
  268. # RA_CONTROL_PANEL
  269. #
  270. - restore_configs
  271. - opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  272. - build_marlin
  273. #
  274. ######## I2C LCD/PANELS ##############
  275. #
  276. # !!!ATTENTION!!!
  277. # Most I2C configurations are failing at the moment because they require
  278. # a different Liquid Crystal library "LiquidTWI2".
  279. #
  280. # LCD_I2C_SAINSMART_YWROBOT
  281. #
  282. #- restore_configs
  283. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  284. #- build_marlin
  285. #
  286. # LCD_I2C_PANELOLU2
  287. #
  288. #- restore_configs
  289. #- opt_enable LCD_I2C_PANELOLU2
  290. #- build_marlin
  291. #
  292. # LCD_I2C_VIKI
  293. #
  294. #- restore_configs
  295. #- opt_enable LCD_I2C_VIKI
  296. #- build_marlin
  297. #
  298. # LCM1602
  299. #
  300. - restore_configs
  301. - opt_enable LCM1602
  302. - build_marlin
  303. #
  304. #
  305. ######## Example Configurations ##############
  306. #
  307. # BQ Hephestos 2
  308. #- restore_configs
  309. #- use_example_configs Hephestos_2
  310. #- build_marlin
  311. #
  312. # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
  313. - use_example_configs delta/generic
  314. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  315. - build_marlin
  316. #
  317. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  318. #
  319. - use_example_configs delta/generic
  320. - opt_disable DISABLE_MIN_ENDSTOPS
  321. - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2
  322. - build_marlin
  323. #
  324. # Delta Config (FLSUN AC because it's complex)
  325. #
  326. - use_example_configs delta/FLSUN/auto_calibrate
  327. - build_marlin
  328. #
  329. # Makibox Config need to check board type for Teensy++ 2.0
  330. #
  331. #- use_example_configs makibox
  332. #- build_marlin
  333. #
  334. # SCARA with TMC2130
  335. #
  336. - use_example_configs SCARA
  337. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
  338. - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
  339. - opt_enable_adv AUTOMATIC_CURRENT_CONTROL STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
  340. - build_marlin
  341. #
  342. # tvrrug Config need to check board type for sanguino atmega644p
  343. #
  344. #- use_example_configs tvrrug/Round2
  345. #- build_marlin
  346. #
  347. #
  348. ######## Board Types #############
  349. #
  350. # To be added in nightly test branch
  351. #