RTClib icon indicating copy to clipboard operation
RTClib copied to clipboard

add compability with espressif framework

Open lightshadown opened this issue 1 year ago • 1 comments

Board: feather esp32 V2 + adalogger eps32 framework: espressif 5.3 Vscode +platformio

Hi, i just got a new board feather esp32 v2 and manage to make it work using the official espressif framework for motor and other stuff, but when i try to use the adalogger rtc im unable to use it under this kind of framework, it allways keep refering me to arduino.h wich i dont have, also did try to follow several issues about mixing arduino and espressif frameworks, and they seems to conflic and are no longer capable to build anything, theres anyway to use this library with the espressif framework without relying on arduino framework? thank you

lightshadown avatar Aug 22 '23 17:08 lightshadown

This is an Arduino library. When programming the ESP32 in PlatformIO you can choose either the ESP-IDF framework or the Arduino framework. This library will only work with the Arduino framework, as it depends on other Arduino libraries like Wire. It would need to be completely rewritten to use ESP-IDF so that's not going to happen.

BenUniqcode avatar Feb 21 '24 11:02 BenUniqcode