stm32h7.ini 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. platform_packages = framework-arduinoststm32@https://github.com/thisiskeithb/Arduino_Core_STM32/archive/biqu-bx-workaround.zip
  26. board = marlin_BTT_SKR_SE_BX
  27. board_build.offset = 0x20000
  28. build_flags = ${stm32_variant.build_flags} ${stm_flash_drive.build_flags}
  29. -DUSE_USBHOST_HS
  30. -DUSE_USB_HS_IN_FS
  31. -DHAL_DMA2D_MODULE_ENABLED
  32. -DHAL_LTDC_MODULE_ENABLED
  33. -DHAL_SDRAM_MODULE_ENABLED
  34. -DHAL_QSPI_MODULE_ENABLED
  35. -DHAL_MDMA_MODULE_ENABLED
  36. -DHAL_SD_MODULE_ENABLED
  37. upload_protocol = cmsis-dap
  38. debug_tool = cmsis-dap
  39. #
  40. # BigTreeTech SKR V3.0 / V3.0 EZ (STM32H743VIT6 ARM Cortex-M7)
  41. #
  42. [env:STM32H743Vx_btt]
  43. extends = stm32_variant
  44. platform = ststm32@~14.1.0
  45. platform_packages = framework-arduinoststm32@https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
  46. board = marlin_STM32H743Vx
  47. board_build.offset = 0x20000
  48. board_upload.offset_address = 0x08020000
  49. build_flags = ${stm32_variant.build_flags}
  50. -DPIN_SERIAL1_RX=PA_10 -DPIN_SERIAL1_TX=PA_9
  51. -DPIN_SERIAL3_RX=PD_9 -DPIN_SERIAL3_TX=PD_8
  52. -DPIN_SERIAL4_RX=PA_1 -DPIN_SERIAL4_TX=PA_0
  53. -DSERIAL_RX_BUFFER_SIZE=1024 -DSERIAL_TX_BUFFER_SIZE=1024
  54. -DTIMER_SERVO=TIM5 -DTIMER_TONE=TIM2
  55. -DSTEP_TIMER_IRQ_PRIO=0
  56. -DD_CACHE_DISABLED
  57. upload_protocol = cmsis-dap
  58. debug_tool = cmsis-dap