Closed kbahey closed 3 years ago
The underlying reason here is that the ESP32 chokes on code in the Ephemeris' VSOP87.hpp and ELP2000.hpp
Specifically this code:
#if ARDUINO
#define CONST const PROGMEM
#else
#define CONST const
#endif
Changing that to just:
#define CONST const
Makes it compile and run successfully on an ESP32 SHC.
Not sure if we should report this to Sebastien, to change the ARDUINO ifdef or what.
Thoughts?
Found a solution to this, which is in pull request #3.
As mentioned this has already been handled by using my branch of the Ephemeris.
Well, it works with the official Ephemeris library too. So all is well.
Actually, no. My fork has the conditional on ESP32, and that is why it works.
I have the Ephemeris library installed from the Library Manager (not manually from git) and it is the latest available version.
When compiling, I get the following errors, and much much more of the same.
Here is an excerpt: