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

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