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

leleroy
Posts: 4
Joined: Sat Dec 17, 2022 6:17 am

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

Postby leleroy » Thu Dec 22, 2022 5:16 am

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?

lbernstone
Posts: 826
Joined: Mon Jul 22, 2019 3:20 pm

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

Postby lbernstone » Thu Dec 22, 2022 3:22 pm

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

leleroy
Posts: 4
Joined: Sat Dec 17, 2022 6:17 am

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

Postby leleroy » Fri Dec 23, 2022 8:46 pm

Got it. Thanks!

Who is online

Users browsing this forum: Baidu [Spider] and 68 guests