Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: driver/uart.h: No such file or directory #19

Open
IgnacioCipo opened this issue Nov 29, 2023 · 1 comment
Open

fatal error: driver/uart.h: No such file or directory #19

IgnacioCipo opened this issue Nov 29, 2023 · 1 comment

Comments

@IgnacioCipo
Copy link

Hello! I am trying to test the file_serving_stm project but I can´t manage to make it compile.
It throws the following error:
fatal error: driver/uart.h: No such file or directory

image

It would be really helpful if someone can help me to solutionate this.
Thanks! real

@c4esp
Copy link

c4esp commented Dec 8, 2023

in this file ...esp-idf-v5.1.2\components\stm_pro_mode\CMakeLists.txt add following folders: driver vfs

from:
idf_component_register(SRCS "stm_pro_mode.c"
INCLUDE_DIRS "include"
REQUIRES esp_event esp_http_server esp_wifi
freertos logger spiffs nvs_flash)
to:
idf_component_register(SRCS "stm_pro_mode.c"
INCLUDE_DIRS "include"
REQUIRES esp_event esp_http_server esp_wifi
freertos logger spiffs nvs_flash driver vfs)

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants