My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

.travis.yml 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479
  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_set TEMP_SENSOR_1 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. # REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER with LIGHTWEIGHT_UI
  231. #
  232. - restore_configs
  233. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  234. - opt_enable_adv SDCARD_SORT_ALPHA STATUS_MESSAGE_SCROLLING SCROLL_LONG_FILENAMES LIGHTWEIGHT_UI
  235. - opt_set_adv SDSORT_GCODE true
  236. - opt_set_adv SDSORT_USES_RAM true
  237. - opt_set_adv SDSORT_USES_STACK true
  238. - opt_set_adv SDSORT_CACHE_NAMES true
  239. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  240. #
  241. # REPRAPWORLD_KEYPAD
  242. #
  243. # Cant find configuration details to get it to compile
  244. #- restore_configs
  245. #- opt_enable ULTRA_LCD REPRAPWORLD_KEYPAD REPRAPWORLD_KEYPAD_MOVE_STEP
  246. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  247. #
  248. # RA_CONTROL_PANEL
  249. #
  250. #- restore_configs
  251. #- opt_enable RA_CONTROL_PANEL PINS_DEBUGGING
  252. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  253. #
  254. ######## I2C LCD/PANELS ##############
  255. #
  256. # !!!ATTENTION!!!
  257. # Most I2C configurations are failing at the moment because they require
  258. # a different Liquid Crystal library "LiquidTWI2".
  259. #
  260. # LCD_SAINSMART_I2C_1602
  261. #
  262. #- restore_configs
  263. #- opt_enable LCD_SAINSMART_I2C_1602
  264. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  265. #
  266. # LCD_I2C_PANELOLU2
  267. #
  268. #- restore_configs
  269. #- opt_enable LCD_I2C_PANELOLU2
  270. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  271. #
  272. # LCD_I2C_VIKI
  273. #
  274. #- restore_configs
  275. #- opt_enable LCD_I2C_VIKI
  276. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  277. #
  278. # LCM1602
  279. #
  280. #- restore_configs
  281. #- opt_enable LCM1602
  282. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  283. #
  284. # Language files test with REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
  285. #
  286. #- restore_configs
  287. #- opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  288. #- 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
  289. #
  290. #- restore_configs
  291. #- opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER SDSUPPORT
  292. #- 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
  293. #
  294. #
  295. ######## Example Configurations ##############
  296. #
  297. # BQ Hephestos 2
  298. #- restore_configs
  299. #- use_example_configs Hephestos_2
  300. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  301. #
  302. # Delta Config (generic) + ABL bilinear + PROBE_MANUALLY
  303. - use_example_configs delta/generic
  304. - opt_enable REPRAP_DISCOUNT_SMART_CONTROLLER DELTA_CALIBRATION_MENU AUTO_BED_LEVELING_BILINEAR PROBE_MANUALLY
  305. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  306. #
  307. # Delta Config (generic) + UBL + ALLEN_KEY + OLED_PANEL_TINYBOY2 + EEPROM_SETTINGS
  308. #
  309. - use_example_configs delta/generic
  310. - opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 Z_PROBE_ALLEN_KEY EEPROM_SETTINGS EEPROM_CHITCHAT
  311. - opt_enable OLED_PANEL_TINYBOY2 MESH_EDIT_GFX_OVERLAY
  312. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  313. #
  314. # Delta Config (FLSUN AC because it's complex)
  315. #
  316. - use_example_configs delta/FLSUN/auto_calibrate
  317. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  318. #
  319. # Makibox Config need to check board type for Teensy++ 2.0
  320. #
  321. #- use_example_configs makibox
  322. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  323. #
  324. # SCARA with TMC2130
  325. #
  326. - use_example_configs SCARA
  327. - opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
  328. - opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
  329. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD SENSORLESS_HOMING
  330. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  331. #
  332. # TMC2208 Config
  333. #
  334. - restore_configs
  335. - opt_enable_adv HAVE_TMC2208 X_IS_TMC2208 Y_IS_TMC2208 Z_IS_TMC2208
  336. - opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG
  337. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  338. #
  339. # tvrrug Config need to check board type for sanguino atmega644p
  340. #
  341. #- use_example_configs tvrrug/Round2
  342. #- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  343. #
  344. #
  345. ######## Board Types #############
  346. #
  347. # To be added in nightly test branch
  348. #
  349. - export TEST_PLATFORM="-e teensy35"
  350. - restore_configs
  351. - opt_set MOTHERBOARD BOARD_TEENSY35_36
  352. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  353. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  354. - cp Marlin/src/pins/pins_RAMPS.h Marlin/src/pins/pins_RAMPS.h.backup
  355. #
  356. # Test Teensy3.5 with default config
  357. #
  358. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  359. #
  360. # Test as many features together as possible
  361. #
  362. - restore_configs
  363. - opt_set EXTRUDERS 2
  364. - opt_set TEMP_SENSOR_0 1
  365. - opt_set TEMP_SENSOR_1 5
  366. - opt_set TEMP_SENSOR_BED 1
  367. - opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER SDSUPPORT
  368. - opt_enable FILAMENT_WIDTH_SENSOR FILAMENT_LCD_DISPLAY
  369. - opt_enable FIX_MOUNTED_PROBE Z_SAFE_HOMING AUTO_BED_LEVELING_BILINEAR Z_MIN_PROBE_REPEATABILITY_TEST DEBUG_LEVELING_FEATURE
  370. - opt_enable BABYSTEPPING BABYSTEP_XY BABYSTEP_ZPROBE_OFFSET BABYSTEP_ZPROBE_GFX_OVERLAY
  371. - 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
  372. - 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
  373. - opt_set_adv I2C_SLAVE_ADDRESS 63
  374. - opt_set GRID_MAX_POINTS_X 16
  375. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  376. #
  377. # Test a Sled Z Probe with Linear leveling
  378. #
  379. - restore_configs
  380. - opt_enable Z_PROBE_SLED
  381. - opt_enable AUTO_BED_LEVELING_LINEAR DEBUG_LEVELING_FEATURE EEPROM_SETTINGS
  382. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  383. #
  384. # Test a Servo Probe
  385. #
  386. - restore_configs
  387. - opt_enable NUM_SERVOS Z_PROBE_SERVO_NR Z_SERVO_ANGLES DEACTIVATE_SERVOS_AFTER_MOVE
  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_set TEMP_SENSOR_1 1
  417. - opt_enable SWITCHING_EXTRUDER ULTIMAKERCONTROLLER
  418. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  419. #
  420. # Enable COREXY
  421. #
  422. - restore_configs
  423. - opt_enable COREXY
  424. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  425. #
  426. # Enable COREXZ
  427. #
  428. - restore_configs
  429. - opt_enable COREXZ
  430. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  431. #
  432. # Enable Z_DUAL_STEPPER_DRIVERS, Z_DUAL_ENDSTOPS
  433. #
  434. - restore_configs
  435. - opt_enable_adv Z_DUAL_STEPPER_DRIVERS Z_DUAL_ENDSTOPS
  436. - pins_set RAMPS X_MAX_PIN -1
  437. - opt_add_adv Z2_MAX_PIN 2
  438. - opt_enable USE_XMAX_PLUG
  439. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  440. #############################
  441. # DUE default config test
  442. #############################
  443. - export TEST_PLATFORM="-e DUE"
  444. - restore_configs
  445. - opt_set MOTHERBOARD BOARD_RAMPS4DUE_EFB
  446. - opt_set BEZIER_JERK_CONTROL
  447. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  448. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  449. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  450. #############################
  451. # LPC1768 default config test
  452. #############################
  453. - export TEST_PLATFORM="-e LPC1768"
  454. - restore_configs
  455. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  456. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  457. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  458. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
  459. #
  460. # Enable VIKI2, SDSUPPORT
  461. #
  462. - restore_configs
  463. - opt_set MOTHERBOARD BOARD_RAMPS_14_RE_ARM_EFB
  464. - cp Marlin/Configuration.h Marlin/src/config/default/Configuration.h
  465. - cp Marlin/Configuration_adv.h Marlin/src/config/default/Configuration_adv.h
  466. - opt_enable VIKI2 SDSUPPORT
  467. - build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}