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.

avr.ini 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. # #
  7. # AVR Architecture #
  8. # #
  9. #################################
  10. #
  11. # AVR (8-bit) Common Environment values
  12. #
  13. [common_avr8]
  14. board_build.f_cpu = 16000000L
  15. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  16. #
  17. # ATmega2560
  18. #
  19. [env:mega2560]
  20. platform = atmelavr
  21. extends = common_avr8
  22. board = megaatmega2560
  23. #
  24. # ATmega2560 with extended pins 70-85 defined
  25. # BOARD_BQ_ZUM_MEGA_3D
  26. # BOARD_ULTIMAIN_2
  27. # BOARD_MIGHTYBOARD_REVE
  28. # BOARD_EINSTART_S
  29. #
  30. [env:mega2560ext]
  31. platform = atmelavr
  32. extends = env:mega2560
  33. board_build.variant = megaextendedpins
  34. extra_scripts = ${common.extra_scripts}
  35. pre:buildroot/share/PlatformIO/scripts/copy_marlin_variant_to_framework.py
  36. #
  37. # ATmega1280
  38. #
  39. [env:mega1280]
  40. platform = atmelavr
  41. extends = common_avr8
  42. board = megaatmega1280
  43. #
  44. # MightyBoard AVR with extended pins
  45. #
  46. [mega_extended_optimized]
  47. extends = common_avr8
  48. board_build.variant = megaextendedpins
  49. extra_scripts = ${common.extra_scripts}
  50. pre:buildroot/share/PlatformIO/scripts/copy_marlin_variant_to_framework.py
  51. upload_speed = 57600
  52. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  53. #
  54. # MightyBoard ATmega1280
  55. #
  56. [env:MightyBoard1280]
  57. platform = atmelavr
  58. extends = mega_extended_optimized
  59. board = megaatmega1280
  60. #
  61. # MightyBoard ATmega2560
  62. #
  63. [env:MightyBoard2560]
  64. platform = atmelavr
  65. extends = mega_extended_optimized
  66. board = megaatmega2560
  67. #
  68. # RAMBo
  69. #
  70. [env:rambo]
  71. platform = atmelavr
  72. extends = common_avr8
  73. board = reprap_rambo
  74. #
  75. # FYSETC F6 V1.3 / V1.4
  76. #
  77. [env:FYSETC_F6]
  78. platform = atmelavr
  79. extends = common_avr8
  80. board = fysetc_f6
  81. #
  82. # Sanguinololu (ATmega644p)
  83. #
  84. [env:sanguino644p]
  85. platform = atmelavr
  86. extends = common_avr8
  87. board = sanguino_atmega644p
  88. #
  89. # Sanguinololu (ATmega1284p)
  90. #
  91. [env:sanguino1284p]
  92. platform = atmelavr
  93. extends = common_avr8
  94. board = sanguino_atmega1284p
  95. board_upload.maximum_size = 126976
  96. #
  97. # Melzi and clones (ATmega1284p)
  98. #
  99. [env:melzi]
  100. platform = atmelavr
  101. extends = env:sanguino1284p
  102. upload_speed = 57600
  103. #
  104. # Sanguinololu (ATmega1284p stock bootloader with tuned flags)
  105. #
  106. [tuned_1284p]
  107. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  108. [env:sanguino1284p_optimized]
  109. platform = atmelavr
  110. extends = env:melzi
  111. build_flags = ${tuned_1284p.build_flags}
  112. #
  113. # Melzi and clones (alias for sanguino1284p_optimized)
  114. #
  115. [env:melzi_optimized]
  116. platform = atmelavr
  117. extends = env:sanguino1284p_optimized
  118. #
  119. # Melzi and clones (Optiboot bootloader)
  120. #
  121. [env:melzi_optiboot]
  122. platform = atmelavr
  123. extends = common_avr8
  124. board = sanguino_atmega1284p
  125. upload_speed = 115200
  126. #
  127. # Melzi and clones (Zonestar Melzi2 with tuned flags)
  128. #
  129. [env:melzi_optiboot_optimized]
  130. platform = atmelavr
  131. extends = env:melzi_optiboot
  132. build_flags = ${tuned_1284p.build_flags}
  133. #
  134. # AT90USB1286 boards using CDC bootloader
  135. # - BRAINWAVE
  136. # - BRAINWAVE_PRO
  137. # - SAV_MKI
  138. # - TEENSYLU
  139. #
  140. [env:at90usb1286_cdc]
  141. platform = teensy
  142. extends = common_avr8
  143. board = at90usb1286
  144. lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet
  145. #
  146. # AT90USB1286 boards using DFU bootloader
  147. # - Printrboard
  148. # - Printrboard Rev.F
  149. # - ? 5DPRINT ?
  150. #
  151. [env:at90usb1286_dfu]
  152. platform = teensy
  153. extends = env:at90usb1286_cdc