Closed dccharacter closed 8 years ago
Arduino-Makefile is able to compile the project as well
Is this improved at all in the current RCBugFix
? We don't have too many developers looking at this, but recently we have received some Makefile updates.
I was actually able to find the issue - that was as far as I remember, the board name. You have to specify the numerical id as far as I remember, it wouldn't understand (logically enough) this: "BOARD_RAMPS_13_EFB". So because of this the rest of the paths in the make file were constructed incorrectly and the target couldn't build.
@dccharacter So do we need to fix the existing Makefile at RCBugfix ?
Well, this was my error and when I fixed that, I was able to use the makefile. This is not a critical issue. However I spent a lot of time (half a day easily) finding the root cause. Maybe it's because of the lack of knowledge, but maby it could use some better documentation. You decide. Thanks for what you do guys!!!!!
Post a new issue if the Makefile starts to act up again. In general it would be good to get as much feedback about it as we can, because we don't really know who's using it and in what way.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
When making Marlin, this error is shown before stopping:
Some suggest there might be an issue with paths - I tried almost 128 different versions of paths to the tools as well as reinstalling the tools. Arduino IDE is able to compile the project.
OS: openSUSE leap 42.3
The Makefile:
There's also a confusing direction in Makefile: Requires a trailing slash. (ex: /usr/local/avr-gcc/bin) As you can see, the comment says the slash is required, and the example doesn't carry a one. Multiply this with the information that the original error may have to do something with a wrong character in the end of the avr-gcc tools config line and you have an unsolvable task.
Also, the comment says the path to avr-gcc is optional... But it seems to require that.