Browse Source

📌 Biqu BX temporary framework workaround (#23131)

vanilla_fb_2.0.x
Keith Bennett 3 years ago
committed by Scott Lahteine
parent
commit
3148060550
  1. 2
      buildroot/share/PlatformIO/scripts/generic_create_variant.py
  2. 2
      ini/stm32h7.ini

2
buildroot/share/PlatformIO/scripts/generic_create_variant.py

@ -30,7 +30,7 @@ if pioutil.is_pio_build():
else:
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"
FRAMEWORK_DIR = platform.get_package_dir(platform_name)

2
ini/stm32h7.ini

@ -25,7 +25,7 @@
[env:BTT_SKR_SE_BX]
platform = ${common_stm32.platform}
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_build.offset = 0x20000
build_flags = ${stm32_variant.build_flags} ${stm_flash_drive.build_flags}

Loading…
Cancel
Save