My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

.travis.yml 15KB

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