Hi everyone,
In the PROGMEM documentation we can read :
PROGMEM keyword is a variable modifier, it should be used only with the datatypes defined in pgmspace.h.
So we can use: void, char, unsigned char, int8_t, uint8_t int16_t uint16_t, int32_t, uint32_t, int64_t, uint64_t.
My project start to be bigger and bigger, MenuBackend (without storing strings in FLASH) use quite a lot of SRAM.
I'm thinking of adapt it to use more FLASH memory or even program new menulib management.
The main question is can I define new variable type in pgmspace.h/.c, for exemple structure ?
My programming skill should be enough to do it, but without debugger and such, if its don't works, I won't be sure if its a weird bug or my fault ...
Did anyone (meaning someone who know is stuff ...) ever try to declared struct in pgmspace to store const struct item in FLASH?