Good morning,
I am working with an Esp32S3 WROOM Module.
In order to dialog with some particular chips, I had to modify the I2C esp_idf_component driver
in order to add 2 methods. In order to do that, I have directly modified the I2C.C and I2C.H files
that are in the : C:\Espressif\frameworks\esp-idf-v5.0\components\driver
directory.
I fear I might loose this job. Or I fear I might not compile my project if compiling it on another computer (Wchich will not have the two files modified)...
How can I add these 2 files directly in my project so that the I2C can be compiled with them instead of using the I2C "standard" driver which is in the esp-idf-v5.0 directory ? Is it possible to retrieve the I2C modified driver in my project please ?
Best regards,
Thomas TRUILHE
ESP32S3 : How to include a Driver in My Project please ?
-
- Posts: 229
- Joined: Thu Jul 14, 2022 5:15 am
-
- Posts: 22
- Joined: Sun Oct 25, 2020 11:43 pm
Re: ESP32S3 : How to include a Driver in My Project please ?
Hello Thomas,
Try
>idf.py create-component <component name>
I do no know exactly if it is the right solution.
You should have new names of the I2C functions or methods.
Best regards
Jose Michel
Try
>idf.py create-component <component name>
I do no know exactly if it is the right solution.
You should have new names of the I2C functions or methods.
Best regards
Jose Michel
José Michel
-
- Posts: 1688
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32S3 : How to include a Driver in My Project please ?
You can simply copy the (modified) driver from the IDF into a "components" directory in your project.
https://docs.espressif.com/projects/esp ... -same-name
https://docs.espressif.com/projects/esp ... -same-name
Who is online
Users browsing this forum: No registered users and 130 guests