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 18KB

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