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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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@1.19.1
  20. LiquidCrystal_I2C@1.1.2
  21. https://github.com/lincomatic/LiquidTWI2.git
  22. https://github.com/teemuatlut/TMC2130Stepper.git
  23. https://github.com/trinamic/TMC26XStepper.git
  24. https://github.com/adafruit/Adafruit_NeoPixel.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. # PrintrBoard (Teensy++ 2.0)
  60. #
  61. [env:printrboard]
  62. platform = teensy
  63. framework = arduino
  64. board = teensy20pp
  65. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD
  66. #board_f_cpu = 20000000L ; Bug in Arduino framework disallows boards running at 20Mhz
  67. lib_deps = ${common.lib_deps}
  68. src_filter = ${common.default_src_filter}
  69. #
  70. # PrintrBoard Rev.F (Teensy++ 2.0)
  71. #
  72. [env:printrboard_revf]
  73. platform = teensy
  74. framework = arduino
  75. board = teensy20pp
  76. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD_REVF
  77. lib_deps = ${common.lib_deps}
  78. src_filter = ${common.default_src_filter}
  79. #
  80. # Brainwave Pro (Teensy++ 2.0)
  81. #
  82. [env:brainwavepro]
  83. platform = teensy
  84. framework = arduino
  85. board = teensy20pp
  86. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_BRAINWAVE_PRO
  87. lib_deps = ${common.lib_deps}
  88. src_filter = ${common.default_src_filter}
  89. #
  90. # RAMBo
  91. #
  92. [env:rambo]
  93. platform = atmelavr
  94. framework = arduino
  95. board = reprap_rambo
  96. build_flags = -I $BUILDSRC_DIR
  97. board_f_cpu = 16000000L
  98. lib_deps = ${common.lib_deps}
  99. src_filter = ${common.default_src_filter}
  100. #
  101. # Anet 1.0 - Melzi clone (ATmega1284p)
  102. #
  103. [env:anet10]
  104. platform = atmelavr
  105. framework = arduino
  106. board = sanguino_atmega1284p
  107. upload_speed = 57600
  108. lib_deps = ${common.lib_deps}
  109. src_filter = ${common.default_src_filter}
  110. #
  111. # Sanguinololu (ATmega644p)
  112. #
  113. [env:sanguino_atmega644p]
  114. platform = atmelavr
  115. framework = arduino
  116. board = sanguino_atmega644p
  117. lib_deps = ${common.lib_deps}
  118. src_filter = ${common.default_src_filter}
  119. #
  120. # Due (Atmel SAM3X8E ARM Cortex-M3)
  121. #
  122. # - RAMPS4DUE
  123. # - RADDS
  124. #
  125. [env:DUE]
  126. platform = atmelsam
  127. framework = arduino
  128. board = due
  129. build_flags = -I $BUILDSRC_DIR
  130. lib_deps = ${common.lib_deps}
  131. src_filter = ${common.default_src_filter}
  132. #
  133. # Teensy 3.5 / 3.6 (ARM Cortex-M4)
  134. #
  135. [env:teensy35]
  136. platform = teensy
  137. framework = arduino
  138. board = teensy35
  139. build_flags = -I $BUILDSRC_DIR
  140. lib_deps = ${common.lib_deps}
  141. lib_ignore = Adafruit NeoPixel
  142. src_filter = ${common.default_src_filter}
  143. #
  144. # Re-ARM (NXP LPC1768 ARM Cortex-M3)
  145. #
  146. [env:Re-ARM]
  147. platform = nxplpc
  148. board_f_cpu = 100000000L
  149. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  150. src_build_flags = -Wall
  151. build_unflags = -Wall
  152. lib_ldf_mode = off
  153. lib_extra_dirs = frameworks
  154. lib_deps = U8glib-ARM, CMSIS-LPC1768
  155. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  156. src_filter = ${common.default_src_filter}
  157. #
  158. # Re-ARM (for debugging and development)
  159. #
  160. [env:Re-ARM_debug_and_upload]
  161. # Segger JLink
  162. platform = nxplpc
  163. #framework = mbed
  164. board = lpc1768
  165. board_f_cpu = 100000000L
  166. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  167. lib_ldf_mode = off
  168. lib_deps = U8glib-ARM
  169. src_filter = ${common.default_src_filter}
  170. extra_scripts = debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  171. debug_tool = custom
  172. debug_server =
  173. C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
  174. -select
  175. USB
  176. -port
  177. 2331
  178. -device
  179. LPC1768
  180. -if
  181. JTAG
  182. -speed
  183. auto
  184. -noir