From efcfffcb3b9e92a1f4292688a892ee1681806a07 Mon Sep 17 00:00:00 2001 From: Frederic Barachant Date: Sun, 14 Sep 2025 17:04:00 +0200 Subject: [PATCH] Changed the project so that it compiles under IDF 5.5. That implies forcing backward compatibility for freeRTOS, and adding a dependency to 'driver' in the CMakeLists of the stm_pro_mode component. --- components/stm_pro_mode/CMakeLists.txt | 2 +- examples/file_serving_stm/sdkconfig.defaults | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/stm_pro_mode/CMakeLists.txt b/components/stm_pro_mode/CMakeLists.txt index bc5f5e4..c0a54cd 100755 --- a/components/stm_pro_mode/CMakeLists.txt +++ b/components/stm_pro_mode/CMakeLists.txt @@ -1,4 +1,4 @@ idf_component_register(SRCS "stm_pro_mode.c" INCLUDE_DIRS "include" REQUIRES esp_event esp_http_server esp_wifi - freertos logger spiffs nvs_flash) + freertos logger spiffs nvs_flash driver ) diff --git a/examples/file_serving_stm/sdkconfig.defaults b/examples/file_serving_stm/sdkconfig.defaults index be87a17..6e385a3 100644 --- a/examples/file_serving_stm/sdkconfig.defaults +++ b/examples/file_serving_stm/sdkconfig.defaults @@ -3,3 +3,4 @@ CONFIG_ESPTOOLPY_FLASHSIZE="4MB" CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example.csv" CONFIG_PARTITION_TABLE_FILENAME="partitions_example.csv" +CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY=y