Browse Source

📌 Biqu BX temporary framework workaround (#23131)

Keith Bennett 3 years ago
parent
commit
f0e48ce104
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      buildroot/share/PlatformIO/scripts/generic_create_variant.py
  2. 1
    1
      ini/stm32h7.ini

+ 1
- 1
buildroot/share/PlatformIO/scripts/generic_create_variant.py View File

30
 	else:
30
 	else:
31
 		platform_name = PackageSpec(platform_packages[0]).name
31
 		platform_name = PackageSpec(platform_packages[0]).name
32
 
32
 
33
-	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" ]:
33
+	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" ]:
34
 		platform_name = "framework-arduinoststm32"
34
 		platform_name = "framework-arduinoststm32"
35
 
35
 
36
 	FRAMEWORK_DIR = platform.get_package_dir(platform_name)
36
 	FRAMEWORK_DIR = platform.get_package_dir(platform_name)

+ 1
- 1
ini/stm32h7.ini View File

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

Loading…
Cancel
Save