theelims / ESP32-sveltekit

A simple and extensible framework for ESP32 based IoT projects with a feature-rich, beautiful, and responsive front-end build with Sveltekit, Tailwind CSS and DaisyUI. This is a project template to get you started in no time with a fully integrated build chain.
https://theelims.github.io/ESP32-sveltekit/
Other
118 stars 22 forks source link

ESP32 S2 missing include #23

Closed besanur closed 8 months ago

besanur commented 9 months ago

Hello,

I have updated my project to the latest version.

I had to adjust one thing in SystemStatus.cpp.

There is a missing include after the condition:

#elif CONFIG_IDF_TARGET_ESP32S2 
#include "esp32/rom/rtc.h"

otherwise I get errors with root["cpu_reset_reason"] = verbosePrintResetReason(rtc_get_reset_reason(0));

theelims commented 9 months ago

I haven't tested the code on the S2. Thanks for pointing these changes out. I'll get a S2 board and include that in my future tests.

theelims commented 8 months ago

I've included the suggest change into the code, however it is untested.