stm32f0.ini 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. #
  7. # STM32F0 Architecture
  8. #
  9. # Naming Example: STM32F070CBT6
  10. #
  11. # F : Foundation
  12. # 0 : Cortex M0 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
  13. # 70 : Line/Features
  14. # C : 48 pins (R:64 or 66, F:20)
  15. # B : 128KB Flash-memory (C:256KB, D:384KB, E:512KB, G:1024KB)
  16. # T : LQFP package
  17. # 6 : -40...85°C (7: ...105°C)
  18. #
  19. #################################
  20. #
  21. # Malyan M200 v2 (STM32F070RB)
  22. #
  23. [env:STM32F070RB_malyan]
  24. extends = common_stm32
  25. board = marlin_malyanM200v2
  26. build_flags = ${common_stm32.build_flags} -DHAL_PCD_MODULE_ENABLED
  27. -O2 -ffreestanding -fsigned-char -fno-move-loop-invariants
  28. -fno-strict-aliasing -DCUSTOM_STARTUP_FILE
  29. #
  30. # Malyan M200 v2 (STM32F070CB)
  31. #
  32. [env:STM32F070CB_malyan]
  33. extends = common_stm32
  34. board = malyanm200_f070cb
  35. build_flags = ${common_stm32.build_flags}
  36. -DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB
  37. -DHAL_UART_MODULE_ENABLED -DCUSTOM_STARTUP_FILE
  38. #
  39. # Malyan M300 (STM32F070CB)
  40. #
  41. [env:malyan_M300]
  42. extends = common_stm32
  43. board = malyanm300_f070cb
  44. build_flags = ${common_stm32.build_flags}
  45. -DHAL_PCD_MODULE_ENABLED -DDISABLE_GENERIC_SERIALUSB
  46. -DHAL_UART_MODULE_ENABLED
  47. build_src_filter = ${common.default_src_filter} +<src/HAL/STM32>