-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
Hey,
We have our own JSON for our boards. It's a SAMD board which uses the same tools as the Zero. After selecting the install it downloads all the necessary tools. But then there is a conflict between where the tools are installed and where Arduino IDE expects them.
Our name is SODAQ and the Board Managers installs the tools in $HOME/.arduino15/packages/SODAQ/tools/. So far so good. Installation reported no problem. Then I select our board, and build a sketch. The error I get is:
Cannot run program "{runtime.tools.arm-none-eabi-gcc.path}/bin/arm-none-eabi-g++" (in directory "."): error=2, No such file or directory
However when I install the Zero, (which installs the very same tools in $HOME/.arduino15/packages/arduino/tools/) it all works.
So, either the installer should have installed it in $HOME/.arduino15/packages/arduino/tools/, or the IDE should assign {runtime.tools.arm-none-eabi-gcc.path} to my SODAQ/tools.
In case you want to test, here is the URL (used for testing)
http://downloads.sodaq.net/test/package_sodaq_index.json