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.6KB

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 = ${common.extra_scripts}
  51. pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  52. upload_speed = 57600
  53. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  54. #
  55. # MightyBoard ATmega1280
  56. #
  57. [env:MightyBoard1280]
  58. platform = atmelavr
  59. extends = mega_extended_optimized
  60. board = megaatmega1280
  61. #
  62. # MightyBoard ATmega2560
  63. #
  64. [env:MightyBoard2560]
  65. platform = atmelavr
  66. extends = mega_extended_optimized
  67. board = megaatmega2560
  68. #
  69. # RAMBo
  70. #
  71. [env:rambo]
  72. platform = atmelavr
  73. extends = common_avr8
  74. board = reprap_rambo
  75. #
  76. # FYSETC F6 V1.3 / V1.4
  77. #
  78. [env:FYSETC_F6]
  79. platform = atmelavr
  80. extends = common_avr8
  81. board = fysetc_f6_13
  82. #
  83. # Sanguinololu (ATmega644p)
  84. #
  85. [env:sanguino644p]
  86. platform = atmelavr
  87. extends = common_avr8
  88. board = sanguino_atmega644p
  89. #
  90. # Sanguinololu (ATmega1284p)
  91. #
  92. [env:sanguino1284p]
  93. platform = atmelavr
  94. extends = common_avr8
  95. board = sanguino_atmega1284p
  96. board_upload.maximum_size = 126976
  97. #
  98. # Melzi and clones (ATmega1284p)
  99. #
  100. [env:melzi]
  101. platform = atmelavr
  102. extends = env:sanguino1284p
  103. upload_speed = 57600
  104. #
  105. # Sanguinololu (ATmega1284p stock bootloader with tuned flags)
  106. #
  107. [tuned_1284p]
  108. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  109. [env:sanguino1284p_optimized]
  110. platform = atmelavr
  111. extends = env:melzi
  112. build_flags = ${tuned_1284p.build_flags}
  113. #
  114. # Melzi and clones (alias for sanguino1284p_optimized)
  115. #
  116. [env:melzi_optimized]
  117. platform = atmelavr
  118. extends = env:sanguino1284p_optimized
  119. #
  120. # Melzi and clones (Optiboot bootloader)
  121. #
  122. [env:melzi_optiboot]
  123. platform = atmelavr
  124. extends = common_avr8
  125. board = sanguino_atmega1284p
  126. upload_speed = 115200
  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