Skip to content

Commit 8d58d65

Browse files
authored
Update CMakeLists.txt for "fatal error: esp_partition.h: No such file or directory" (#8787)
according to https://docs.espressif.com/projects/esp-idf/zh_CN/v5.0/esp32/migration-guides/release-5.x/storage.html
1 parent d25f9cc commit 8d58d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ set(includedirs
212212

213213
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS})
214214
set(priv_includes cores/esp32/libb64)
215-
set(requires spi_flash mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
215+
set(requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
216216
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid)
217217

218218
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})

0 commit comments

Comments
 (0)