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.

platformio.ini 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. # For detailed documentation with EXAMPLES:
  6. #
  7. # http://docs.platformio.org/en/latest/projectconf.html
  8. #
  9. # Automatic targets - enable auto-uploading
  10. # targets = upload
  11. [platformio]
  12. src_dir = Marlin
  13. envs_dir = .pioenvs
  14. lib_dir = .piolib
  15. libdeps_dir = .piolibdeps
  16. env_default = megaatmega2560
  17. [common]
  18. lib_deps =
  19. U8glib-HAL
  20. LiquidCrystal_I2C@1.1.2
  21. TMC2130Stepper
  22. Adafruit NeoPixel
  23. https://github.com/lincomatic/LiquidTWI2.git
  24. https://github.com/trinamic/TMC26XStepper.git
  25. https://github.com/ameyer/Arduino-L6470.git
  26. default_src_filter = +<src/*> -<src/config>
  27. #################################
  28. # #
  29. # Unique Core Architectures #
  30. # #
  31. # Add a new "env" below if no #
  32. # entry has values suitable to #
  33. # build for a given board. #
  34. # #
  35. #################################
  36. #
  37. # ATmega2560
  38. #
  39. [env:megaatmega2560]
  40. platform = atmelavr
  41. framework = arduino
  42. board = megaatmega2560
  43. build_flags = -I $BUILDSRC_DIR
  44. board_f_cpu = 16000000L
  45. lib_deps = ${common.lib_deps}
  46. src_filter = ${common.default_src_filter}
  47. #
  48. # ATmega1280
  49. #
  50. [env:megaatmega1280]
  51. platform = atmelavr
  52. framework = arduino
  53. board = megaatmega1280
  54. build_flags = -I $BUILDSRC_DIR
  55. board_f_cpu = 16000000L
  56. lib_deps = ${common.lib_deps}
  57. src_filter = ${common.default_src_filter}
  58. #
  59. # Anet 1.0 - Melzi clone (ATmega1284p)
  60. #
  61. [env:anet10]
  62. platform = atmelavr
  63. framework = arduino
  64. board = sanguino_atmega1284p
  65. upload_speed = 57600
  66. lib_deps = ${common.lib_deps}
  67. src_filter = ${common.default_src_filter}
  68. #
  69. # Due (Atmel SAM3X8E ARM Cortex-M3)
  70. #
  71. # - RAMPS4DUE
  72. # - RADDS
  73. #
  74. [env:DUE]
  75. platform = atmelsam
  76. framework = arduino
  77. board = due
  78. build_flags = -I $BUILDSRC_DIR
  79. lib_deps = ${common.lib_deps}
  80. src_filter = ${common.default_src_filter}
  81. #
  82. # NXP LPC1768 ARM Cortex-M3
  83. #
  84. [env:LPC1768]
  85. platform = nxplpc
  86. board_f_cpu = 100000000L
  87. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  88. -DU8G_HAL_LINKS
  89. src_build_flags = -Wall
  90. build_unflags = -Wall
  91. lib_ldf_mode = off
  92. lib_extra_dirs = frameworks
  93. lib_deps = CMSIS-LPC1768
  94. U8glib-HAL
  95. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  96. src_filter = ${common.default_src_filter}
  97. #
  98. # LPC1768 (for debugging and development)
  99. #
  100. [env:LPC1768_debug_and_upload]
  101. # Segger JLink
  102. platform = nxplpc
  103. #framework = mbed
  104. board = lpc1768
  105. board_f_cpu = 100000000L
  106. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  107. -DU8G_HAL_LINKS
  108. lib_ldf_mode = off
  109. lib_extra_dirs = frameworks
  110. lib_deps = CMSIS-LPC1768
  111. U8glib-HAL
  112. src_filter = ${common.default_src_filter}
  113. extra_scripts = Marlin/src/HAL/HAL_LPC1768/debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  114. debug_tool = custom
  115. debug_server =
  116. C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
  117. -select
  118. USB
  119. -port
  120. 2331
  121. -device
  122. LPC1768
  123. -if
  124. JTAG
  125. -speed
  126. auto
  127. -noir
  128. #
  129. # RAMBo
  130. #
  131. [env:rambo]
  132. platform = atmelavr
  133. framework = arduino
  134. board = reprap_rambo
  135. build_flags = -I $BUILDSRC_DIR
  136. board_f_cpu = 16000000L
  137. lib_deps = ${common.lib_deps}
  138. src_filter = ${common.default_src_filter}
  139. #
  140. # Sanguinololu (ATmega644p)
  141. #
  142. [env:sanguino_atmega644p]
  143. platform = atmelavr
  144. framework = arduino
  145. board = sanguino_atmega644p
  146. lib_deps = ${common.lib_deps}
  147. src_filter = ${common.default_src_filter}
  148. [env:STM32F1]
  149. platform = ststm32
  150. framework = arduino
  151. board = genericSTM32F103RE
  152. build_flags = !python Marlin/src/HAL/HAL_STM32F1/stm32f1_flag_script.py
  153. lib_deps = ${common.lib_deps}
  154. src_filter = ${common.default_src_filter}
  155. #
  156. # Teensy++ 2.0
  157. #
  158. # - PrintrBoard
  159. # - PrintrBoard Rev.F
  160. # - Brainwave Pro
  161. #
  162. [env:teensy20]
  163. platform = teensy
  164. framework = arduino
  165. board = teensy20pp
  166. build_flags = -I $BUILDSRC_DIR
  167. #board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
  168. lib_deps = ${common.lib_deps}
  169. src_filter = ${common.default_src_filter}
  170. #
  171. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  172. #
  173. [env:teensy35]
  174. platform = teensy
  175. framework = arduino
  176. board = teensy35
  177. build_flags = -I $BUILDSRC_DIR
  178. lib_deps = ${common.lib_deps}
  179. lib_ignore = Adafruit NeoPixel
  180. src_filter = ${common.default_src_filter}