a9183756-gh / Arduino-CMake-Toolchain

CMake toolchain for all Arduino compatible boards
MIT License
135 stars 40 forks source link

platform.local.txt not supported #51

Open mkettn opened 2 years ago

mkettn commented 2 years ago

I've noticed that the file platform.local.txt is not considered when detecting toolchains. For example create the file ~/.arduino15/packages/arduino/hardware/mbed_nano/2.5.2/platform.local.txt with the content: compiler.path=/usr/bin/

if you compile your code with "make VERBOSE=1" you can see that still the original compiler is used, located somewhere else, instead of the one in /usr/bin/

TobyChaloner commented 1 week ago

This is fixed on the master branch of technyon toolchain fork. Version on July 2024 is good.