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.

stm32-common.ini 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. ####################################
  6. #
  7. # HAL/STM32 Common Environments
  8. #
  9. ####################################
  10. [common_stm32]
  11. platform = ststm32@~12.1
  12. board_build.core = stm32
  13. build_flags = ${common.build_flags}
  14. -std=gnu++14 -DHAL_STM32
  15. -DUSBCON -DUSBD_USE_CDC
  16. -DTIM_IRQ_PRIO=13
  17. -DADC_RESOLUTION=12
  18. build_unflags = -std=gnu++11
  19. src_filter = ${common.default_src_filter} +<src/HAL/STM32> +<src/HAL/shared/backtrace>
  20. extra_scripts = ${common.extra_scripts}
  21. pre:buildroot/share/PlatformIO/scripts/stm32_serialbuffer.py
  22. #
  23. # STM32 board based on a variant.
  24. #
  25. [stm32_variant]
  26. extends = common_stm32
  27. extra_scripts = ${common_stm32.extra_scripts}
  28. pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
  29. buildroot/share/PlatformIO/scripts/offset_and_rename.py
  30. #
  31. # USB Flash Drive mix-ins for STM32
  32. #
  33. [stm_flash_drive]
  34. platform_packages = framework-arduinoststm32@https://github.com/rhapsodyv/Arduino_Core_STM32/archive/usb-host-msc-cdc-msc-3.zip
  35. build_flags = ${common_stm32.build_flags}
  36. -DHAL_PCD_MODULE_ENABLED -DHAL_HCD_MODULE_ENABLED
  37. -DUSBHOST -DUSBH_IRQ_PRIO=3 -DUSBH_IRQ_SUBPRIO=4