Closed jerabaul29 closed 3 years ago
I am not near a linux machine right now, but based on what changed this last build. I may have an idea that can help you out right now. In the arduino package under variants/(TARGET)/mbed/.cxx-flags try removing -MMD from this file, save, and restart arduino.
Let me know if this helps!
That did the trick, works now, perfect, many thanks :) .
Just being curious: what was this flag supposed to help with, is it one of the flags you added to speed up compilation? Should another flag be used on linux or any other way to fix? :) .
This is a flag that was added in to speed up compile times.
As for your second question, I don't know but I plan to find out!
Excellent, let me know if / when I can do some testing for you :) .
The -MMD is defined in the wrong place.
As Wenn0101 indicates remove it from : variants/(TARGET)/mbed/.cxx-flags
Now in the platform.txt, around line 57 set the parameter compiler.c.extra_flags=-MMD compiler.cxx.extra_flags=-MMD
It will save you a 'ton of time' on the next build.
regards, Paul
I had the same error but only for SparkFun:apollo3:sfe_artemis_nano The SparkFun:apollo3:amap3nano was compiling fine. Please correct. Best regards Armin
The Arduino IDE suggested that I update the Artemis boards. I suppose this follows the release you had a couple of days ago.
I accepted, but now getting the following kind of errors:
This sounds strange, as /dev/null does exist on my system of course, and I am of course able to write to it:
Wonder if this is because the flag makes the code try to open / "acquire" the /dev/null file, rather than just writing to it (?).
Any idea how to fix?