🚸 Tronxy V10 w/ TFT_TRONXY_X5SA + MKS_ROBIN_TFT43 (#26747)

This commit is contained in:
Smokey Pell
2024-02-04 09:37:32 -06:00
committed by GitHub
parent 755b661c2d
commit 9364cbb4b5
9 changed files with 435 additions and 364 deletions

View File

@@ -812,17 +812,29 @@ upload_protocol = dfu
upload_command = dfu-util -a 0 -s 0x08000000:leave -D "$SOURCE"
#
# STM32F446ZET6 ARM Cortex-M4
# TRONXY_CXY_446_V10 (STM32F446ZET6 ARM Cortex-M4)
#
[env:STM32F446_tronxy]
extends = stm32_variant
board = marlin_STM32F446ZET_tronxy
board_build.offset = 0x10000
board_build.rename = fmw_tronxy.bin
build_flags = ${stm32_variant.build_flags}
-DSTM32F4xx
build_unflags = ${stm32_variant.build_unflags} -fno-rtti
-DUSBCON -DUSBD_USE_CDC
[env:TRONXY_CXY_446_V10]
extends = stm32_variant
board = marlin_STM32F446ZET_tronxy
board_build.ldscript = buildroot/share/PlatformIO/variants/MARLIN_F446Zx_TRONXY/ldscript.ld
board_build.offset = 0x10000
board_build.rename = fmw_tronxy.bin
build_flags = ${stm32_variant.build_flags}
-DSTM32F4xx -DUSE_USB_HS
-DUSE_USB_HS_IN_FS
build_unflags = ${stm32_variant.build_unflags} -fno-rtti
-fno-threadsafe-statics -fno-exceptions
-DUSBD_USE_CDC -DUSBCON
extra_scripts = ${stm32_variant.extra_scripts}
buildroot/share/PlatformIO/scripts/tronxy_cxy_446_v10.py
#
# TRONXY_CXY_446_V10 (STM32F446ZET6 ARM Cortex-M4) with USB Flash Drive Support
#
[env:TRONXY_CXY_446_V10_usb_flash_drive]
extends = env:TRONXY_CXY_446_V10
platform_packages = ${stm_flash_drive.platform_packages}
#
# Blackpill