Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve property as long as possible #53

Open
wants to merge 1 commit into
base: release-1.1-dev
Choose a base branch
from

Conversation

michal-kowalczyk
Copy link

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

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
@markuspi
Copy link

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

@fdgonthier
Copy link

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

@technyon
Copy link

technyon commented Sep 1, 2022

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

KSDaemon added a commit to KSDaemon/Arduino-CMake-Toolchain that referenced this pull request Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants