U8glib_Arduino
U8glib_Arduino copied to clipboard
SAMD: delay.h: No such file or directory
Following happens when build for M0 or Zero boards both in Arduino SDK and platform-io.
C:\Users\***\Documents\Arduino\libraries\U8glib\src\clib\u8g_delay.c:57:14: fatal error: delay.h: No such file or directory
# include <delay.h>
^~~~~~~~~
compilation terminated.
It helps to comment the include out:
/* issue 353 */
//#if defined(ARDUINO_ARCH_SAMD)
//# include <delay.h>
//#endif
Could you fix it yourself or should I go a full circle with cloning and issuing pull request?
I think this is more kind of a platform-io problem.
The issue is, that Arduino SDK also reports the error. Judging from the form, the include was inserted in the file, it was a quick fix for some compile problem which was occurring with SAMD SDK. Which means, now its the time to remove it. So, how we will proceed with this? Compilation of u8g is now on SAMD platform is impossible.
hmm.. actually I do not support u8glib any more. Did you check u8g2?
Will you release new version if I fix the stuff?
Probably not. Many many things got fixed with u8g2, so I assume it is better to use u8g2 instead.