Closed KSDaemon closed 1 year ago
I know there is a https://github.com/a9183756-gh/Arduino-CMake-Toolchain/pull/53 but somehow it doesn't work...
After some tries managed to apply patch https://github.com/a9183756-gh/Arduino-CMake-Toolchain/pull/53 which helps :)
Hi there!
I faced the problem of setting up toolchain for building for ESP32 v2.x.x platform on Mac OS.
The typical setup like using basic hello_world example fails with the next error:
As I researched the problem is that complex variables of
platform.txt
for 2.0.x are not expanded properly.For example this one:
All properties that are constructed of
variables inside variables
like in the example above are expanded to only one level.I compared
platform.txt
of v1 and v2 — and indeed, v2 heavily uses kind of recursive expansion.I'm trying to figure out the place inside the toolchain where this expansion is made to fix it. If someone knows — please point me to.
UPDATE: I'm testing on
release-1.1-dev
branch./cc @a9183756-gh @technyon