Skip to content

Commit 5e6f2bf

Browse files
committed
Use legacy toolchain for mixed IDF/Arduino projects
1 parent 0e104fd commit 5e6f2bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

builder/frameworks/espidf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464

6565
# Arduino framework as a component is not compatible with ESP-IDF >=4.1
6666
if "arduino" in env.subst("$PIOFRAMEWORK"):
67+
TOOLCHAIN_DIR = platform.get_package_dir("toolchain-xtensa32")
6768
ARDUINO_FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32")
6869
# Possible package names in 'package@version' format is not compatible with CMake
6970
if "@" in os.path.basename(ARDUINO_FRAMEWORK_DIR):

0 commit comments

Comments
 (0)