mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-28 02:10:32 -07:00
🔨 Fix pioarduino path check for xtensa-esp32 (#27693)
This commit is contained in:
parent
0518737119
commit
89def456e8
1 changed files with 2 additions and 2 deletions
|
|
@ -87,8 +87,8 @@ def search_compiler(env):
|
|||
# Use any item in $PATH corresponding to a platformio toolchain bin folder
|
||||
if ppath.match(env['PROJECT_PACKAGES_DIR'] + "/**/bin"):
|
||||
for gpath in ppath.glob(gcc_exe):
|
||||
# Skip '*-elf-g++' (crosstool-NG) except for xtensa32
|
||||
if not gpath.stem.endswith('-elf-g++') or "xtensa32" in str(gpath):
|
||||
# Skip '*-elf-g++' (crosstool-NG) except for xtensa32/xtensa-esp32
|
||||
if not gpath.stem.endswith('-elf-g++') or "xtensa" in str(gpath):
|
||||
gccpath = str(gpath.resolve())
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue