stm32h7.ini 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #
  2. # Marlin Firmware
  3. # PlatformIO Configuration File
  4. #
  5. #################################
  6. #
  7. # STM32H7 Architecture
  8. #
  9. # Naming Example: STM32H743IIT6
  10. #
  11. # H : High Performance
  12. # 7 : Cortex M7 core (0:M0, 1-2:M3, 3-4:M4, 7:M7)
  13. # 43 : Line/Features
  14. # I : 176 pins
  15. # I : 2048KB Flash-memory
  16. # T : LQFP package
  17. # 6 : -40...85°C (7: ...105°C)
  18. #
  19. #################################
  20. #
  21. # BigTreeTech SKR SE BX V2.0 / V3.0 (STM32H743IIT6 ARM Cortex-M7)
  22. #
  23. [env:BTT_SKR_SE_BX]
  24. extends = stm32_variant
  25. # framework-arduinoststm32 uses biqu-bx-workaround branch
  26. platform_packages = framework-arduinoststm32@https://github.com/thisiskeithb/Arduino_Core_STM32/archive/8b3522051a.zip
  27. board = marlin_BTT_SKR_SE_BX
  28. board_build.offset = 0x20000
  29. build_flags = ${stm32_variant.build_flags} ${stm_flash_drive.build_flags}
  30. -DUSE_USBHOST_HS
  31. -DUSE_USB_HS_IN_FS
  32. -DHAL_DMA2D_MODULE_ENABLED
  33. -DHAL_LTDC_MODULE_ENABLED
  34. -DHAL_SDRAM_MODULE_ENABLED
  35. -DHAL_QSPI_MODULE_ENABLED
  36. -DHAL_MDMA_MODULE_ENABLED
  37. -DHAL_SD_MODULE_ENABLED
  38. upload_protocol = cmsis-dap
  39. debug_tool = cmsis-dap
  40. #
  41. # BigTreeTech SKR V3.0 / V3.0 EZ (STM32H743VIT6 ARM Cortex-M7)
  42. #
  43. [env:STM32H743Vx_btt]
  44. extends = stm32_variant
  45. platform = ststm32@~14.1.0
  46. platform_packages = framework-arduinoststm32@~4.20600.231001
  47. board = marlin_STM32H743Vx
  48. board_build.offset = 0x20000
  49. board_upload.offset_address = 0x08020000
  50. build_flags = ${stm32_variant.build_flags}
  51. -DPIN_SERIAL1_RX=PA_10 -DPIN_SERIAL1_TX=PA_9
  52. -DPIN_SERIAL3_RX=PD_9 -DPIN_SERIAL3_TX=PD_8
  53. -DPIN_SERIAL4_RX=PA_1 -DPIN_SERIAL4_TX=PA_0
  54. -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
  55. -DTIMER_SERVO=TIM5 -DTIMER_TONE=TIM2
  56. -DSTEP_TIMER_IRQ_PRIO=0
  57. -DD_CACHE_DISABLED
  58. upload_protocol = cmsis-dap
  59. debug_tool = cmsis-dap