due.ini 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. # #
  7. # DUE Architecture #
  8. # #
  9. #################################
  10. #
  11. # Due (Atmel SAM3X8E ARM Cortex-M3)
  12. #
  13. # - RAMPS4DUE
  14. # - RADDS
  15. #
  16. [env:DUE]
  17. platform = atmelsam
  18. board = due
  19. build_src_filter = ${common.default_src_filter} +<src/HAL/DUE> +<src/HAL/shared/backtrace>
  20. [env:DUE_USB]
  21. platform = atmelsam
  22. extends = env:DUE
  23. board = dueUSB
  24. #
  25. # Archim SAM
  26. #
  27. [common_DUE_archim]
  28. platform = atmelsam
  29. extends = env:DUE
  30. board = marlin_archim
  31. build_flags = ${common.build_flags}
  32. -DARDUINO_SAM_ARCHIM -DARDUINO_ARCH_SAM -D__SAM3X8E__ -DUSBCON
  33. board_build.variants_dir = buildroot/share/PlatformIO/variants/
  34. extra_scripts = ${common.extra_scripts}
  35. Marlin/src/HAL/DUE/upload_extra_script.py
  36. [env:DUE_archim]
  37. platform = ${common_DUE_archim.platform}
  38. extends = common_DUE_archim