ucglib
ucglib copied to clipboard
avr-gcc 5.4 does not support PROGMEM for typedef
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.
yes that seems to work
#define ucg_pgm_uint8_t uint8_t PROGMEM
Instead of
typedef uint8_t PROGMEM ucg_pgm_uint8_t;
perhaps related, Ucglib_ILI9341_18x240x320_HWSPI doesn't work but Ucglib_ILI9341_18x240x320_SWSPI does, I may have to get the logic analyzer out.
Ucglib_ILI9341_18x240x320_HWSPI was a clock issue, sorted it out. I have a 12MHz crystal on my Chinese nano :/