Hello,
I am working with an Esp32c6 module and the tool is Espressif IDE(v5.1.2). I am created a new project and added the components when I included the spi.h into main file. while compiling the project I am getting error like "No such file or directory".
How to solve this problem ?.
Thanks & Regards,
D. Vineetha.
No such file or directory.
No such file or directory.
- Attachments
-
- Screenshot 2024-03-07 095700.png (104.13 KiB) Viewed 2510 times
Re: No such file or directory.
Ensure that the "spi.h" file is located in the correct directory within your project structure. If it's not, move it to the appropriate directory.
Re: No such file or directory.
Thanks for the response,
Actually I am following the below process to create a new component as right click on the project->new->espressif ide component.
Please let me know what is the mistake in creating of a new component.
Actually I am following the below process to create a new component as right click on the project->new->espressif ide component.
Please let me know what is the mistake in creating of a new component.
Re: No such file or directory.
Thanks for the response,
Actually I am following the below process to create a new component as right click on the project->new->espressif ide component.
Please let me know what is the mistake in creating of a new component.
Actually I am following the below process to create a new component as right click on the project->new->espressif ide component.
Please let me know what is the mistake in creating of a new component.
- Attachments
-
- Screenshot 2024-03-11 093436.png (22.2 KiB) Viewed 2368 times
-
- Screenshot 2024-03-11 094027.png (49.73 KiB) Viewed 2368 times
Re: No such file or directory.
Im not sure if this is the case with IDE, but with command line idf.py when you add new component, or even just new .c, .cpp file you have to make
Its because cmake does not search for new files and new components, just rebuilding if files changes are detected.
Code: Select all
idf.py fullclean
Who is online
Users browsing this forum: No registered users and 148 guests