0db64af9b2
* Consolidate variant scripts * Rename Marlin-local boards * Simplify variants where possible * Rename variants * CHITU_F103 and MEEB_3DP: Maple platform `platformio-build-stm32f1.py` uses the 'board' name, not 'board_build.variant' so folder names match 'board' and not `board_build.variant`.
66 lines
1.6 KiB
INI
66 lines
1.6 KiB
INI
#
|
|
# Marlin Firmware
|
|
# PlatformIO Configuration File
|
|
#
|
|
|
|
#################################
|
|
#
|
|
# 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)
|
|
#
|
|
#################################
|
|
|
|
#
|
|
# 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 = marlin_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
|