-
Notifications
You must be signed in to change notification settings - Fork 132
arduino:arduino in boards.txt is not supported (for upload) #158
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
It looks like the fix for issue #34 gives problems on the mac |
I've been looking a bit ore in detail. The only explanation I can think of to explain the arduino:arduino is that your boards.txt is not the default arduino boards.txt file and there is a arduino:arduino in there. Are you sure the plugin is properly configured on your 2 machines? |
I'm using a sparkfun pro micro. I will check the board.txt file. |
promicro8.build.core=arduino:arduino is in the board file, what should it be? I will play with it and see what happens, but suggestions are welcome ;-). |
I think the source of the problem is that the sparkfun uses the "normal" core files and have only a pins_arduino.h as variant. |
ha now I get (at least part of) this one. |
I've got the files via: |
Downloaded version mac64.2014-03-26_02-06-13.tar.gz and tested it, indeed the starting '/' is never stripped with this version. There are some compile errors, but I guess that has to do with that in the project there is a ino.cpp file and that the older version have no direct support for *.ino files. |
mac64.2014-03-26_02-06-13.tar.gz doesn't have ino support yet. |
@xaljox |
Nope go to the Arduino item on the project properties and it is gone on 3 path variables. If I first go via the resource view of the path variables, then go to the arduino view and then back to another view, it goes ok. Leaving the arduino view is only a precaution, so the next time you open the project properties you will not go to the arduino view immediately and have the slashes gone. Op 1 jul. 2014, om 13:46 heeft jantje [email protected] het volgende geschreven:
|
#34 created a bug for due as well so I'll temporary use the old code in case of mac. |
I have been working on trying to get this working but not much success now. Starting C++ compile do you have a clue what is going on? |
The build of tonight has a fix (hard coded arduino) given the comment above I'm not sure it'll work ok. |
Issue seems to have gone. Please reopen if it is not fixed. |
reopening due to new labelling. |
it works now for core and variant. |
I wonder if this is used in V3 |
In v3 this should not be used |
When opening the Arduino dialog of the project Properties (e.g. for selecting another USB port), then some path variables are reset to a wrong value. As a result the resource paths to the "arduino->core" and "arduino->variant" are wrong.




Lets show the original values of the path variables:
Next select "Arduino" in the left pane of the Properties dialog:
See that the "arduino->core" and "arduino->variant" items in the "Project Explorer" are directly marked as erroneous.
When looking at the path variables, some of them are set wrong, the starting '/' is gone. It seems they are somehow reset to a wrong initial value.
When those path variables are edited to at '/' at the front, the "arduino->variant" resource path is repaired, but the "arduino->core" is still fault.
This must be repaired by editing its Properties, somehow this resource path is reseted to a very strange value with arduino:arduino in it. Magically the ':' expands to '::', but perhaps that is my lack of understanding eclipse.
Note that I used version mac64.2014-05-22_02-07-31.tar.gz of the eclipseArduino. I've no idea if Windows or Linux version suffer from the same issue.
I develop both on an iMac and MacBook air and transfer the projects between them. When switching to the other machine, I have there another USB port identifier, so I must alter it.
Then I must always repair the resource paths, the first time it occurred, it took me a while to discover what was going on and how to repair it. Now I'm more comfortable with Eclipse and I'm able to fix it fast. I've added a path variable of my own, which is left untouched, so I just reset "arduino->core" to that variable. As for the other variables, after visiting the "Arduino" part, I visit immediately the path variable part, double click on the wrong ones and add a '/'.
The text was updated successfully, but these errors were encountered: