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

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