We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e159cc commit a1e85ffCopy full SHA for a1e85ff
builder/frameworks/stm32cube.py
@@ -319,16 +319,14 @@ def build_usb_libs(usb_libs_root):
319
if board.get("build.stm32cube.custom_config_header", "no") == "no":
320
generate_hal_config_file()
321
322
-libs.append(
323
- env.BuildLibrary(
324
- os.path.join("$BUILD_DIR", "FrameworkHALDriver"),
325
- os.path.join(
326
- FRAMEWORK_DIR,
327
- "Drivers",
328
- MCU_FAMILY.upper() + "xx_HAL_Driver",
329
- ),
330
- src_filter="+<*> -<Src/*_template.c> -<Src/Legacy>",
331
- )
+env.BuildSources(
+ os.path.join("$BUILD_DIR", "FrameworkHALDriver"),
+ os.path.join(
+ FRAMEWORK_DIR,
+ "Drivers",
+ MCU_FAMILY.upper() + "xx_HAL_Driver",
+ ),
+ src_filter="+<*> -<Src/*_template.c> -<Src/Legacy>",
332
)
333
334
#
0 commit comments