Page 1 of 1

Where is the driver/* layer in my Arduino/ESP32 libraries?

Posted: Thu Dec 22, 2022 5:16 am
by leleroy
I installed the ESP32-Arduino support (via the Library Manager) according to this link:
https://docs.espressif.com/projects/ard ... ds-manager

But can't find ESP-IDF driver/* layer files at all?
https://docs.espressif.com/projects/esp ... ction.html

To be clear, can't include:

Code: Select all

#include "driver/xxx.h"
Do I need different installation on top of the ESP32-Arduino support method?
If yes, how can I do it safely without any collisions?

Re: Where is the driver/* layer in my Arduino/ESP32 libraries?

Posted: Thu Dec 22, 2022 3:22 pm
by lbernstone
There is no xxx driver, only the devices on board...
There is a further layer of abstraction for Arduino. You should use the arduino drivers rather than IDF.
https://github.com/espressif/arduino-es ... ores/esp32
https://github.com/espressif/arduino-es ... ude/driver

Re: Where is the driver/* layer in my Arduino/ESP32 libraries?

Posted: Fri Dec 23, 2022 8:46 pm
by leleroy
Got it. Thanks!