olikraus
olikraus
Hmm.. Atmel SPI has some issues with hardware SPI. U8g2 will not use hardware controlled CS but instead does it manually. However if I remember corretly Atmel SPI will disallow...
my_u8x8_gpio_and_delay: Handling of the delay messages is missing: https://github.com/olikraus/u8g2/wiki/Porting-to-new-MCU-platform#template-for-the-gpio-and-delay-callback I think at least DELAY_MILLI should be there, probably also the 100NANO delay.
> while (!(SPSR & (1 delay received message is 32 I don't exactly which messages are used in your case, but you should probably implement all delay messages listed in...
Oh, it looks like you want to use a ST7920 in serial mode. I think this wasn't mentioned before. ST7920 is special: You need to use 4-wire protocol (this means:...
> ... updating documentation to reflect this https://github.com/olikraus/u8g2/wiki/Porting-to-new-MCU-platform#atmel-avr > "initializer element is not constant" error and Form Definition String fds_t do not appear to be a recognized symbol. I'm doing...
I have created a test and it works as expected: https://github.com/olikraus/u8g2/blob/db3888e8d3490e5b7e6f95a8ee869b8bf38950f1/sys/sdl/mui_issue_1954/main.c#L13-L25 I am not sure whether MUI_PROGMEM is required. I thought that I have moved this into the struct typedef....
Hmm... difficult to tell. Not sure how to continue from here. MUI works in unix/SDL and Arduino environment.
> Could it be something specific to AVR-GCC? Hmm... MUI also works without problems on Arduino UNO
I think Arduino 1.8.4 or 1.8.10 did work for me.
Usually all provided data are constant. Moreover: This error didn't happen to me.