OTA_update_STM32_using_ESP32 icon indicating copy to clipboard operation
OTA_update_STM32_using_ESP32 copied to clipboard

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

Open IgnacioCipo opened this issue 2 years ago • 1 comments

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

IgnacioCipo avatar Nov 29 '23 21:11 IgnacioCipo

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.

c4esp avatar Dec 08 '23 12:12 c4esp