📌 Biqu BX temporary framework workaround (#23131)

This commit is contained in:
Keith Bennett 2021-11-23 13:54:31 -08:00 committed by GitHub
parent d4c78edfe3
commit f0e48ce104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ if pioutil.is_pio_build():
else: else:
platform_name = PackageSpec(platform_packages[0]).name platform_name = PackageSpec(platform_packages[0]).name
if platform_name in [ "usb-host-msc", "usb-host-msc-cdc-msc", "usb-host-msc-cdc-msc-2", "usb-host-msc-cdc-msc-3", "tool-stm32duino" ]: if platform_name in [ "usb-host-msc", "usb-host-msc-cdc-msc", "usb-host-msc-cdc-msc-2", "usb-host-msc-cdc-msc-3", "tool-stm32duino", "biqu-bx-workaround" ]:
platform_name = "framework-arduinoststm32" platform_name = "framework-arduinoststm32"
FRAMEWORK_DIR = platform.get_package_dir(platform_name) FRAMEWORK_DIR = platform.get_package_dir(platform_name)

View file

@ -25,7 +25,7 @@
[env:BTT_SKR_SE_BX] [env:BTT_SKR_SE_BX]
platform = ${common_stm32.platform} platform = ${common_stm32.platform}
extends = stm32_variant extends = stm32_variant
platform_packages = ${stm_flash_drive.platform_packages} platform_packages = framework-arduinoststm32@https://github.com/thisiskeithb/Arduino_Core_STM32/archive/biqu-bx-workaround.zip
board = marlin_BTT_SKR_SE_BX board = marlin_BTT_SKR_SE_BX
board_build.offset = 0x20000 board_build.offset = 0x20000
build_flags = ${stm32_variant.build_flags} ${stm_flash_drive.build_flags} build_flags = ${stm32_variant.build_flags} ${stm_flash_drive.build_flags}