File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
idf_component_register (SRCS "esp_ota_ops.c"
2
2
"esp_app_desc.c"
3
3
INCLUDE_DIRS "include"
4
- REQUIRES spi_flash partition_table bootloader_support )
4
+ REQUIRES spi_flash partition_table bootloader_support
5
+ PRIV_REQUIRES esptool_py )
5
6
6
7
# esp_app_desc structure is added as an undefined symbol because otherwise the
7
8
# linker will ignore this structure as it has no other files depending on it.
Original file line number Diff line number Diff line change 1
- idf_component_register (PRIV_REQUIRES partition_table )
1
+ idf_component_register (PRIV_REQUIRES partition_table esptool_py )
2
2
3
3
# Do not generate flash file when building bootloader or is in early expansion of the build
4
4
if (BOOTLOADER_BUILD OR NOT CONFIG_APP_BUILD_BOOTLOADER )
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ idf_component_register(SRCS "src/coexist.c"
35
35
"src/wifi_netif.c"
36
36
"${idf_target} /esp_adapter.c"
37
37
INCLUDE_DIRS "include" "${idf_target} /include"
38
- PRIV_REQUIRES wpa_supplicant nvs_flash esp_netif driver ${extra_priv_requires}
39
38
REQUIRES esp_event
40
- PRIV_REQUIRES esp_timer esp_pm wpa_supplicant nvs_flash esp_netif ${extra_priv_requires}
39
+ PRIV_REQUIRES driver esptool_py esp_netif esp_pm esp_timer nvs_flash
40
+ wpa_supplicant ${extra_priv_requires}
41
41
LDFRAGMENTS "${ldfragments} " )
42
42
43
43
idf_build_get_property (build_dir BUILD_DIR )
Original file line number Diff line number Diff line change 1
- idf_component_register ()
1
+ idf_component_register (PRIV_REQUIRES esptool_py )
2
2
3
3
if (BOOTLOADER_BUILD )
4
4
return ()
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ idf_component_register(SRCS "esp_spiffs.c"
8
8
INCLUDE_DIRS "include"
9
9
PRIV_INCLUDE_DIRS "." "spiffs/src"
10
10
REQUIRES spi_flash
11
- PRIV_REQUIRES bootloader_support )
11
+ PRIV_REQUIRES bootloader_support esptool_py )
12
12
13
13
set_source_files_properties (spiffs/src/spiffs_nucleus.c PROPERTIES COMPILE_FLAGS -Wno-stringop-truncation )
You can’t perform that action at this time.
0 commit comments