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.

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