You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Due, PROGMEM is not available, so when compiling for Due, the compiler complains about undefined PROGMEM macros. As a workaround, these macros could be defined in ArduinoUnit.h:
// Workaround for Arduino Due
#if defined(__arm__) && !defined(PROGMEM)
#define PROGMEM
#define PSTR(s) s
#define memcpy_P(a, b, c) memcpy(a, b, c)
#define strlen_P(a) strlen(a)
#endif
The text was updated successfully, but these errors were encountered:
On Due, PROGMEM is not available, so when compiling for Due, the compiler complains about undefined PROGMEM macros. As a workaround, these macros could be defined in ArduinoUnit.h:
The text was updated successfully, but these errors were encountered: