My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

platformio.ini 3.0KB

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