Arduino-CMake-Toolchain icon indicating copy to clipboard operation
Arduino-CMake-Toolchain copied to clipboard

Resolve property as long as possible

Open michal-kowalczyk opened this issue 2 years ago • 3 comments

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

michal-kowalczyk avatar Nov 29 '21 18:11 michal-kowalczyk

Ran into the same issue while trying to compile a program for ESP32. This PR fixed the problem for me :+1:

markuspi avatar Dec 31 '21 14:12 markuspi

I support the merging of this patch as it is require to work with the ESP32 board package and Arduino and CMake.

fdgonthier avatar Sep 01 '22 19:09 fdgonthier

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

technyon avatar Sep 01 '22 19:09 technyon