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 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. #
  2. # Project Configuration File
  3. #
  4. # A detailed documentation with the EXAMPLES is located here:
  5. # http://docs.platformio.org/en/latest/projectconf.html
  6. #
  7. # A sign `#` at the beginning of the line indicates a comment
  8. # Comment lines are ignored.
  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/config/examples>
  27. [env:megaatmega2560]
  28. platform = atmelavr
  29. framework = arduino
  30. board = megaatmega2560
  31. build_flags = -I $BUILDSRC_DIR
  32. board_f_cpu = 16000000L
  33. lib_deps = ${common.lib_deps}
  34. src_filter = ${common.default_src_filter}
  35. [env:megaatmega1280]
  36. platform = atmelavr
  37. framework = arduino
  38. board = megaatmega1280
  39. build_flags = -I $BUILDSRC_DIR
  40. board_f_cpu = 16000000L
  41. lib_deps = ${common.lib_deps}
  42. src_filter = ${common.default_src_filter}
  43. [env:printrboard]
  44. platform = teensy
  45. framework = arduino
  46. board = teensy20pp
  47. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD
  48. # Bug in arduino framework does not allow boards running at 20Mhz
  49. #board_f_cpu = 20000000L
  50. lib_deps = ${common.lib_deps}
  51. src_filter = ${common.default_src_filter}
  52. [env:printrboard_revf]
  53. platform = teensy
  54. framework = arduino
  55. board = teensy20pp
  56. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD_REVF
  57. lib_deps = ${common.lib_deps}
  58. [env:brainwavepro]
  59. platform = teensy
  60. framework = arduino
  61. board = teensy20pp
  62. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_BRAINWAVE_PRO
  63. lib_deps = ${common.lib_deps}
  64. src_filter = ${common.default_src_filter}
  65. [env:rambo]
  66. platform = atmelavr
  67. framework = arduino
  68. board = reprap_rambo
  69. build_flags = -I $BUILDSRC_DIR
  70. board_f_cpu = 16000000L
  71. lib_deps = ${common.lib_deps}
  72. src_filter = ${common.default_src_filter}
  73. [env:anet10]
  74. platform = atmelavr
  75. framework = arduino
  76. board = sanguino_atmega1284p
  77. upload_speed = 57600
  78. lib_deps = ${common.lib_deps}
  79. [env:sanguino_atmega644p]
  80. platform = atmelavr
  81. framework = arduino
  82. board = sanguino_atmega644p
  83. lib_deps = ${common.lib_deps}
  84. [env:DUE]
  85. platform = atmelsam
  86. framework = arduino
  87. board = due
  88. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_RAMPS4DUE_EFB
  89. lib_deps = ${common.lib_deps}
  90. src_filter = ${common.default_src_filter}
  91. [env:teensy35]
  92. platform = teensy
  93. framework = arduino
  94. board = teensy35
  95. build_flags = -I $BUILDSRC_DIR
  96. lib_deps = ${common.lib_deps}
  97. lib_ignore = Adafruit NeoPixel
  98. src_filter = ${common.default_src_filter}
  99. [env:Re-ARM]
  100. platform = nxplpc
  101. board_f_cpu = 100000000L
  102. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  103. src_build_flags = -Wall
  104. build_unflags = -Wall
  105. lib_ldf_mode = off
  106. lib_extra_dirs = frameworks
  107. lib_deps = U8glib-ARM, CMSIS-LPC1768
  108. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  109. [env:Re-ARM_debug_and_upload]
  110. # Segger JLink
  111. platform = nxplpc
  112. #framework = mbed
  113. board = lpc1768
  114. board_f_cpu = 100000000L
  115. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  116. lib_ldf_mode = off
  117. lib_deps = U8glib-ARM
  118. src_filter =
  119. extra_scripts = debug_extra_script.py, Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  120. debug_tool = custom
  121. debug_server =
  122. C:\Program Files (x86)\SEGGER\JLink_V618d\JLinkGDBServerCL.exe
  123. -select
  124. USB
  125. -port
  126. 2331
  127. -device
  128. LPC1768
  129. -if
  130. JTAG
  131. -speed
  132. auto
  133. -noir