Arduino-CMake-Toolchain
Arduino-CMake-Toolchain copied to clipboard
Resolve property as long as possible
This change repeats resolve property process so that consecutive substitutions are possible. That may be required if the property requires multiple iterations to be resolved. For instance the following property requires 2 iterations: compiler.path={runtime.tools.{build.tarch}-{build.target}-elf-gcc.path}/bin After the first iterations the form requires one more substitution compiler.path={runtime.tools.xtensa-esp32-elf-gcc.path}/bin
Ran into the same issue while trying to compile a program for ESP32. This PR fixed the problem for me :+1:
I support the merging of this patch as it is require to work with the ESP32 board package and Arduino and CMake.
I support the merging of this patch as it is require to work with the ESP32 board package and Arduino and CMake.
You'll find it merged in my fork:
https://github.com/technyon/Arduino-CMake-Toolchain