Closed wd5gnr closed 5 years ago
Hi @wd5gnr, any questions:
Just to me reproduce the error
Compile with Arduino 1.8.5 for ARM board. I am under Linux but that shouldn't matter.
If you previously included varargs.h that has been deprecated and you must use stdarg.h now. Didn't check if that was the problem but adding stdarg.h under arduino.h fixes it.
Yes, thanks for response. I just testing in Linux Mint and Arduino Mega, I do any tests with Due (ARM too) Is only this #include thst need "include" ?
Yes I have it working on an Uno and a Vidor MK4000 with the two changes (Arduino.h in 3 files and stdarg.h in this file.
Linux Mint, Arduino 1.8.7 and Due, compile ok, not need that include. Maybe it is due Arduino 1.8.5. I will put it in SerialDebug.cpp. Please try it, before I relase new version:
/////// Includes
#include <stdarg.h>
Works fine here. I wonder what gcc 1.8.7 uses? 1.8.5 uses 5.4.1 for arm-none-eabi.
Good, I just finish the update, please close it if always ok. Thanks for post this issue.
Arduino 1.8.7 for Due in my Linux, appears using 4.8.3. It can be for MKR, has new gcc.
SerialDebug.cpp lacks stdarg.h header which makes it fail to compile.