Typo fix
This commit is contained in:
@@ -59,12 +59,15 @@ TOOLCHAIN_DIR = platform.get_package_dir(
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Legacy toolchains for mixed IDF/Arduino projects
|
||||||
|
if "arduino" in env.subst("$PIOFRAMEWORK"):
|
||||||
|
TOOLCHAIN_DIR = platform.get_package_dir("toolchain-xtensa32")
|
||||||
|
|
||||||
assert os.path.isdir(FRAMEWORK_DIR)
|
assert os.path.isdir(FRAMEWORK_DIR)
|
||||||
assert os.path.isdir(TOOLCHAIN_DIR)
|
assert os.path.isdir(TOOLCHAIN_DIR)
|
||||||
|
|
||||||
# Arduino framework as a component is not compatible with ESP-IDF >=4.1
|
# Arduino framework as a component is not compatible with ESP-IDF >=4.1
|
||||||
if "arduino" in env.subst("$PIOFRAMEWORK"):
|
if "arduino" in env.subst("$PIOFRAMEWORK"):
|
||||||
TOOLCHAIN_DIR = platform.get_package_dir("toolchain-xtensa32")
|
|
||||||
ARDUINO_FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32")
|
ARDUINO_FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32")
|
||||||
# Possible package names in 'package@version' format is not compatible with CMake
|
# Possible package names in 'package@version' format is not compatible with CMake
|
||||||
if "@" in os.path.basename(ARDUINO_FRAMEWORK_DIR):
|
if "@" in os.path.basename(ARDUINO_FRAMEWORK_DIR):
|
||||||
|
|||||||
Reference in New Issue
Block a user