ESP32-Musings / OTA_update_STM32_using_ESP32

Program STM32Fxx MCUs Over-the-Air using ESP32
MIT License
357 stars 69 forks source link

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

Open IgnacioCipo opened 9 months ago

IgnacioCipo commented 9 months ago

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 commented 9 months ago

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.