My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

stm32g0.ini 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. #
  7. # STM32G0 Architecture
  8. #
  9. # Naming Example: STM32G0B1RET6
  10. #
  11. # G : Foundation
  12. # 0 : Cortex M0+ core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
  13. # B1 : Line/Features
  14. # R : 64 pins (R:64 or 66, F:20)
  15. # E : 512KB 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. # BigTree SKR mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
  22. #
  23. [env:STM32G0B1RE_btt]
  24. platform = ststm32@~14.1.0
  25. platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
  26. extends = stm32_variant
  27. board = marlin_STM32G0B1RE
  28. board_build.offset = 0x2000
  29. board_upload.offset_address = 0x08002000
  30. build_flags = ${stm32_variant.build_flags}
  31. -DADC_RESOLUTION=12
  32. -DPIN_SERIAL4_RX=PC_11 -DPIN_SERIAL4_TX=PC_10
  33. -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
  34. -DTIMER_SERVO=TIM3 -DTIMER_TONE=TIM4
  35. -DSTEP_TIMER_IRQ_PRIO=0
  36. upload_protocol = stlink
  37. debug_tool = stlink