-
Notifications
You must be signed in to change notification settings - Fork 132
3rd party board not compiling #516
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
Comments
As an independent open source project we value your submission, but we ask for support, either by helping us out coding (yeah, we do understand it does require time) or a Patreon contribution (starting from as low as 1$ a month): this allows us to support people who support us back! |
So busy with other projects, but patron is fine, did it. |
Thanks for the support. |
I can reproduce the problem here. It is related to the fact the tools are not "defined" in the json file. |
This looks like a bug in the json file. Does this work with the Arduino IDE? |
thanks for the fast response. With arduino IDE it works like a charm I have other issues with other board files, too. Maybe they arise from the same area. eg while compiler.path is same in both platform.txt: other one is which doesn't try to compile, just gives the message 'Failed to find core reference Cosa:cosa All working with standard arduino 'IDE' |
There is a issue with the json description in this area. See https://github.com/arduino/Arduino/issues/5168 for more info. |
What a pity, so Sloeber is unuseable for me because they will not change the files with Arduino IDE running them correctly... |
I am trying to work around with a copy of all necessary files for my boards, but even that does not work. Copying arduinoPlugin/packages/arduino to arduinoPlugin/packages/testboards gives a selection for the project settings but change to one of those boards does not compile either with the missing path to the compiler... |
I can make a json file for you so the adafruit stuff works :-) |
thanks for that, but not necessary for me. My final goal is a private Board definition where i do collect my boards (some of them selfmade so all those jsons don't help me ;-) Actually I got the private board definition folder (testboards) running by declaring the full path to the compiler in platform.txt:
Not my favorite but it is a useable workaround. So it looks like not using the runtime.tools.avr-gcc.path or it is not filed on foreign boards. |
Arduino IDE made lots of assumptions which started causing troubles in the latest release. So they are removing some of them now. |
I think it is a good idea to add JANTJE.INSTALLPATH to the environment variables. |
I think these issues should be fixed in the nightly. Can you give it a try tomorrow? |
@Steffen-Engel can you give this a test? |
Tested a few boards with nightly win32.2016-08-30 , looks VERY good. |
Thanks for the feedback |
sloeber works perfectly with Arduino-Board as specified in arduino/Arduino AVR Boards/1.6.12
After installation of adafruit/1.4.9 any of these boards can't compile, due to not found compiler.
in Release/subdir.mk it is
so there is missing the leading path for /bin/avr-g++
Compared to an arduino board, the path to the compiler is correct:
on stable Sloeber 3.1, windows 7 64, PATH cleaned from existing sh and make
temporary installation of sloeber in c:\tmp\sloeber
The text was updated successfully, but these errors were encountered: