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

fatal error: pgmspace.h: No such file or directory #467

Open
PrasanthElavarthi opened this issue Jul 22, 2022 · 1 comment
Open

fatal error: pgmspace.h: No such file or directory #467

PrasanthElavarthi opened this issue Jul 22, 2022 · 1 comment

Comments

@PrasanthElavarthi
Copy link

I am trying to use the GUIslice with SAMD51 and when I compile the code, it results in this error

Documents\Arduino\libraries\GUIslice-master\src\GUIslice.c:62:26: fatal error: pgmspace.h: No such file or directory
#include <pgmspace.h>

@Pconti31
Copy link
Contributor

@PrasanthElavarthi
SAM MCUs do not support flash with special api's. They simply use flash as part of the main memory space so try setting inside your guislice/config/xxxx.h file by searching for GSLC_USE_PROGMEM and then changing to:

#define GSLC_USE_PROGMEM 0

Paul--

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