Closed SomeoneToIgnore closed 1 year ago
For comparison, I was able to compile and run successfully this project: https://github.com/tuenhidiy/m5paper-weatherstation with this patch (not related to dependency set-up):
diff --git a/src/misc.h b/src/misc.h
index f0b0340..f01df22 100644
--- a/src/misc.h
+++ b/src/misc.h
@@ -1,6 +1,7 @@
#pragma once
#include <functional>
#include <HTTPClient.h>
+#include <esp_sntp.h>
#include <ArduinoJson.hpp>
#include <LovyanGFX.hpp>
@@ -67,4 +68,4 @@ int syncNTPTime(std::function<void(const tm &)> datetimeSetter, const char *tz,
datetimeSetter(datetime);
return 0;
-}
\ No newline at end of file
+}
that project uses
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
Seems that a package is missing:
When I use
instead, it compiles successfully, but fails to start, bootlooping. Here's the end of the "Upload and Monitor" task output: