Skip to content
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

SAMD: delay.h: No such file or directory #27

Open
red-scorp opened this issue Jan 1, 2021 · 5 comments
Open

SAMD: delay.h: No such file or directory #27

red-scorp opened this issue Jan 1, 2021 · 5 comments

Comments

@red-scorp
Copy link

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?

@olikraus
Copy link
Owner

olikraus commented Jan 2, 2021

I think this is more kind of a platform-io problem.

@red-scorp
Copy link
Author

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.

@olikraus
Copy link
Owner

olikraus commented Jan 2, 2021

hmm.. actually I do not support u8glib any more. Did you check u8g2?

@red-scorp
Copy link
Author

Will you release new version if I fix the stuff?

@olikraus
Copy link
Owner

olikraus commented Jan 4, 2021

Probably not. Many many things got fixed with u8g2, so I assume it is better to use u8g2 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants