My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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