esp32-at 本地原始文件编译出错

ragedream
Posts: 2
Joined: Tue Jul 16, 2024 6:19 am

esp32-at 本地原始文件编译出错

Postby ragedream » Tue Jul 16, 2024 9:34 am

请教下,这个esp32的AT编译一直不能成功,换了PC和网络都不行。这个有没有什么办法解决?多谢!

PS C:\Espressif\frameworks\esp\esp-at> python build.py menuconfig
Platform name:ESP32 Module name:WROOM-32 Silence:0
submodules check completed for updates.
esp_tls_parse_ecc_key.patch does not need to be applied.
fatfs_generation.patch does not need to be applied.
support_ext_partition.patch does not need to be applied.
modify_bluedroid_conn_timeout.patch does not need to be applied.
C:\Espressif\frameworks\esp\esp-at\module_config\module_esp32_default\patch\libbtdm_app.a does not need to be applied.
patches check completed for updates.
Ready to set up environment variables..
PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin;C:\Espressif\tools\riscv32-esp-elf\esp-13.2.0_20230928\riscv32-esp-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin;C:\Espressif\tools\ninja\1.11.1\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;C:\Espressif\frameworks\esp-idf-v5.2.2\tools;C:\Espressif\tools\idf-git\2.44.0\cmd;C:\Espressif\python_env\idf5.2_py3.11_env\Scripts;C:\Espressif;C:\Program Files\Common Files\Agilent\SignalAnalysis\Physics;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\WindowsPowerShell\Scripts;C:\Program Files (x86)\Anite\LogViewer\ALV2;C:\Program Files\IVI Foundation\VISA\Win64\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\ktvisa;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\winnt\agvisa;C:\Program Files (x86)\Anite\Shared Components;C:\Program Files (x86)\Anite\UTRA\PT UTRAN\Bin;C:\Program Files (x86)\Anite\GERAN\PT GERAN\components;C:\Program Files (x86)\Anite\Development Toolset\Bin;C:\Program Files\Keysight\5GTA\Utils;C:\Program Files\Keysight\Shared Components;C:\Program Files\Keysight\UTRA;C:\Program Files\Keysight\Development Toolset\Bin;C:\Program Files\Keysight\LogViewer;C:\Program Files (x86)\Keysight\5GTA\Utils;C:\Program Files\PuTTY\;C:\Program Files\Common Files\Keysight\Libraries\;C:\ProgramData\Keysight\FTA\FTATools;C:\Program Files\dotnet\;C:\ProgramData\chocolatey\bin;C:\Program Files\Keysight\IO Libraries Suite\bin;C:\Program Files\IVI Foundation\VISA\Win64\ktvisa;C:\Program Files (x86)\Keysight\IO Libraries Suite\bin;C:\Program Files\Keysight\Keysight T1110A Test Manager 3.0\;C:\Program Files\Git\cmd;C:\Users\zhang025\AppData\Local\Programs\Python\Launcher\;C:\Users\zhang025\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PyCharm Community Edition 2024.1.3\bin;C:\Users\zhang025\AppData\Local\Programs\Microsoft VS Code\bin
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.2_py3.11_env
sys.platform is win32
Not using an unsupported version of tool xtensa-esp-elf-gdb found in PATH: 14.2_20240403. To use it, run 'C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool xtensa-esp32-elf found in PATH: esp-13.2.0_20230928-13.2.0. To use it, run 'C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool openocd-esp32 found in PATH: v0.12.0-esp32-20240318. To use it, run 'C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool ninja found in PATH: 1.11.1. To use it, run 'C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
Not using an unsupported version of tool ccache found in PATH: 4.8. To use it, run 'C:\Espressif\python_env\idf5.2_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp\esp-at\esp-idf\tools\idf_tools.py export --prefer-system'
export str is OPENOCD_SCRIPTS=C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\share\openocd\scripts
ESP_ROM_ELF_DIR=C:\Espressif\tools\esp-rom-elfs\20220823\
ESP_IDF_VERSION=5.0
PATH=C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20231023\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\Espressif\frameworks\esp\esp-at\esp-idf\tools;%PATH%
IDF_DEACTIVATE_FILE_PATH=C:\Users\zhang025\AppData\Local\Temp\tmpp_ok8jhzidf_20348

PATH is C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20231023\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp32-elf\esp-2022r1-11.2.0\xtensa-esp32-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin;C:\Espressif\tools\ninja\1.10.2\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.6.2\ccache-4.6.2-windows-x86_64;C:\Espressif\frameworks\esp\esp-at\esp-idf\tools;%PATH%;C:\Espressif\tools\xtensa-esp-elf-gdb\14.2_20240403\xtensa-esp-elf-gdb\bin;C:\Espressif\tools\riscv32-esp-elf-gdb\14.2_20240403\riscv32-esp-elf-gdb\bin;C:\Espressif\tools\xtensa-esp-elf\esp-13.2.0_20230928\xtensa-esp-elf\bin;C:\Espressif\tools\riscv32-esp-elf\esp-13.2.0_20230928\riscv32-esp-elf\bin;C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin;C:\Espressif\tools\cmake\3.24.0\bin;C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20240318\openocd-esp32\bin;C:\Espressif\tools\ninja\1.11.1\;C:\Espressif\tools\idf-exe\1.0.3\;C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64;C:\Espressif\tools\dfu-util\0.11\dfu-util-0.11-win64;C:\Espressif\frameworks\esp-idf-v5.2.2\tools;C:\Espressif\tools\idf-git\2.44.0\cmd;C:\Espressif\python_env\idf5.2_py3.11_env\Scripts;C:\Espressif;C:\Program Files\Common Files\Agilent\SignalAnalysis\Physics;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\WindowsPowerShell\Scripts;C:\Program Files (x86)\Anite\LogViewer\ALV2;C:\Program Files\IVI Foundation\VISA\Win64\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\ktvisa;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\bin;C:\Program Files (x86)\IVI Foundation\IVI\bin;C:\Program Files\IVI Foundation\IVI\bin;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin\;C:\Program Files\IVI Foundation\VISA\Win64\Bin\;C:\Program Files (x86)\IVI Foundation\VISA\winnt\agvisa;C:\Program Files (x86)\Anite\Shared Components;C:\Program Files (x86)\Anite\UTRA\PT UTRAN\Bin;C:\Program Files (x86)\Anite\GERAN\PT GERAN\components;C:\Program Files (x86)\Anite\Development Toolset\Bin;C:\Program Files\Keysight\5GTA\Utils;C:\Program Files\Keysight\Shared Components;C:\Program Files\Keysight\UTRA;C:\Program Files\Keysight\Development Toolset\Bin;C:\Program Files\Keysight\LogViewer;C:\Program Files (x86)\Keysight\5GTA\Utils;C:\Program Files\PuTTY\;C:\Program Files\Common Files\Keysight\Libraries\;C:\ProgramData\Keysight\FTA\FTATools;C:\Program Files\dotnet\;C:\ProgramData\chocolatey\bin;C:\Program Files\Keysight\IO Libraries Suite\bin;C:\Program Files\IVI Foundation\VISA\Win64\ktvisa;C:\Program Files (x86)\Keysight\IO Libraries Suite\bin;C:\Program Files\Keysight\Keysight T1110A Test Manager 3.0\;C:\Program Files\Git\cmd;C:\Users\zhang025\AppData\Local\Programs\Python\Launcher\;C:\Users\zhang025\AppData\Local\Microsoft\WindowsApps;C:\Program Files\JetBrains\PyCharm Community Edition 2024.1.3\bin;C:\Users\zhang025\AppData\Local\Programs\Microsoft VS Code\bin
IDF_PYTHON_ENV_PATH is C:\Espressif\python_env\idf5.2_py3.11_env
Executing action: menuconfig
Running cmake in directory C:\Espressif\frameworks\esp\esp-at\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 C:\Espressif\frameworks\esp\esp-at"...
-- silence:0, sdkconfig:C:/Espressif/frameworks/esp/esp-at/module_config/module_esp32_default/sdkconfig.defaults
-- partition_table_dir: C:/Espressif/frameworks/esp/esp-at
esp-at branch: master
esp-at docs version: latest
no extra component dirs
-- Found Git: C:/Espressif/tools/idf-git/2.44.0/cmd/git.exe (found version "2.44.0.windows.1")
-- Component directory C:/Espressif/frameworks/esp/esp-at/components/fs_image does not contain a CMakeLists.txt file. No component will be added
-- ccache will be used for faster recompilation
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
NOTICE: Skipping optional dependency: espressif/cmake_utilities
NOTICE: Skipping optional dependency: espressif/bootloader_support_plus
CMake Error at esp-idf/tools/cmake/build.cmake:519 (message):
ERROR: Cannot establish a connection to the component registry. Are you
connected to the internet?

URL:
https://components-file.espressif.com/c ... lient.json


Call Stack (most recent call first):
esp-idf/tools/cmake/project.cmake:530 (idf_build_process)
CMakeLists.txt:123 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Espressif/frameworks/esp/esp-at/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1
A fatal error occurred: idf.py build failed

Who is online

Users browsing this forum: No registered users and 129 guests