File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 63
63
IDF_ENV_VERSION = "1.0.0"
64
64
FRAMEWORK_DIR = platform .get_package_dir ("framework-espidf" )
65
65
TOOLCHAIN_DIR = platform .get_package_dir (
66
- "toolchain-%s" % ("riscv32-esp" if mcu in ("esp32c3" ,"esp32c6" ) else ("xtensa-%s" % mcu ))
66
+ "toolchain-%s" % ("riscv32-esp" if mcu in ("esp32c3" , "esp32c6" ) else ("xtensa-%s" % mcu ))
67
67
)
68
68
69
69
@@ -373,8 +373,8 @@ def _add_archive(archive_path, link_args):
373
373
elif fragment .endswith (".a" ):
374
374
archive_path = fragment
375
375
# process static archives
376
- if archive_path . startswith ( FRAMEWORK_DIR ):
377
- # In case of precompiled archives from framework package
376
+ if os . path . isabs ( archive_path ):
377
+ # In case of precompiled archives
378
378
_add_archive (archive_path , link_args )
379
379
else :
380
380
# In case of archives within project
You can’t perform that action at this time.
0 commit comments