My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

stm32g0.ini 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. # BigTreeTech SKR mini E3 V3.0 (STM32G0B1RET6 ARM Cortex-M0+)
  22. #
  23. [env:STM32G0B1RE_btt]
  24. extends = stm32_variant
  25. platform = ststm32@~14.1.0
  26. platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
  27. board = marlin_STM32G0B1RE
  28. board_build.offset = 0x2000
  29. board_upload.offset_address = 0x08002000
  30. build_flags = ${stm32_variant.build_flags}
  31. -DPIN_SERIAL4_RX=PC_11 -DPIN_SERIAL4_TX=PC_10
  32. -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
  33. -DTIMER_SERVO=TIM3 -DTIMER_TONE=TIM4
  34. -DSTEP_TIMER_IRQ_PRIO=0
  35. upload_protocol = stlink
  36. debug_tool = stlink
  37. #
  38. # Custom upload to SD via Marlin with Binary Protocol
  39. #
  40. [env:STM32G0B1RE_btt_xfer]
  41. extends = env:STM32G0B1RE_btt
  42. build_flags = ${env:STM32G0B1RE_btt.build_flags} -DXFER_BUILD
  43. extra_scripts = ${env:STM32G0B1RE_btt.extra_scripts}
  44. pre:buildroot/share/scripts/upload.py
  45. upload_protocol = custom