2021-04-01 21:53:19 -05:00
|
|
|
#
|
|
|
|
# Marlin Firmware
|
|
|
|
# PlatformIO Configuration File
|
|
|
|
#
|
|
|
|
|
|
|
|
#################################
|
2021-04-18 14:07:30 -05:00
|
|
|
#
|
|
|
|
# STM32F7 Architecture
|
|
|
|
#
|
|
|
|
# Naming Example: STM32F767ZIT6
|
|
|
|
#
|
|
|
|
# F : Foundation (sometimes High Performance F2/F4)
|
|
|
|
# 7 : Cortex M7 core
|
|
|
|
# 67 : Line/Features
|
|
|
|
# Z : 144 pins
|
|
|
|
# I : 4096KB Flash-memory
|
|
|
|
# T : LQFP package
|
|
|
|
# 6 : -40...85°C (7: ...105°C)
|
|
|
|
#
|
2021-04-01 21:53:19 -05:00
|
|
|
#################################
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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}
|
2021-04-05 21:40:50 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
2021-04-27 04:49:21 -05:00
|
|
|
board = marlin_BTT_SKR_SE_BX
|
2021-04-05 21:40:50 -05:00
|
|
|
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
|