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.

.travis.yml 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  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_enable PIDTEMPBED FIX_MOUNTED_PROBE Z_SAFE_HOMING ARC_P_CIRCLES CNC_WORKSPACE_PLANES CNC_COORDINATE_SYSTEMS
  59. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT EEPROM_SETTINGS
  60. - opt_enable BLINKM PCA9632 RGB_LED NEOPIXEL_LED
  61. - opt_enable AUTO_BED_LEVELING_LINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE SKEW_CORRECTION SKEW_CORRECTION_FOR_Z SKEW_CORRECTION_GCODE
  62. - opt_enable_adv FWRETRACT MAX7219_DEBUG LED_CONTROL_MENU CASE_LIGHT_ENABLE CASE_LIGHT_USE_NEOPIXEL
  63. - opt_set ABL_GRID_POINTS_X 16
  64. - opt_set ABL_GRID_POINTS_Y 16
  65. - opt_set_adv FANMUX0_PIN 53
  66. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  67. #
  68. # Test a probeless build of AUTO_BED_LEVELING_UBL, with lots of extruders
  69. #
  70. - restore_configs
  71. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  72. - opt_set EXTRUDERS 5
  73. - opt_set TEMP_SENSOR_1 1
  74. - opt_set TEMP_SENSOR_2 5
  75. - opt_set TEMP_SENSOR_3 20
  76. - opt_set TEMP_SENSOR_4 999
  77. - opt_set TEMP_SENSOR_BED 1
  78. - opt_enable AUTO_BED_LEVELING_UBL DEBUG_LEVELING_FEATURE G26_MESH_EDITING ENABLE_LEVELING_FADE_HEIGHT EEPROM_SETTINGS EEPROM_CHITCHAT G3D_PANEL SKEW_CORRECTION
  79. - opt_enable_adv CUSTOM_USER_MENUS I2C_POSITION_ENCODERS BABYSTEPPING LIN_ADVANCE NANODLP_Z_SYNC
  80. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  81. #
  82. # Add a Sled Z Probe, do non-segmented moves
  83. #
  84. - opt_enable Z_PROBE_SLED
  85. - opt_disable SEGMENT_LEVELED_MOVES
  86. - opt_enable_adv BABYSTEP_ZPROBE_OFFSET DOUBLECLICK_FOR_Z_BABYSTEPPING
  87. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  88. #
  89. # Test a Servo Probe
  90. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  91. #
  92. - restore_configs
  93. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  94. - opt_set NUM_SERVOS 1
  95. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS EEPROM_CHITCHAT
  96. - opt_enable_adv NO_VOLUMETRICS EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES AUTOTEMP G38_PROBE_TARGET
  97. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  98. #
  99. # Test MESH_BED_LEVELING feature, with LCD
  100. #
  101. - restore_configs
  102. - opt_enable MESH_BED_LEVELING G26_MESH_EDITING MESH_G28_REST_ORIGIN LCD_BED_LEVELING ULTIMAKERCONTROLLER
  103. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  104. #
  105. # Test MINIRAMBO for PWM_MOTOR_CURRENT
  106. # PROBE_MANUALLY feature, with LCD support,
  107. # ULTIMAKERCONTROLLER, FILAMENT_LCD_DISPLAY, FILAMENT_WIDTH_SENSOR,
  108. # PRINTCOUNTER, NOZZLE_PARK_FEATURE, NOZZLE_CLEAN_FEATURE, PCA9632,
  109. # Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS, BEZIER_CURVE_SUPPORT, EXPERIMENTAL_I2CBUS,
  110. # ADVANCED_PAUSE_FEATURE, PARK_HEAD_ON_PAUSE, LCD_INFO_MENU,
  111. # EEPROM_SETTINGS, EEPROM_CHITCHAT, M100_FREE_MEMORY_WATCHER,
  112. # INCH_MODE_SUPPORT, TEMPERATURE_UNITS_SUPPORT
  113. #
  114. - restore_configs
  115. - opt_set MOTHERBOARD BOARD_MINIRAMBO
  116. - opt_enable PROBE_MANUALLY AUTO_BED_LEVELING_BILINEAR G26_MESH_EDITING LCD_BED_LEVELING ULTIMAKERCONTROLLER
  117. - opt_enable EEPROM_SETTINGS EEPROM_CHITCHAT M100_FREE_MEMORY_WATCHER M100_FREE_MEMORY_DUMPER M100_FREE_MEMORY_CORRUPTOR INCH_MODE_SUPPORT TEMPERATURE_UNITS_SUPPORT
  118. - opt_enable ULTIMAKERCONTROLLER SDSUPPORT
  119. - opt_enable PRINTCOUNTER NOZZLE_PARK_FEATURE NOZZLE_CLEAN_FEATURE PCA9632 USE_XMAX_PLUG
  120. - opt_enable_adv BEZIER_CURVE_SUPPORT EXPERIMENTAL_I2CBUS
  121. - opt_enable_adv ADVANCED_PAUSE_FEATURE FILAMENT_LOAD_UNLOAD_GCODES PARK_HEAD_ON_PAUSE LCD_INFO_MENU M114_DETAIL
  122. - opt_set_adv PWM_MOTOR_CURRENT {1300,1300,1250}
  123. - opt_set_adv I2C_SLAVE_ADDRESS 63
  124. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  125. #
  126. # Mixing Extruder with 5 steppers
  127. #
  128. - restore_configs
  129. - opt_set MOTHERBOARD BOARD_AZTEEG_X3_PRO
  130. - opt_enable MIXING_EXTRUDER
  131. - opt_set MIXING_STEPPERS 5
  132. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  133. #
  134. # Test DUAL_X_CARRIAGE
  135. #
  136. - restore_configs
  137. - opt_set MOTHERBOARD BOARD_RUMBA
  138. - opt_set EXTRUDERS 2
  139. - opt_set TEMP_SENSOR_1 1
  140. - opt_enable USE_XMAX_PLUG
  141. - opt_enable_adv DUAL_X_CARRIAGE
  142. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  143. #
  144. # Test SPEAKER with BOARD_BQ_ZUM_MEGA_3D and BQ_LCD_SMART_CONTROLLER
  145. #
  146. - restore_configs
  147. - opt_set MOTHERBOARD BOARD_BQ_ZUM_MEGA_3D
  148. - opt_set LCD_FEEDBACK_FREQUENCY_DURATION_MS 10
  149. - opt_set LCD_FEEDBACK_FREQUENCY_HZ 100
  150. - opt_enable BQ_LCD_SMART_CONTROLLER SPEAKER
  151. #
  152. # Test SWITCHING_EXTRUDER
  153. #
  154. - restore_configs
  155. - opt_set MOTHERBOARD BOARD_RUMBA
  156. - opt_set EXTRUDERS 2
  157. - opt_enable NUM_SERVOS
  158. - opt_set NUM_SERVOS 1
  159. - opt_set TEMP_SENSOR_1 1
  160. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  161. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  162. #
  163. # Enable COREXY
  164. #
  165. - restore_configs
  166. - opt_enable COREXY
  167. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  168. #
  169. # Test many less common options
  170. #
  171. - restore_configs
  172. - opt_enable COREYX
  173. - opt_set_adv FAN_MIN_PWM 50
  174. - opt_set_adv FAN_KICKSTART_TIME 100
  175. - opt_set_adv XY_FREQUENCY_LIMIT 15
  176. - opt_enable_adv SHOW_TEMP_ADC_VALUES HOME_Y_BEFORE_X EMERGENCY_PARSER FAN_KICKSTART_TIME
  177. - opt_enable_adv ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED ADVANCED_OK
  178. - opt_enable_adv VOLUMETRIC_DEFAULT_ON NO_WORKSPACE_OFFSETS ACTION_ON_KILL
  179. - opt_enable_adv EXTRA_FAN_SPEED FWERETRACT Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  180. - opt_enable_adv MENU_ADDAUTOSTART SDCARD_SORT_ALPHA
  181. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER
  182. - opt_enable FILAMENT_LCD_DISPLAY FILAMENT_WIDTH_SENSOR
  183. - opt_enable ENDSTOP_INTERRUPTS_FEATURE FAN_SOFT_PWM SDSUPPORT
  184. - opt_enable USE_XMAX_PLUG
  185. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  186. #
  187. ######## Other Standard LCD/Panels ##############
  188. #
  189. # ULTRA_LCD
  190. #
  191. - restore_configs
  192. - opt_enable ULTRA_LCD
  193. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  194. #
  195. # DOGLCD
  196. #
  197. - restore_configs
  198. - opt_enable DOGLCD
  199. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  200. #
  201. # MAKRPANEL
  202. # Needs to use Melzi and Sanguino hardware
  203. #
  204. #- restore_configs
  205. #- opt_enable MAKRPANEL
  206. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  207. #
  208. # REPRAP_DISCOUNT_SMART_CONTROLLER, SDSUPPORT, BABYSTEPPING, RIGIDBOARD_V2, and DAC_MOTOR_CURRENT_DEFAULT
  209. #
  210. - restore_configs
  211. - opt_set MOTHERBOARD BOARD_RIGIDBOARD_V2
  212. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT BABYSTEPPING DAC_MOTOR_CURRENT_DEFAULT
  213. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  214. #
  215. # G3D_PANEL with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  216. #
  217. - restore_configs
  218. - opt_enable G3D_PANEL SDSUPPORT
  219. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  220. - opt_set_adv SDSORT_GCODE true
  221. - opt_set_adv SDSORT_USES_RAM true
  222. - opt_set_adv SDSORT_USES_STACK true
  223. - opt_set_adv SDSORT_CACHE_NAMES true
  224. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  225. #
  226. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with SDCARD_SORT_ALPHA and STATUS_MESSAGE_SCROLLING
  227. #
  228. - restore_configs
  229. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  230. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES
  231. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  232. #
  233. # REPRAPWORLD_KEYPAD
  234. #
  235. # Cant find configuration details to get it to compile
  236. #- restore_configs
  237. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  238. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  239. #
  240. # RA_CONTROL_PANEL
  241. #
  242. - restore_configs
  243. - opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  244. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  245. #
  246. ######## I2C LCD/PANELS ##############
  247. #
  248. # !!!ATTENTION!!!
  249. # Most I2C configurations are failing at the moment because they require
  250. # a different Liquid Crystal library "LiquidTWI2".
  251. #
  252. # LCD_I2C_SAINSMART_YWROBOT
  253. #
  254. #- restore_configs
  255. #- opt_enable LCD_I2C_SAINSMART_YWROBOT
  256. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  257. #
  258. # LCD_I2C_PANELOLU2
  259. #
  260. #- restore_configs
  261. #- opt_enable LCD_I2C_PANELOLU2
  262. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  263. #
  264. # LCD_I2C_VIKI
  265. #
  266. #- restore_configs
  267. #- opt_enable LCD_I2C_VIKI
  268. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  269. #
  270. # LCM1602
  271. #
  272. - restore_configs
  273. - opt_enable LCM1602
  274. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  275. #
  276. #
  277. ######## Example Configurations ##############
  278. #
  279. # BQ Hephestos 2
  280. #- restore_configs
  281. #- use_example_configs Hephestos_2
  282. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  283. #
  284. # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
  285. - use_example_configs delta/generic
  286. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  287. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  288. #
  289. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  290. #
  291. - use_example_configs delta/generic
  292. - opt_disable DISABLE_MIN_ENDSTOPS
  293. - opt_enable AUTO_BED_LEVELING_UBL Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
  294. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  295. #
  296. # Delta Config (FLSUN AC because it's complex)
  297. #
  298. - use_example_configs delta/FLSUN/auto_calibrate
  299. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  300. #
  301. # Makibox Config need to check board type for Teensy++ 2.0
  302. #
  303. #- use_example_configs makibox
  304. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  305. #
  306. # SCARA with TMC2130
  307. #
  308. - use_example_configs SCARA
  309. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
  310. - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
  311. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
  312. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  313. #
  314. # TMC2208 Config
  315. #
  316. - restore_configs
  317. - opt_enable_adv HAVE_TMC2208 X_IS_TMC2208 Y_IS_TMC2208 Z_IS_TMC2208
  318. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG
  319. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  320. #
  321. # tvrrug Config need to check board type for sanguino atmega644p
  322. #
  323. #- use_example_configs tvrrug/Round2
  324. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  325. #
  326. #
  327. ######## Board Types #############
  328. #
  329. # To be added in nightly test branch
  330. #
  331. - export TEST_PLATFORM="-e teensy35"
  332. - restore_configs
  333. - opt_set MOTHERBOARD BOARD_TEENSY35_36
  334. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  335. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  336. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  337. #
  338. # Test Teensy3.5 with default config
  339. #
  340. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  341. #
  342. # Test as many features together as possible
  343. #
  344. - restore_configs
  345. - opt_set EXTRUDERS 2
  346. - opt_set TEMP_SENSOR_0 1
  347. - opt_set TEMP_SENSOR_1 5
  348. - opt_set TEMP_SENSOR_BED 1
  349. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  350. - opt_enable FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
  351. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  352. - opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY
  353. - 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
  354. - 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
  355. - opt_set_adv I2C_SLAVE_ADDRESS 63
  356. - opt_set ABL_GRID_POINTS_X 16
  357. - opt_set ABL_GRID_POINTS_Y 16
  358. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  359. #
  360. # Test a Sled Z Probe with Linear leveling
  361. #
  362. - restore_configs
  363. - opt_enable Z_PROBE_SLED
  364. - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  365. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  366. #
  367. # Test a Servo Probe
  368. #
  369. - restore_configs
  370. - opt_enable NUM_SERVOS Z_ENDSTOP_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  371. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  372. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  373. #
  374. # ...with AUTO_BED_LEVELING_3POINT, DEBUG_LEVELING_FEATURE, EEPROM_SETTINGS, EEPROM_CHITCHAT, EXTENDED_CAPABILITIES_REPORT, and AUTO_REPORT_TEMPERATURES
  375. #
  376. - opt_enable AUTO_BED_LEVELING_3POINT DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  377. - opt_enable_adv EXTENDED_CAPABILITIES_REPORT AUTO_REPORT_TEMPERATURES
  378. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  379. #
  380. # Test MESH_BED_LEVELING feature, with LCD
  381. #
  382. - restore_configs
  383. - opt_enable MESH_BED_LEVELING MESH_G28_REST_ORIGIN MANUAL_BED_LEVELING ULTIMAKERCONTROLLER
  384. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  385. #
  386. # Mixing Extruder
  387. #
  388. - restore_configs
  389. - opt_enable MIXING_EXTRUDER DIRECT_MIXING_IN_G1
  390. - opt_set MIXING_STEPPERS 2
  391. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  392. #
  393. # Test SWITCHING_EXTRUDER
  394. #
  395. - restore_configs
  396. - opt_set EXTRUDERS 2
  397. - opt_enable NUM_SERVOS
  398. - opt_set NUM_SERVOS 1
  399. - opt_set TEMP_SENSOR_1 1
  400. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  401. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  402. #
  403. # Enable COREXY
  404. #
  405. - restore_configs
  406. - opt_enable COREXY
  407. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  408. #
  409. # Enable COREXZ
  410. #
  411. - restore_configs
  412. - opt_enable COREXZ
  413. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  414. #
  415. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  416. #
  417. - restore_configs
  418. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  419. - pins_set RAMPS X_MAX_PIN -1
  420. - opt_add_adv Z2_MAX_PIN 2
  421. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  422. #############################
  423. # LPC1768 default config test
  424. #############################
  425. - export TEST_PLATFORM="-e LPC1768"
  426. - restore_configs
  427. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  428. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  429. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  430. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  431. #
  432. # Enable VIKI2, SDSUPPORT
  433. #
  434. - restore_configs
  435. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  436. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  437. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  438. - opt_enable VIKI2 SDSUPPORT
  439. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}