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

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