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

avr-gcc 5.4 does not support PROGMEM for typedef #99

Open
deepfryed opened this issue Oct 27, 2018 · 3 comments · May be fixed by #133
Open

avr-gcc 5.4 does not support PROGMEM for typedef #99

deepfryed opened this issue Oct 27, 2018 · 3 comments · May be fixed by #133

Comments

@deepfryed
Copy link

Arduino/libraries/Ucglib/src/clib/ucg.h:120:25: internal compiler error: in type_hash_canon, at tree.c:6953
typedef uint8_t PROGMEM ucg_pgm_uint8_t;

It needs to be re-defined as a macro me thinks.

@deepfryed
Copy link
Author

yes that seems to work

#define ucg_pgm_uint8_t uint8_t PROGMEM

Instead of

typedef uint8_t PROGMEM ucg_pgm_uint8_t;

@deepfryed
Copy link
Author

perhaps related, Ucglib_ILI9341_18x240x320_HWSPI doesn't work but Ucglib_ILI9341_18x240x320_SWSPI does, I may have to get the logic analyzer out.

@deepfryed
Copy link
Author

Ucglib_ILI9341_18x240x320_HWSPI was a clock issue, sorted it out. I have a 12MHz crystal on my Chinese nano :/

@eudoxos eudoxos linked a pull request May 13, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant