- CMake Error at C:/Development/esp-idf/components/partition_table/CMakeLists.txt:83 (esptool_py_flash_project_args):
- Unknown CMake command "esptool_py_flash_project_args".
currently I'm trying to shrink the amount of compiled components to the absolutely minimum.
If I add the following line into to toplevel CMakeLists.txt of hello-world-example:
- set(COMPONENTS "main")
I get the following error during build of the project:
By expanding the above line as follows fixes this error:
- set(COMPONENTS "main" "esptool_py")
But at the same time, the following components are added to the build:
- Components: app_trace app_update bootloader bootloader_support cxx driver efuse esp32 esp_common esp_eth esp_event esp_ringbuf esp_rom esp_wifi espcoredump esptool_py freertos heap log lwip main mbedtls newlib nvs_flash partition_table pthread soc spi_flash tcpip_adapter vfs wpa_supplicant xtensa
Now, I'm wondering about two things:
1) Why is esptool_py strictly required and not included automatically?
2) How can I only integrate the documented set of "common" components as desrcibed in https://docs.espressif.com/projects/esp ... quirements ?
Many thanks for your replies in advance.
Best regards
Christian