I use your excellent Ephemeris library with the hand controller for the OnStep telescope controller.
The hand controller is an ESP32.
One issue is that the standard Ephemeris library defines PROGMEM which does not compile on the ESP32. In any case, PROGMEM is not needed for ESP32, because it does it by default.
One small fix will let Ephemeris compile successfully is to have this in Ephemeris.h:
$ git diff
diff --git a/Ephemeris.h b/Ephemeris.h
index 759242e..7b7d86f 100755
--- a/Ephemeris.h
+++ b/Ephemeris.h
@@ -19,6 +19,10 @@
#ifndef Ephemeris_library
#define Ephemeris_library
+#ifdef ESP32
+#define PROGMEM
+#endif
+
#if ARDUINO
#include <Ephemeris.hpp>
#else
Can you please include that change?
I use your excellent Ephemeris library with the hand controller for the OnStep telescope controller.
The hand controller is an ESP32.
One issue is that the standard Ephemeris library defines PROGMEM which does not compile on the ESP32. In any case, PROGMEM is not needed for ESP32, because it does it by default.
One small fix will let Ephemeris compile successfully is to have this in Ephemeris.h:
Can you please include that change?