I’m trying to compile [yanjos-dev] amazon-freertos-examples form github and I’m getting the below error. It seems to be needing some default values, but I don’t know how to correct this.
Loading defaults file ./sdkconfig…
Traceback (most recent call last):
File “/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/tools/kconfig_new/confgen.py”, line 338, in
main()
File “/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/tools/kconfig_new/confgen.py”, line 99, in main
raise RuntimeError(“Defaults file not found: %s” % name)
RuntimeError: Defaults file not found: ./sdkconfig
CMake Error at freertos/vendors/espressif/esp-idf/tools/cmake/kconfig.cmake:175 (message):
Failed to run confgen.py
(python;/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/tools/kconfig_new/confgen.py;–kconfig;/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/Kconfig;–config;/home/dave/test2AWS/amazon-freertos-examples/build/sdkconfig;–defaults;./sdkconfig;–env;COMPONENT_KCONFIGS=
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/app_trace/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/bt/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/driver/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/efuse/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/esp32/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/esp_adc_cal/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/esp_event/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/espcoredump/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/fatfs/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/freemodbus/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/boards/esp32/components/freertos/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/heap/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/log/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/lwip/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/boards/esp32/components/mbedtls/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/nvs_flash/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/openssl/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/pthread/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/spi_flash/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/spiffs/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/vfs/Kconfig
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/wear_levelling/Kconfig;–env;COMPONENT_KCONFIGS_PROJBUILD=
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/app_update/Kconfig.projbuild
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/bootloader/Kconfig.projbuild
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/esptool_py/Kconfig.projbuild
/home/dave/test2AWS/amazon-freertos-examples/freertos/vendors/espressif/esp-idf/components/partition_table/Kconfig.projbuild;–env;IDF_CMAKE=y).
Error 1
Call Stack (most recent call first):
freertos/vendors/espressif/esp-idf/tools/cmake/idf_functions.cmake:367 (kconfig_process_config)
freertos/vendors/espressif/boards/esp32/CMakeLists.txt:433 (idf_import_components)
freertos/CMakeLists.txt:49 (include)