My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

platformio.ini 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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> -<frameworks>
  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. lib_ldf_mode = off
  104. lib_deps = U8glib-ARM
  105. src_filter = ${common.default_src_filter} +<frameworks/CMSIS/LPC1768>
  106. extra_scripts = Marlin/src/HAL/HAL_LPC1768/lpc1768_flag_script.py