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 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. platform = atmelavr@~3.4
  15. build_flags = ${common.build_flags} -Wl,--relax
  16. board_build.f_cpu = 16000000L
  17. build_src_filter = ${common.default_src_filter} +<src/HAL/AVR>
  18. #
  19. # ATmega2560
  20. #
  21. [env:mega2560]
  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. extends = env:mega2560
  33. board_build.variant = MARLIN_MEGA_EXTENDED
  34. extra_scripts = ${common.extra_scripts}
  35. pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  36. #
  37. # ATmega1280
  38. #
  39. [env:mega1280]
  40. extends = common_avr8
  41. board = megaatmega1280
  42. #
  43. # MightyBoard AVR with extended pins
  44. #
  45. [mega_extended_optimized]
  46. extends = common_avr8
  47. board_build.variant = MARLIN_MEGA_EXTENDED
  48. extra_scripts = ${env:mega2560ext.extra_scripts}
  49. upload_speed = 57600
  50. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  51. #
  52. # MightyBoard ATmega1280
  53. #
  54. [env:MightyBoard1280]
  55. extends = mega_extended_optimized
  56. board = megaatmega1280
  57. #
  58. # MightyBoard ATmega2560
  59. #
  60. [env:MightyBoard2560]
  61. extends = mega_extended_optimized
  62. board = megaatmega2560
  63. #
  64. # RAMBo
  65. #
  66. [env:rambo]
  67. extends = common_avr8
  68. board = reprap_rambo
  69. #
  70. # FYSETC F6 V1.3 / V1.4
  71. #
  72. [env:FYSETC_F6]
  73. extends = common_avr8
  74. board = fysetc_f6_13
  75. #
  76. # Sanguinololu (ATmega644p)
  77. #
  78. [env:sanguino644p]
  79. extends = common_avr8
  80. board = sanguino_atmega644p
  81. #
  82. # Sanguinololu (ATmega1284p)
  83. #
  84. [env:sanguino1284p]
  85. extends = common_avr8
  86. board = sanguino_atmega1284p
  87. board_upload.maximum_size = 126976
  88. #
  89. # Sanguinololu (ATmega1284p stock bootloader with tuned flags)
  90. #
  91. [tuned_1284p]
  92. build_flags = ${common.build_flags} -fno-tree-scev-cprop -fno-split-wide-types -Wl,--relax -mcall-prologues
  93. [env:sanguino1284p_optimized]
  94. extends = env:sanguino1284p
  95. build_flags = ${tuned_1284p.build_flags}
  96. #
  97. # Melzi and clones (ATmega1284p)
  98. #
  99. [env:melzi]
  100. extends = env:sanguino1284p
  101. upload_speed = 57600
  102. [env:melzi_optimized]
  103. extends = env:sanguino1284p_optimized
  104. upload_speed = 57600
  105. #
  106. # Melzi and clones (Optiboot bootloader)
  107. #
  108. [env:melzi_optiboot]
  109. extends = common_avr8
  110. board = sanguino_atmega1284p
  111. upload_speed = 115200
  112. board_upload.maximum_size = 130048
  113. #
  114. # Melzi and clones (Zonestar Melzi2 with tuned flags)
  115. #
  116. [env:melzi_optiboot_optimized]
  117. extends = env:melzi_optiboot
  118. build_flags = ${tuned_1284p.build_flags}