I've just cloned the ESP-AT repository on my local machine, executed 'build.py install' (both without any error) but cannot execute the next 'build.py build' due to a fatal error. Here is the standard error output of cmake, clearly showing the error point:
Code: Select all
esp-at branch: master
esp-at docs version: latest
no extra component dirs
Traceback (most recent call last):
File "C:\esp-at\esp-idf\tools\kconfig_new\confgen.py", line 607, in <module>
main()
File "C:\esp-at\esp-idf\tools\kconfig_new\confgen.py", line 328, in main
output_function(deprecated_options, config, temp_file)
File "C:\esp-at\esp-idf\tools\kconfig_new\confgen.py", line 370, in write_header
deprecated_options.append_header(config, filename)
File "C:\esp-at\esp-idf\tools\kconfig_new\confgen.py", line 176, in append_header
if new_opt in config.syms and _opt_defined(config.syms[new_opt]):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\esp-at\esp-idf\tools\kconfig_new\confgen.py", line 163, in _opt_defined
if opt.orig_type in (kconfiglib.BOOL, kconfiglib.TRISTATE) and opt.str_value != 'n':
^^^^^^^^^^^^^^^
AttributeError: module 'kconfiglib' has no attribute 'BOOL'
CMake Error at esp-idf/tools/cmake/kconfig.cmake:176 (message):
Failed to run confgen.py
(C:/Espressif/python_env/idf5.3_py3.11_env/Scripts/python.exe;C:/esp-at/esp-idf/tools/kconfig_new/confgen.py;--list-separator=semicolon;--kconfig;C:/esp-at/esp-idf/Kconfig;--sdkconfig-rename;C:/esp-at/esp-idf/sdkconfig.rename;--config;C:/esp-at/sdkconfig;--defaults;C:/esp-at/module_config/module_esp32s2_default/sdkconfig_silence.defaults;--env-file;C:/esp-at/build/config.env).
Error 1
Call Stack (most recent call first):
esp-idf/tools/cmake/build.cmake:590 (__kconfig_generate_config)
esp-idf/tools/cmake/project.cmake:530 (idf_build_process)
CMakeLists.txt:121 (project)
Thanks in advance for the help.