esp_system: make dependencies on vfs and esp_wifi optional

pull/8968/head
Ivan Grokhotkov 2022-04-15 10:51:07 +02:00
rodzic aa1200607a
commit 81f2a94f9a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 1E050E141B280628
2 zmienionych plików z 15 dodań i 2 usunięć

Wyświetl plik

@ -95,3 +95,11 @@ idf_component_optional_requires(PRIVATE app_update)
if(CONFIG_PM_ENABLE)
idf_component_optional_requires(PRIVATE pm)
endif()
if(CONFIG_VFS_SUPPORT_IO)
idf_component_optional_requires(PRIVATE vfs)
endif()
if(CONFIG_SW_COEXIST_ENABLE OR CONFIG_EXTERNAL_COEX_ENABLE)
idf_component_optional_requires(PRIVATE esp_wifi)
endif()

Wyświetl plik

@ -26,7 +26,6 @@
#include "esp_spi_flash.h"
#include "esp_flash_internal.h"
#include "esp_newlib.h"
#include "esp_vfs_dev.h"
#include "esp_timer.h"
#include "esp_efuse.h"
#include "esp_flash_encrypt.h"
@ -41,7 +40,9 @@
/***********************************************/
// Headers for other components init functions
#if CONFIG_SW_COEXIST_ENABLE || CONFIG_EXTERNAL_COEX_ENABLE
#include "esp_coexist_internal.h"
#endif
#if CONFIG_ESP_COREDUMP_ENABLE
#include "esp_core_dump.h"
@ -58,8 +59,12 @@
#include "esp_private/pm_impl.h"
#endif
#include "esp_pthread.h"
#if CONFIG_VFS_SUPPORT_IO
#include "esp_vfs_dev.h"
#include "esp_vfs_console.h"
#endif
#include "esp_pthread.h"
#include "esp_private/esp_clk.h"
#include "esp_private/brownout.h"