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.

avr.ini 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. build_flags = ${common.build_flags} -Wl,--relax
  15. board_build.f_cpu = 16000000L
  16. src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  17. #
  18. # ATmega2560
  19. #
  20. [env:mega2560]
  21. platform = atmelavr
  22. extends = common_avr8
  23. board = megaatmega2560
  24. #
  25. # ATmega2560 with extended pins 70-85 defined
  26. # BOARD_BQ_ZUM_MEGA_3D
  27. # BOARD_ULTIMAIN_2
  28. # BOARD_MIGHTYBOARD_REVE
  29. # BOARD_EINSTART_S
  30. #
  31. [env:mega2560ext]
  32. platform = atmelavr
  33. extends = env:mega2560
  34. board_build.variant = MARLIN_MEGA_EXTENDED
  35. extra_scripts = ${common.extra_scripts}
  36. pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  37. #
  38. # ATmega1280
  39. #
  40. [env:mega1280]
  41. platform = atmelavr
  42. extends = common_avr8
  43. board = megaatmega1280
  44. #
  45. # MightyBoard AVR with extended pins
  46. #
  47. [mega_extended_optimized]
  48. extends = common_avr8
  49. board_build.variant = MARLIN_MEGA_EXTENDED
  50. extra_scripts = ${env:mega2560ext.extra_scripts}
  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_13
  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. board_upload.maximum_size = 130048
  127. #
  128. # Melzi and clones (Zonestar Melzi2 with tuned flags)
  129. #
  130. [env:melzi_optiboot_optimized]
  131. platform = atmelavr
  132. extends = env:melzi_optiboot
  133. build_flags = ${tuned_1284p.build_flags}
  134. #
  135. # AT90USB1286 boards using CDC bootloader
  136. # - BRAINWAVE
  137. # - BRAINWAVE_PRO
  138. # - SAV_MKI
  139. # - TEENSYLU
  140. #
  141. [env:at90usb1286_cdc]
  142. platform = teensy
  143. extends = common_avr8
  144. board = marlin_at90usb1286
  145. lib_ignore = ${env:common_avr8.lib_ignore}, Teensy_ADC, NativeEthernet
  146. #
  147. # AT90USB1286 boards using DFU bootloader
  148. # - Printrboard
  149. # - Printrboard Rev.F
  150. # - ? 5DPRINT ?
  151. #
  152. [env:at90usb1286_dfu]
  153. platform = teensy
  154. extends = env:at90usb1286_cdc