Hello,
I am creating a project based off the sdspi example, v4.3. The sdspi example builds and runs fine. When I include esp_vfs_fat.h and sdmmc_cmd.h into a component in my new project, I get a build error stating that neither of these files is found even though they are in the component path.
Any ideas on what the issue may be?
Thanks
esp_vfs_fat.h inclusion
Re: esp_vfs_fat.h inclusion
Do you happen to have "REQURIES" or "PRIV_REQUIRES" specified in your component CMakeLists.txt file? You probably need to add 'fatfs' component to the requirements list.
Re: esp_vfs_fat.h inclusion
Yes, that fixed it. Thanks for your help.
Who is online
Users browsing this forum: mubeenkhalid007 and 268 guests