My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

.travis.yml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. dist: trusty
  2. sudo: false
  3. language: python
  4. python:
  5. - "2.7"
  6. notifications:
  7. email: false
  8. # Cache PlatformIO packages using Travis CI container-based infrastructure
  9. sudo: false
  10. cache:
  11. pip: true
  12. directories:
  13. - "~/.platformio"
  14. env:
  15. - TEST_PLATFORM="-e megaatmega2560"
  16. before_install:
  17. #
  18. # Fetch the tag information for the current branch
  19. - git fetch origin --tags
  20. #
  21. # Publish the buildroot script folder
  22. - chmod +x ${TRAVIS_BUILD_DIR}/buildroot/bin/*
  23. - export PATH=${TRAVIS_BUILD_DIR}/buildroot/bin/:${PATH}
  24. install:
  25. #- pip install -U platformio
  26. - pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
  27. before_script:
  28. # Update PlatformIO packages
  29. - platformio update
  30. #
  31. # Change current working directory to the build dir
  32. - cd ${TRAVIS_BUILD_DIR}
  33. #
  34. # Generate custom version include
  35. - generate_version_header_for_marlin ${TRAVIS_BUILD_DIR}/Marlin/src/inc
  36. - cat ${TRAVIS_BUILD_DIR}/Marlin/src/inc/_Version.h
  37. #
  38. script:
  39. #
  40. # Backup pins_RAMPS.h
  41. #
  42. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  43. #
  44. # Build with the default configurations
  45. #
  46. - restore_configs
  47. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  48. #
  49. # Test 2 extruders (one MAX6675) and heated bed on basic RAMPS 1.4
  50. # Test a "Fix Mounted" Probe with Safe Homing, some arc options,
  51. # linear bed leveling, M48, leveling debug, and firmware retraction.
  52. #
  53. - opt_set MOTHERBOARD BOARD_RAMPS_14_EEB
  54. - opt_set EXTRUDERS 2
  55. - opt_set TEMP_SENSOR_0 -2
  56. - opt_set TEMP_SENSOR_1 1
  57. - opt_set TEMP_SENSOR_BED 1
  58. - opt_set POWER_SUPPLY 1
  59. - opt_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING
  60. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS PINS_DEBUGGING
  61. - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_LED AUTO_POWER_CONTROL NOZZLE_PARK_FEATURE FILAMENT_RUNOUT_SENSOR
  62. - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  63. - opt_enable_adv ARC_P_CIRCLES ADVANCED_PAUSE_FEATURE CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS POWER_LOSS_RECOVERY
  64. - opt_enable_adv FWRETRACT MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL CODEPENDENT_XY_HOMING
  65. - opt_set GRID_MAX_POINTS_X 16
  66. - opt_set_adv FANMUX0_PIN 53
  67. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  68. #
  69. # Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
  70. #
  71. - restore_configs
  72. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  73. - opt_set EXTRUDERS 5
  74. - opt_set TEMP_SENSOR_1 1
  75. - opt_set TEMP_SENSOR_2 5
  76. - opt_set TEMP_SENSOR_3 20
  77. - opt_set TEMP_SENSOR_4 999
  78. - opt_set TEMP_SENSOR_BED 1
  79. - opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATURE G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT SKEW_CORRECTION
  80. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  81. - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING BABYSTEP_XY LIN_ADVANCE NANODLP_Z_SYNC QUICK_HOME JUNCTION_DEVIATION
  82. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  83. #
  84. # Add a Sled Z Probe, use UBL Cartesian moves, use Japanese language
  85. #
  86. - opt_enable Z_PROBE_SLED SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  87. - opt_set LCD_LANGUAGE jp-kana
  88. - opt_disable SEGMENT_LEVELED_MOVES
  89. - opt_enable_adv BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING
  90. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  91. #
  92. # Test a Servo Probe
  93. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  94. #
  95. - restore_configs
  96. - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  97. - opt_set NUM_SERVOS 1
  98. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  99. - opt_enable_adv NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
  100. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  101. #
  102. # Test MESH_BED_LEVELING feature, with LCD
  103. #
  104. - restore_configs
  105. - opt_enable MESH_BED_LEVELING G26_MESH_EDITING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
  106. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  107. #
  108. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  109. # PROBE_MANUALLY feature, with LCD support,
  110. # ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
  111. # PRINTCOUNTER, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE, PCA9632,
  112. # Z_DUAL_ENDSTOPS, BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS,
  113. # ADVANCED_PAUSE_FEATURE, ADVANCED_PAUSE_CONTINUOUS_PURGE, PARK_HEAD_ON_PAUSE, LCD_INFO_MENU,
  114. # EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  115. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  116. #
  117. - restore_configs
  118. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  119. - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR G26_MESH_EDITING LCD_BED_LEVELING ULTIMAKERCONTROLLER
  120. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  121. - opt_enable ULTIMAKERCONTROLLER SDSUPPORT
  122. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632
  123. - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  124. - opt_enable_adv ADVANCED_PAUSE_FEATURE ADVANCED_PAUSE_CONTINUOUS_PURGE FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE LCD_INFO_MENU M114_DETAIL
  125. - opt_set_adv PWM_MOTOR_CURRENT {1300,1300,1250}
  126. - opt_set_adv I2C_SLAVE_ADDRESS 63
  127. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  128. #
  129. # Mixing Extruder with 5 steppers, Cyrillic
  130. #
  131. - restore_configs
  132. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  133. - opt_enable MIXING_EXTRUDER CR10_STOCKDISPLAY
  134. - opt_set MIXING_STEPPERS 5
  135. - opt_set LCD_LANGUAGE ru
  136. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  137. #
  138. # Test DUAL_X_CARRIAGE
  139. #
  140. - restore_configs
  141. - opt_set MOTHERBOARD BOARD_RUMBA
  142. - opt_set EXTRUDERS 2
  143. - opt_set TEMP_SENSOR_1 1
  144. - opt_enable USE_XMAX_PLUG
  145. - opt_enable_adv DUAL_X_CARRIAGE
  146. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  147. #
  148. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  149. #
  150. #- restore_configs
  151. #- opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  152. #- opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  153. #- opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  154. #- opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  155. #
  156. # Test SWITCHING_EXTRUDER
  157. #
  158. - restore_configs
  159. - opt_set MOTHERBOARD BOARD_RUMBA
  160. - opt_set EXTRUDERS 2
  161. - opt_enable NUM_SERVOS
  162. - opt_set NUM_SERVOS 1
  163. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  164. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  165. #
  166. # Enable COREXY
  167. #
  168. #- restore_configs
  169. #- opt_enable COREXY
  170. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  171. #
  172. # Test many less common options
  173. #
  174. - restore_configs
  175. - opt_enable COREYX
  176. - opt_set_adv FAN_MIN_PWM 50
  177. - opt_set_adv FAN_KICKSTART_TIME 100
  178. - opt_set_adv XY_FREQUENCY_LIMIT 15
  179. - opt_enable_adv SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER FAN_KICKSTART_TIME
  180. - opt_enable_adv ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ADVANCED_OK
  181. - opt_enable_adv VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL
  182. - opt_enable_adv EXTRA_FAN_SPEED FWERETRACT Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  183. - opt_enable_adv MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
  184. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  185. - opt_enable FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR
  186. - opt_enable ENDSTOP_INTERRUPTS_FEATURE FAN_SOFT_PWM SDSUPPORT
  187. - opt_enable USE_XMAX_PLUG
  188. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  189. #
  190. ######## Other Standard LCD/Panels ##############
  191. #
  192. # ULTRA_LCD
  193. #
  194. #- restore_configs
  195. #- opt_enable ULTRA_LCD
  196. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  197. #
  198. # DOGLCD
  199. #
  200. #- restore_configs
  201. #- opt_enable DOGLCD
  202. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  203. #
  204. # MAKRPANEL
  205. # Needs to use Melzi and Sanguino hardware
  206. #
  207. #- restore_configs
  208. #- opt_enable MAKRPANEL
  209. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  210. #
  211. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  212. #
  213. #- restore_configs
  214. #- opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  215. #- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  216. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  217. # #
  218. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  219. #
  220. #- restore_configs
  221. #- opt_enable G3D_PANEL SDSUPPORT
  222. #- opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  223. #- opt_set_adv SDSORT_GCODE true
  224. #- opt_set_adv SDSORT_USES_RAM true
  225. #- opt_set_adv SDSORT_USES_STACK true
  226. #- opt_set_adv SDSORT_CACHE_NAMES true
  227. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  228. #
  229. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with LIGHTWEIGHT_UI
  230. #
  231. - restore_configs
  232. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  233. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES LIGHTWEIGHT_UI
  234. - opt_set_adv SDSORT_GCODE true
  235. - opt_set_adv SDSORT_USES_RAM true
  236. - opt_set_adv SDSORT_USES_STACK true
  237. - opt_set_adv SDSORT_CACHE_NAMES true
  238. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  239. #
  240. # REPRAPWORLD_KEYPAD
  241. #
  242. # Cant find configuration details to get it to compile
  243. #- restore_configs
  244. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  245. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  246. #
  247. # RA_CONTROL_PANEL
  248. #
  249. #- restore_configs
  250. #- opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  251. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  252. #
  253. ######## I2C LCD/PANELS ##############
  254. #
  255. # !!!ATTENTION!!!
  256. # Most I2C configurations are failing at the moment because they require
  257. # a different Liquid Crystal library "LiquidTWI2".
  258. #
  259. # LCD_SAINSMART_I2C_1602
  260. #
  261. #- restore_configs
  262. #- opt_enable LCD_SAINSMART_I2C_1602
  263. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  264. #
  265. # LCD_I2C_PANELOLU2
  266. #
  267. #- restore_configs
  268. #- opt_enable LCD_I2C_PANELOLU2
  269. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  270. #
  271. # LCD_I2C_VIKI
  272. #
  273. #- restore_configs
  274. #- opt_enable LCD_I2C_VIKI
  275. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  276. #
  277. # LCM1602
  278. #
  279. #- restore_configs
  280. #- opt_enable LCM1602
  281. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  282. #
  283. # Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  284. #
  285. #- restore_configs
  286. #- opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  287. #- for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}; done
  288. #
  289. #- restore_configs
  290. #- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  291. #- for lang in an bg ca zh_CN zh_TW cz da de el el-gr en es eu fi fr gl hr it jp-kana nl pl pt pt-br ru sk tr uk test; do opt_set LCD_LANGUAGE $lang; echo "compile with language $lang ..."; build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}; done
  292. #
  293. #
  294. ######## Example Configurations ##############
  295. #
  296. # BQ Hephestos 2
  297. #- restore_configs
  298. #- use_example_configs Hephestos_2
  299. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  300. #
  301. # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
  302. - use_example_configs delta/generic
  303. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  304. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  305. #
  306. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  307. #
  308. - use_example_configs delta/generic
  309. - opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT
  310. - opt_enable OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
  311. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  312. #
  313. # Delta Config (FLSUN AC because it's complex)
  314. #
  315. - use_example_configs delta/FLSUN/auto_calibrate
  316. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  317. #
  318. # Makibox Config need to check board type for Teensy++ 2.0
  319. #
  320. #- use_example_configs makibox
  321. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  322. #
  323. # SCARA with TMC2130
  324. #
  325. - use_example_configs SCARA
  326. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
  327. - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
  328. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
  329. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  330. #
  331. # TMC2208 Config
  332. #
  333. - restore_configs
  334. - opt_enable_adv HAVE_TMC2208 X_IS_TMC2208 Y_IS_TMC2208 Z_IS_TMC2208
  335. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG
  336. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  337. #
  338. # tvrrug Config need to check board type for sanguino atmega644p
  339. #
  340. #- use_example_configs tvrrug/Round2
  341. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  342. #
  343. #
  344. ######## Board Types #############
  345. #
  346. # To be added in nightly test branch
  347. #
  348. - export TEST_PLATFORM="-e teensy35"
  349. - restore_configs
  350. - opt_set MOTHERBOARD BOARD_TEENSY35_36
  351. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  352. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  353. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  354. #
  355. # Test Teensy3.5 with default config
  356. #
  357. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  358. #
  359. # Test as many features together as possible
  360. #
  361. - restore_configs
  362. - opt_set EXTRUDERS 2
  363. - opt_set TEMP_SENSOR_0 1
  364. - opt_set TEMP_SENSOR_1 5
  365. - opt_set TEMP_SENSOR_BED 1
  366. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  367. - opt_enable FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
  368. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  369. - opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY
  370. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE SLOW_PWM_HEATERS PIDTEMPBED EEPROM_SETTINGS INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT M100_FREE_MEMORY_WATCHER
  371. - opt_enable_adv ADVANCED_PAUSE_FEATURE LCD_INFO_MENU ARC_SUPPORT BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES SDCARD_SORT_ALPHA PARK_HEAD_ON_PAUSE
  372. - opt_set_adv I2C_SLAVE_ADDRESS 63
  373. - opt_set GRID_MAX_POINTS_X 16
  374. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  375. #
  376. # Test a Sled Z Probe with Linear leveling
  377. #
  378. - restore_configs
  379. - opt_enable Z_PROBE_SLED
  380. - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  381. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  382. #
  383. # Test a Servo Probe
  384. #
  385. - restore_configs
  386. - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  387. - opt_set NUM_SERVOS 1
  388. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  389. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  390. #
  391. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  392. #
  393. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  394. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  395. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  396. #
  397. # Test MESH_BED_LEVELING feature, with LCD
  398. #
  399. - restore_configs
  400. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  401. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  402. #
  403. # Mixing Extruder
  404. #
  405. - restore_configs
  406. - opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1
  407. - opt_set MIXING_STEPPERS 2
  408. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  409. #
  410. # Test SWITCHING_EXTRUDER
  411. #
  412. - restore_configs
  413. - opt_set EXTRUDERS 2
  414. - opt_enable NUM_SERVOS
  415. - opt_set NUM_SERVOS 1
  416. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  417. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  418. #
  419. # Enable COREXY
  420. #
  421. - restore_configs
  422. - opt_enable COREXY
  423. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  424. #
  425. # Enable COREXZ
  426. #
  427. - restore_configs
  428. - opt_enable COREXZ
  429. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  430. #
  431. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  432. #
  433. - restore_configs
  434. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  435. - pins_set RAMPS X_MAX_PIN -1
  436. - opt_add_adv Z2_MAX_PIN 2
  437. - opt_enable USE_XMAX_PLUG
  438. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  439. #############################
  440. # DUE default config test
  441. #############################
  442. - export TEST_PLATFORM="-e DUE"
  443. - restore_configs
  444. - opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
  445. - opt_set S_CURVE_ACCELERATION
  446. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  447. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  448. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  449. #############################
  450. # LPC1768 default config test
  451. #############################
  452. - export TEST_PLATFORM="-e LPC1768"
  453. - restore_configs
  454. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  455. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  456. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  457. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  458. #
  459. # Enable VIKI2, SDSUPPORT
  460. #
  461. - restore_configs
  462. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  463. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  464. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  465. - opt_enable VIKI2 SDSUPPORT
  466. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}