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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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/adafruit/Adafruit_NeoPixel.git
  24. default_src_filter = +<*> -<example_configurations> -<frameworks>
  25. [env:megaatmega2560]
  26. platform = atmelavr
  27. framework = arduino
  28. board = megaatmega2560
  29. build_flags = -I $BUILDSRC_DIR
  30. board_f_cpu = 16000000L
  31. lib_deps = ${common.lib_deps}
  32. src_filter = ${common.default_src_filter}
  33. [env:megaatmega1280]
  34. platform = atmelavr
  35. framework = arduino
  36. board = megaatmega1280
  37. build_flags = -I $BUILDSRC_DIR
  38. board_f_cpu = 16000000L
  39. lib_deps = ${common.lib_deps}
  40. src_filter = ${common.default_src_filter}
  41. [env:printrboard]
  42. platform = teensy
  43. framework = arduino
  44. board = teensy20pp
  45. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD
  46. # Bug in arduino framework does not allow boards running at 20Mhz
  47. #board_f_cpu = 20000000L
  48. lib_deps = ${common.lib_deps}
  49. src_filter = ${common.default_src_filter}
  50. [env:printrboard_revf]
  51. platform = teensy
  52. framework = arduino
  53. board = teensy20pp
  54. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_PRINTRBOARD_REVF
  55. lib_deps = ${common.lib_deps}
  56. [env:brainwavepro]
  57. platform = teensy
  58. framework = arduino
  59. board = teensy20pp
  60. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_BRAINWAVE_PRO
  61. lib_deps = ${common.lib_deps}
  62. src_filter = ${common.default_src_filter}
  63. [env:rambo]
  64. platform = atmelavr
  65. framework = arduino
  66. board = reprap_rambo
  67. build_flags = -I $BUILDSRC_DIR
  68. board_f_cpu = 16000000L
  69. lib_deps = ${common.lib_deps}
  70. src_filter = ${common.default_src_filter}
  71. [env:anet10]
  72. platform = atmelavr
  73. framework = arduino
  74. board = sanguino_atmega1284p
  75. upload_speed = 57600
  76. lib_deps = ${common.lib_deps}
  77. [env:sanguino_atmega644p]
  78. platform = atmelavr
  79. framework = arduino
  80. board = sanguino_atmega644p
  81. lib_deps = ${common.lib_deps}
  82. [env:DUE]
  83. platform = atmelsam
  84. framework = arduino
  85. board = due
  86. build_flags = -I $BUILDSRC_DIR -D MOTHERBOARD=BOARD_RAMPS4DUE_EFB
  87. lib_deps = ${common.lib_deps}
  88. src_filter = ${common.default_src_filter}
  89. [env:teensy35]
  90. platform = teensy
  91. framework = arduino
  92. board = teensy35
  93. build_flags = -I $BUILDSRC_DIR
  94. lib_deps = ${common.lib_deps}
  95. lib_ignore = Adafruit NeoPixel
  96. src_filter = ${common.default_src_filter}
  97. [env:Re-ARM]
  98. platform = nxplpc
  99. board_f_cpu = 100000000L
  100. build_flags = !python Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py
  101. lib_ldf_mode = off
  102. lib_deps = U8glib-ARM
  103. src_filter = ${common.default_src_filter} +<frameworks/CMSIS/LPC1768>
  104. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py