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 5e6f2bf commit c00f016Copy full SHA for c00f016
builder/frameworks/espidf.py
@@ -59,12 +59,15 @@
59
)
60
61
62
+# Legacy toolchains for mixed IDF/Arduino projects
63
+if "arduino" in env.subst("$PIOFRAMEWORK"):
64
+ TOOLCHAIN_DIR = platform.get_package_dir("toolchain-xtensa32")
65
+
66
assert os.path.isdir(FRAMEWORK_DIR)
67
assert os.path.isdir(TOOLCHAIN_DIR)
68
69
# Arduino framework as a component is not compatible with ESP-IDF >=4.1
70
if "arduino" in env.subst("$PIOFRAMEWORK"):
- TOOLCHAIN_DIR = platform.get_package_dir("toolchain-xtensa32")
71
ARDUINO_FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32")
72
# Possible package names in 'package@version' format is not compatible with CMake
73
if "@" in os.path.basename(ARDUINO_FRAMEWORK_DIR):
0 commit comments