Closed amirna2 closed 2 years ago
I have a workaround for this issue in pgmspace.h
where the error is happening
//#define pgm_read_ptr(addr) (*(const void *)(addr))
#define pgm_read_ptr(addr) (*reinterpret_cast<const void* const *>(addr))
Thanks for the report!
I will add this to my To-Do to look into this.
Issue resolved when arduino api was updated to v1.2.0
Subject of the issue
I am testing several very common Arduino Libraries such as ArduinoJSON or the Adafruit sensor Libraries. They all fail with various compilation errors when using the SparkFun Apollo3 Arduino core. I am currently testing with the LoRa explorable board.
Your workbench
B0
Steps to reproduce
StringExample.ino
LoRa Thing Plus Explorable
as your boardExpected behaviour
StringExample.ino
should compile successfullyActual behaviour
StringExample.ino
fails to compile with the following errors