My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

.travis.yml 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  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/MarlinFirmware/Trinamic_TMC2130.git
  51. - sudo mv Trinamic_TMC2130/Trinamic_TMC2130 /usr/local/share/arduino/libraries/Trinamic_TMC2130
  52. #
  53. before_script:
  54. #
  55. # Change current working directory to the build dir
  56. - cd ${TRAVIS_BUILD_DIR}
  57. #
  58. # Generate custom version include
  59. - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin
  60. - cat ${TRAVIS_BUILD_DIR}/Marlin/_Version.h
  61. #
  62. script:
  63. #
  64. # Backup Configuration.h, Configuration_adv.h, and pins_RAMPS.h
  65. #
  66. - cp Marlin/Configuration.h Marlin/Configuration.h.backup
  67. - cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
  68. - cp Marlin/pins_RAMPS.h Marlin/pins_RAMPS.h.backup
  69. #
  70. # Build with the default configurations
  71. #
  72. - build_marlin
  73. #
  74. # Test heated bed temperature sensor
  75. #
  76. - opt_set TEMP_SENSOR_BED 1
  77. - build_marlin
  78. #
  79. # Test 2 extruders on basic RAMPS 1.4
  80. #
  81. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  82. - opt_set EXTRUDERS 2
  83. - opt_set TEMP_SENSOR_1 1
  84. - build_marlin
  85. #
  86. # Test 3 extruders on RUMBA (can use any board with >=3 extruders defined)
  87. # Include a test for LIN_ADVANCE here also
  88. #
  89. - opt_set MOTHERBOARD BOARD_RUMBA
  90. - opt_set EXTRUDERS 3
  91. - opt_set TEMP_SENSOR_2 1
  92. - opt_enable_adv LIN_ADVANCE
  93. - build_marlin
  94. #
  95. # Test PIDTEMPBED
  96. #
  97. - restore_configs
  98. - opt_enable PIDTEMPBED
  99. - build_marlin
  100. #
  101. # Test MAX6675
  102. #
  103. - restore_configs
  104. - opt_set TEMP_SENSOR_0 -2
  105. - build_marlin
  106. #
  107. # Test a "Fix Mounted" Probe along with Safe Homing
  108. #
  109. - restore_configs
  110. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING
  111. - build_marlin
  112. #
  113. # ...with AUTO_BED_LEVELING_LINEAR, Z_MIN_PROBE_REPEATABILITY_TEST, and DEBUG_LEVELING_FEATURE
  114. #
  115. - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  116. - opt_set ABL_GRID_POINTS_X 16
  117. - opt_set ABL_GRID_POINTS_Y 16
  118. - build_marlin
  119. #
  120. # Test a Sled Z Probe
  121. #
  122. - restore_configs
  123. - opt_enable Z_PROBE_SLED
  124. - build_marlin
  125. #
  126. # ...with AUTO_BED_LEVELING_LINEAR, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, and EEPROM_CHITCHAT
  127. #
  128. - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  129. - build_marlin
  130. #
  131. # Test a Servo Probe
  132. #
  133. - restore_configs
  134. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  135. - build_marlin
  136. #
  137. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  138. #
  139. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  140. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  141. - build_marlin
  142. #
  143. # Test MESH_BED_LEVELING feature, with LCD
  144. #
  145. - restore_configs
  146. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  147. - build_marlin
  148. #
  149. # Test EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  150. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  151. #
  152. - restore_configs
  153. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  154. - build_marlin
  155. #
  156. # Mixing Extruder
  157. #
  158. - restore_configs
  159. - opt_enable MIXING_EXTRUDER
  160. - opt_set MIXING_STEPPERS 2
  161. - build_marlin
  162. #
  163. # Test DUAL_X_CARRIAGE
  164. #
  165. - restore_configs
  166. - opt_set MOTHERBOARD BOARD_RUMBA
  167. - opt_set EXTRUDERS 2
  168. - opt_set TEMP_SENSOR_1 1
  169. - opt_enable USE_XMAX_PLUG
  170. - opt_enable_adv DUAL_X_CARRIAGE
  171. - build_marlin
  172. #
  173. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  174. #
  175. - restore_configs
  176. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  177. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  178. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  179. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  180. #
  181. # Test SWITCHING_EXTRUDER
  182. #
  183. - restore_configs
  184. - opt_set MOTHERBOARD BOARD_RUMBA
  185. - opt_set EXTRUDERS 2
  186. - opt_enable NUM_SERVOS
  187. - opt_set NUM_SERVOS 1
  188. - opt_set TEMP_SENSOR_1 1
  189. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  190. - build_marlin
  191. #
  192. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  193. #
  194. - restore_configs
  195. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  196. - build_marlin
  197. #
  198. # Test FILAMENT_CHANGE_FEATURE and LCD_INFO_MENU
  199. #
  200. - restore_configs
  201. - opt_enable ULTIMAKERCONTROLLER
  202. - opt_enable_adv FILAMENT_CHANGE_FEATURE LCD_INFO_MENU
  203. - build_marlin
  204. #
  205. # Enable filament sensor
  206. #
  207. - restore_configs
  208. - opt_enable FILAMENT_WIDTH_SENSOR
  209. - build_marlin
  210. #
  211. # Enable filament sensor with LCD display
  212. #
  213. - opt_enable ULTIMAKERCONTROLLER FILAMENT_LCD_DISPLAY
  214. - build_marlin
  215. #
  216. # Enable BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS, and I2C_SLAVE_ADDRESS
  217. #
  218. - restore_configs
  219. - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  220. - opt_set_adv I2C_SLAVE_ADDRESS 63
  221. - build_marlin
  222. #
  223. # Enable COREXY
  224. #
  225. - restore_configs
  226. - opt_enable COREXY
  227. - build_marlin
  228. #
  229. # Enable COREXZ
  230. #
  231. - restore_configs
  232. - opt_enable COREXZ
  233. - build_marlin
  234. #
  235. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  236. #
  237. - restore_configs
  238. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  239. - pins_set RAMPS X_MAX_PIN -1
  240. - opt_set_adv Z2_MAX_PIN 2
  241. - build_marlin
  242. #
  243. # Test PRINTCOUNTER
  244. #
  245. - restore_configs
  246. - opt_enable PRINTCOUNTER
  247. - build_marlin
  248. #
  249. # Test NOZZLE_PARK_FEATURE
  250. #
  251. - restore_configs
  252. - opt_enable NOZZLE_PARK_FEATURE
  253. - build_marlin
  254. #
  255. # Test NOZZLE_CLEAN_FEATURE
  256. #
  257. - restore_configs
  258. - opt_enable NOZZLE_CLEAN_FEATURE
  259. - build_marlin
  260. #
  261. #
  262. ######## STANDARD LCD/PANELS ##############
  263. #
  264. # ULTRA_LCD
  265. #
  266. - restore_configs
  267. - opt_enable ULTRA_LCD
  268. - build_marlin
  269. #
  270. # DOGLCD
  271. #
  272. - restore_configs
  273. - opt_enable DOGLCD
  274. - build_marlin
  275. #
  276. # ULTIMAKERCONTROLLER
  277. #
  278. - restore_configs
  279. - opt_enable ULTIMAKERCONTROLLER
  280. - build_marlin
  281. #
  282. # MAKRPANEL
  283. # Needs to use Melzi and Sanguino hardware
  284. #
  285. #- restore_configs
  286. #- opt_enable MAKRPANEL
  287. #- build_marlin
  288. #
  289. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, and BABYSTEPPING
  290. #
  291. - restore_configs
  292. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING
  293. - build_marlin
  294. #
  295. # G3D_PANEL
  296. #
  297. - restore_configs
  298. - opt_enable G3D_PANEL SDSUPPORT
  299. - build_marlin
  300. #
  301. # Add SDCARD_SORT_ALPHA, test G3D_PANEL again
  302. #
  303. - opt_enable_adv SDCARD_SORT_ALPHA
  304. - opt_set_adv SDSORT_GCODE true
  305. - opt_set_adv SDSORT_USES_RAM true
  306. - opt_set_adv SDSORT_USES_STACK true
  307. - opt_set_adv SDSORT_CACHE_NAMES true
  308. - build_marlin
  309. #
  310. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  311. #
  312. - restore_configs
  313. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  314. - build_marlin
  315. #
  316. # REPRAPWORLD_KEYPAD
  317. #
  318. # Cant find configuration details to get it to compile
  319. #- restore_configs
  320. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  321. #- build_marlin
  322. #
  323. # RA_CONTROL_PANEL
  324. #
  325. - restore_configs
  326. - opt_enable RA_CONTROL_PANEL
  327. - build_marlin
  328. #
  329. ######## I2C LCD/PANELS ##############
  330. #
  331. # !!!ATTENTION!!!
  332. # Most I2C configurations are failing at the moment because they require
  333. # a different Liquid Crystal library "LiquidTWI2".
  334. #
  335. # LCD_I2C_SAINSMART_YWROBOT
  336. #
  337. #- restore_configs
  338. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  339. #- build_marlin
  340. #
  341. # LCD_I2C_PANELOLU2
  342. #
  343. #- restore_configs
  344. #- opt_enable LCD_I2C_PANELOLU2
  345. #- build_marlin
  346. #
  347. # LCD_I2C_VIKI
  348. #
  349. #- restore_configs
  350. #- opt_enable LCD_I2C_VIKI
  351. #- build_marlin
  352. #
  353. # LCM1602
  354. #
  355. - restore_configs
  356. - opt_enable LCM1602
  357. - build_marlin
  358. #
  359. #
  360. ######## Example Configurations ##############
  361. #
  362. # BQ Hephestos 2
  363. - restore_configs
  364. - use_example_configs Hephestos_2
  365. - build_marlin
  366. #
  367. # Delta Config (generic)
  368. - restore_configs
  369. - use_example_configs delta/generic
  370. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU
  371. - build_marlin
  372. #
  373. # Delta Config (generic) + ABL + ALLEN_KEY
  374. #
  375. - use_example_configs delta/generic
  376. - opt_disable DISABLE_MIN_ENDSTOPS
  377. - opt_enable AUTO_BED_LEVELING_BILINEAR Z_PROBE_ALLEN_KEY
  378. - build_marlin
  379. #
  380. # Delta Config (Mini Kossel)
  381. #
  382. - use_example_configs delta/kossel_mini
  383. - build_marlin
  384. #
  385. # Makibox Config need to check board type for Teensy++ 2.0
  386. #
  387. #- use_example_configs makibox
  388. #- build_marlin
  389. #
  390. # SCARA Config
  391. #
  392. - use_example_configs SCARA
  393. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
  394. - build_marlin
  395. #
  396. # TMC2130 Config
  397. #
  398. - restore_configs
  399. - opt_enable_adv HAVE_TMC2130DRIVER X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130 E0_IS_TMC2130
  400. - build_marlin
  401. #
  402. # tvrrug Config need to check board type for sanguino atmega644p
  403. #
  404. #- use_example_configs tvrrug/Round2
  405. #- build_marlin
  406. #
  407. #
  408. ######## Board Types #############
  409. #
  410. # To be added in nightly test branch
  411. #