I'm trying to use I2C in my esp32s3 project.
To do so I need the i2c.c and so on... files, witch are located in "C:\Espressif\frameworks\esp-idf-v4.4.2\components\driver\**".
First I tried to add the driver file to my project main file. C:\path\to\the\project\main\driver and include the i2c.c in my code like that:
Code: Select all
#include "driver/i2c.c"
Thus looking for the browse.path setting (c/c++ Congfig), I found that the esp default settings output errors (attachement).
So do i need to change the way I incorporate the driver folder in my project, or do I need to change the browse.path setting?