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
This commit is contained in:
parent
d25f9cc717
commit
8d58d65645
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ set(includedirs
|
|||
|
||||
set(srcs ${CORE_SRCS} ${LIBRARY_SRCS} ${BLE_SRCS})
|
||||
set(priv_includes cores/esp32/libb64)
|
||||
set(requires spi_flash mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
|
||||
set(requires spi_flash esp_partition mbedtls wifi_provisioning wpa_supplicant esp_adc esp_eth http_parser)
|
||||
set(priv_requires fatfs nvs_flash app_update spiffs bootloader_support bt esp_hid)
|
||||
|
||||
idf_component_register(INCLUDE_DIRS ${includedirs} PRIV_INCLUDE_DIRS ${priv_includes} SRCS ${srcs} REQUIRES ${requires} PRIV_REQUIRES ${priv_requires})
|
||||
|
|
|
|||
Loading…
Reference in a new issue