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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. # Python CircleCI 2.0 configuration file
  2. #
  3. # Check https://circleci.com/docs/2.0/language-python/ for more details
  4. #
  5. version: 2
  6. jobs:
  7. build:
  8. docker:
  9. # specify the version you desire here
  10. # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers`
  11. - image: circleci/python:2.7.13
  12. # Specify service dependencies here if necessary
  13. # CircleCI maintains a library of pre-built images
  14. # documented at https://circleci.com/docs/2.0/circleci-images/
  15. # - image: circleci/postgres:9.4
  16. environment:
  17. TEST_PLATFORM: "-e megaatmega2560"
  18. working_directory: ~/Marlin
  19. steps:
  20. - checkout
  21. - restore_cache:
  22. paths:
  23. - ~/.platformio
  24. - ~/Marlin/.piolibdeps
  25. keys:
  26. - v1-dependencies-{{ checksum "~/Marlin/platformio.ini" }}
  27. # fallback to using the latest cache if no exact match is found
  28. - v1-dependencies-
  29. - run:
  30. name: install dependencies
  31. command: |
  32. sudo pip install -U platformio
  33. # run tests!
  34. - run:
  35. name: run tests
  36. command: |
  37. #
  38. #
  39. # Fetch the tag information for the current branch
  40. ls -la
  41. git fetch origin --tags
  42. #
  43. # Publish the buildroot script folder
  44. chmod +x buildroot/bin/*
  45. export PATH=`pwd`/buildroot/bin/:${PATH}
  46. # Generate custom version include
  47. generate_version_header_for_marlin ./Marlin/src/inc
  48. cat ./Marlin/src/inc/_Version.h
  49. #
  50. # Back up the environment
  51. #
  52. env_backup
  53. #################################
  54. # Build all sample configurations
  55. #################################
  56. echo testing megaatmega2560 targets...
  57. export TEST_PLATFORM="-e megaatmega2560"
  58. restore_configs
  59. echo use_example_configs adafruit/ST7565
  60. use_example_configs adafruit/ST7565
  61. build_marlin_pio ./ ${TEST_PLATFORM}
  62. restore_configs
  63. echo use_example_configs BQ/Hephestos
  64. use_example_configs BQ/Hephestos
  65. build_marlin_pio ./ ${TEST_PLATFORM}
  66. restore_configs
  67. echo use_example_configs BQ/Hephestos_2
  68. use_example_configs BQ/Hephestos_2
  69. build_marlin_pio ./ ${TEST_PLATFORM}
  70. restore_configs
  71. echo use_example_configs BQ/WITBOX
  72. use_example_configs BQ/WITBOX
  73. build_marlin_pio ./ ${TEST_PLATFORM}
  74. restore_configs
  75. echo use_example_configs AliExpress/CL-260
  76. use_example_configs AliExpress/CL-260
  77. build_marlin_pio ./ ${TEST_PLATFORM}
  78. restore_configs
  79. echo use_example_configs Cartesio
  80. use_example_configs Cartesio
  81. build_marlin_pio ./ ${TEST_PLATFORM}
  82. restore_configs
  83. echo use_example_configs delta/FLSUN/auto_calibrate
  84. use_example_configs delta/FLSUN/auto_calibrate
  85. build_marlin_pio ./ ${TEST_PLATFORM}
  86. restore_configs
  87. echo use_example_configs delta/FLSUN/kossel_mini
  88. use_example_configs delta/FLSUN/kossel_mini
  89. build_marlin_pio ./ ${TEST_PLATFORM}
  90. restore_configs
  91. echo use_example_configs delta/generic
  92. use_example_configs delta/generic
  93. build_marlin_pio ./ ${TEST_PLATFORM}
  94. restore_configs
  95. echo use_example_configs delta/kossel_mini
  96. use_example_configs delta/kossel_mini
  97. build_marlin_pio ./ ${TEST_PLATFORM}
  98. restore_configs
  99. echo use_example_configs delta/kossel_xl
  100. use_example_configs delta/kossel_xl
  101. build_marlin_pio ./ ${TEST_PLATFORM}
  102. restore_configs
  103. echo use_example_configs Felix
  104. use_example_configs Felix
  105. build_marlin_pio ./ ${TEST_PLATFORM}
  106. restore_configs
  107. echo use_example_configs Felix/DUAL
  108. use_example_configs Felix/DUAL
  109. build_marlin_pio ./ ${TEST_PLATFORM}
  110. restore_configs
  111. echo use_example_configs gCreate/gMax1.5+
  112. use_example_configs gCreate/gMax1.5+
  113. build_marlin_pio ./ ${TEST_PLATFORM}
  114. restore_configs
  115. echo use_example_configs Geeetech/GT2560
  116. use_example_configs Geeetech/GT2560
  117. build_marlin_pio ./ ${TEST_PLATFORM}
  118. restore_configs
  119. echo use_example_configs Geeetech/I3_Pro_X-GT2560
  120. use_example_configs Geeetech/I3_Pro_X-GT2560
  121. build_marlin_pio ./ ${TEST_PLATFORM}
  122. restore_configs
  123. echo use_example_configs Infitary/i3-M508
  124. use_example_configs Infitary/i3-M508
  125. build_marlin_pio ./ ${TEST_PLATFORM}
  126. restore_configs
  127. #
  128. # Disabled due to compile failure on E0_AUTO_FAN_PIN PB8
  129. #
  130. # use_example_configs Malyan/M200
  131. # build_marlin_pio ./ ${TEST_PLATFORM}
  132. # restore_configs
  133. echo use_example_configs Micromake/C1/basic
  134. use_example_configs Micromake/C1/basic
  135. build_marlin_pio ./ ${TEST_PLATFORM}
  136. restore_configs
  137. echo use_example_configs Micromake/C1/enhanced
  138. use_example_configs Micromake/C1/enhanced
  139. build_marlin_pio ./ ${TEST_PLATFORM}
  140. restore_configs
  141. echo use_example_configs RepRapWorld/Megatronics
  142. use_example_configs RepRapWorld/Megatronics
  143. build_marlin_pio ./ ${TEST_PLATFORM}
  144. restore_configs
  145. echo use_example_configs RigidBot
  146. use_example_configs RigidBot
  147. build_marlin_pio ./ ${TEST_PLATFORM}
  148. restore_configs
  149. echo use_example_configs SCARA
  150. use_example_configs SCARA
  151. build_marlin_pio ./ ${TEST_PLATFORM}
  152. restore_configs
  153. echo use_example_configs Velleman/K8200
  154. use_example_configs Velleman/K8200
  155. build_marlin_pio ./ ${TEST_PLATFORM}
  156. restore_configs
  157. echo use_example_configs Velleman/K8400/Dual-head
  158. use_example_configs Velleman/K8400/Dual-head
  159. build_marlin_pio ./ ${TEST_PLATFORM}
  160. restore_configs
  161. echo use_example_configs Velleman/K8400
  162. use_example_configs Velleman/K8400
  163. build_marlin_pio ./ ${TEST_PLATFORM}
  164. restore_configs
  165. echo use_example_configs Wanhao/Duplicator6
  166. use_example_configs Wanhao/Duplicator6
  167. build_marlin_pio ./ ${TEST_PLATFORM}
  168. #
  169. # Disabled due to compile failure on https://github.com/stawel/SlowSoftI2CMaster
  170. #
  171. # - Requires https://github.com/stawel/SlowSoftI2CMaster
  172. # restore_configs
  173. # use_example_configs wt150
  174. # build_marlin_pio ./ ${TEST_PLATFORM}
  175. echo testing anet10 targets...
  176. export TEST_PLATFORM="-e anet10"
  177. restore_configs
  178. echo use_example_configs Anet/A6
  179. use_example_configs Anet/A6
  180. build_marlin_pio ./ ${TEST_PLATFORM}
  181. restore_configs
  182. echo use_example_configs Anet/A8
  183. use_example_configs Anet/A8
  184. build_marlin_pio ./ ${TEST_PLATFORM}
  185. restore_configs
  186. echo use_example_configs Creality/CR-10
  187. use_example_configs Creality/CR-10
  188. build_marlin_pio ./ ${TEST_PLATFORM}
  189. restore_configs
  190. echo use_example_configs Malyan/M150
  191. use_example_configs Malyan/M150
  192. build_marlin_pio ./ ${TEST_PLATFORM}
  193. restore_configs
  194. echo use_example_configs Sanguinololu
  195. use_example_configs Sanguinololu
  196. build_marlin_pio ./ ${TEST_PLATFORM}
  197. restore_configs
  198. echo use_example_configs TinyBoy2
  199. use_example_configs TinyBoy2
  200. build_marlin_pio ./ ${TEST_PLATFORM}
  201. echo testing rambo targets...
  202. export TEST_PLATFORM="-e rambo"
  203. restore_configs
  204. echo use_example_configs AlephObjects/TAZ4
  205. use_example_configs AlephObjects/TAZ4
  206. build_marlin_pio ./ ${TEST_PLATFORM}
  207. echo testing teensy20 targets...
  208. export TEST_PLATFORM="-e teensy20"
  209. #
  210. # Disabled due to Z_MIN_PIN related compile failure
  211. #
  212. # restore_configs
  213. # use_example_configs delta/kossel_pro
  214. # build_marlin_pio ./ ${TEST_PLATFORM}
  215. restore_configs
  216. echo use_example_configs makibox
  217. use_example_configs makibox
  218. build_marlin_pio ./ ${TEST_PLATFORM}
  219. echo testing sanguino_atmega644p targets...
  220. export TEST_PLATFORM="-e sanguino_atmega644p"
  221. restore_configs
  222. echo use_example_configs tvrrug/Round2
  223. use_example_configs tvrrug/Round2
  224. build_marlin_pio ./ ${TEST_PLATFORM}
  225. echo testing LPC1768 targets...
  226. export TEST_PLATFORM="-e LPC1768"
  227. restore_configs
  228. echo use_example_configs FolgerTech/i3-2020
  229. use_example_configs FolgerTech/i3-2020
  230. build_marlin_pio ./ ${TEST_PLATFORM}
  231. restore_configs
  232. echo use_example_configs Mks/Sbase
  233. use_example_configs Mks/Sbase
  234. build_marlin_pio ./ ${TEST_PLATFORM}
  235. #
  236. # Disabled due to numerous compile failures
  237. #
  238. # echo testing STM32F1 targets...
  239. # export TEST_PLATFORM="-e STM32F1"
  240. # restore_configs
  241. # use_example_configs STM32F10
  242. # build_marlin_pio ./ ${TEST_PLATFORM}
  243. # restore_configs
  244. # use_example_configs stm32f103ret6
  245. # build_marlin_pio ./ ${TEST_PLATFORM}
  246. #
  247. # Disabled due do pin related compile failures
  248. #
  249. # echo testing DUE targets...
  250. # export TEST_PLATFORM="-e DUE"
  251. # restore_configs
  252. # use_example_configs UltiMachine/Archim2
  253. # build_marlin_pio ./ ${TEST_PLATFORM}
  254. #
  255. # Remove temp files from dependencies tree prior to caching
  256. rm -rf ~/Marlin/.piolibdeps/_tmp_*
  257. #
  258. # Restore the environment
  259. #
  260. env_restore
  261. - save_cache:
  262. paths:
  263. - ~/.platformio
  264. - ~/Marlin/.piolibdeps
  265. key: v1-dependencies-{{ checksum "~/Marlin/platformio.ini" }}