Marlin/ini/stm32f7.ini

56 lines
1.5 KiB
INI
Raw Normal View History

2021-04-02 02:53:19 +00:00
#
# Marlin Firmware
# PlatformIO Configuration File
#
#################################
# #
# STM32F7 Architecture #
# #
#################################
#
# ST NUCLEO-F767ZI Development Board
# This environment is for testing purposes prior to control boards
# being readily available based on STM32F7 MCUs
#
[env:NUCLEO_F767ZI]
platform = ${common_stm32.platform}
extends = common_stm32
board = nucleo_f767zi
build_flags = ${common_stm32.build_flags} -DTIMER_SERIAL=TIM9
#
# REMRAM_V1
#
[env:REMRAM_V1]
platform = ${common_stm32.platform}
extends = common_stm32
board = remram_v1
build_flags = ${common_stm32.build_flags}
#
# BigTreeTech SKR SE BX (STM32H743IIT6 ARM Cortex-M7)
#
[env:BTT_SKR_SE_BX]
platform = ${common_stm32.platform}
platform_packages = ${stm_flash_drive.platform_packages}
extends = common_stm32
board = BTT_SKR_SE_BX
extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/generic_create_variant.py
build_flags = ${common_stm32.build_flags}
${stm_flash_drive.build_flags}
-DUSE_USBHOST_HS
-DUSE_USB_HS_IN_FS
#-DUSBD_USE_CDC_MSC
-DVECT_TAB_OFFSET=0x20000
-DHAL_DMA2D_MODULE_ENABLED
-DHAL_LTDC_MODULE_ENABLED
-DHAL_SDRAM_MODULE_ENABLED
-DHAL_QSPI_MODULE_ENABLED
-DHAL_MDMA_MODULE_ENABLED
-DHAL_SD_MODULE_ENABLED
upload_protocol = cmsis-dap
debug_tool = cmsis-dap