My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

avr.ini 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. # Sanguinololu (ATmega1284p stock bootloader with tuned flags)
  98. #
  99. [tuned_1284p]
  100. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  101. [env:sanguino1284p_optimized]
  102. platform = atmelavr
  103. extends = env:sanguino1284p
  104. build_flags = ${tuned_1284p.build_flags}
  105. #
  106. # Melzi and clones (ATmega1284p)
  107. #
  108. [env:melzi]
  109. platform = atmelavr
  110. extends = env:sanguino1284p
  111. upload_speed = 57600
  112. [env:melzi_optimized]
  113. platform = atmelavr
  114. extends = env:sanguino1284p_optimized
  115. upload_speed = 57600
  116. #
  117. # Melzi and clones (Optiboot bootloader)
  118. #
  119. [env:melzi_optiboot]
  120. platform = atmelavr
  121. extends = common_avr8
  122. board = sanguino_atmega1284p
  123. upload_speed = 115200
  124. board_upload.maximum_size = 130048
  125. #
  126. # Melzi and clones (Zonestar Melzi2 with tuned flags)
  127. #
  128. [env:melzi_optiboot_optimized]
  129. platform = atmelavr
  130. extends = env:melzi_optiboot
  131. build_flags = ${tuned_1284p.build_flags}