乐鑫技术交流
直播中

李娓仑

8年用户 1440经验值
私信 关注
[问答]

esp32的AT编译一直不能成功怎么解决?

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

PS C:Espressifframeworksespesp-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:Espressifframeworksespesp-atmodule_configmodule_esp32_defaultpatchlibbtdm_app.a does not need to be applied.
patches check completed for updates.
Ready to set up environment variables..
PATH is C:Espressiftoolsxtensa-esp-elf-gdb14.2_20240403xtensa-esp-elf-gdbbin;C:Espressiftoolsriscv32-esp-elf-gdb14.2_20240403riscv32-esp-elf-gdbbin;C:Espressiftoolsxtensa-esp-elfesp-13.2.0_20230928xtensa-esp-elfbin;C:Espressiftoolsriscv32-esp-elfesp-13.2.0_20230928riscv32-esp-elfbin;C:Espressiftoolsesp32ulp-elf2.35_20220830esp32ulp-elfbin;C:Espressiftoolscmake3.24.0bin;C:Espressiftoolsopenocd-esp32v0.12.0-esp32-20240318openocd-esp32bin;C:Espressiftoolsninja1.11.1;C:Espressiftoolsidf-exe1.0.3;C:Espressiftoolsccache4.8ccache-4.8-windows-x86_64;C:Espressiftoolsdfu-util�.11dfu-util-0.11-win64;C:Espressifframeworksesp-idf-v5.2.2tools;C:Espressiftoolsidf-git2.44.0cmd;C:Espressifpython_envidf5.2_py3.11_envScripts;C:Espressif;C:Program FilesCommon FilesAgilentSignalAnalysisPhysics;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:Program FilesWindowsPowerShellScripts;C:Program Files (x86)AniteLogViewerALV2;C:Program FilesIVI FoundationVISAWin64bin;C:Program Files (x86)IVI FoundationVISAWinNTktvisa;C:Program Files (x86)IVI FoundationVISAWinNTbin;C:Program Files (x86)IVI FoundationIVIbin;C:Program FilesIVI FoundationIVIbin;C:Program Files (x86)IVI FoundationVISAWinNTBin;C:Program FilesIVI FoundationVISAWin64Bin;C:Program Files (x86)IVI FoundationVISAwinntagvisa;C:Program Files (x86)AniteShared Components;C:Program Files (x86)AniteUTRAPT UTRANBin;C:Program Files (x86)AniteGERANPT GERANcomponents;C:Program Files (x86)AniteDevelopment ToolsetBin;C:Program FilesKeysight5GTAUtils;C:Program FilesKeysightShared Components;C:Program FilesKeysightUTRA;C:Program FilesKeysightDevelopment ToolsetBin;C:Program FilesKeysightLogViewer;C:Program Files (x86)Keysight5GTAUtils;C:Program FilesPuTTY;C:Program FilesCommon FilesKeysightLibraries;C:ProgramDataKeysightFTAFTATools;C:Program Filesdotnet;C:ProgramDatachocolateybin;C:Program FilesKeysightIO Libraries Suitebin;C:Program FilesIVI FoundationVISAWin64ktvisa;C:Program Files (x86)KeysightIO Libraries Suitebin;C:Program FilesKeysightKeysight T1110A Test Manager 3.0;C:Program FilesGitcmd;C:Userszhang025AppDataLocalProgramsPythonLauncher;C:Userszhang025AppDataLocalMicrosoftWindowsApps;C:Program FilesJetBrainsPyCharm Community Edition 2024.1.3bin;C:Userszhang025AppDataLocalProgramsMicrosoft VS Codebin
IDF_PYTHON_ENV_PATH is C:Espressifpython_envidf5.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:Espressifpython_envidf5.2_py3.11_envScriptspython.exe C:Espressifframeworksespesp-atesp-idftoolsidf_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:Espressifpython_envidf5.2_py3.11_envScriptspython.exe C:Espressifframeworksespesp-atesp-idftoolsidf_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:Espressifpython_envidf5.2_py3.11_envScriptspython.exe C:Espressifframeworksespesp-atesp-idftoolsidf_tools.py export --prefer-system'
Not using an unsupported version of tool ninja found in PATH: 1.11.1. To use it, run 'C:Espressifpython_envidf5.2_py3.11_envScriptspython.exe C:Espressifframeworksespesp-atesp-idftoolsidf_tools.py export --prefer-system'
Not using an unsupported version of tool ccache found in PATH: 4.8. To use it, run 'C:Espressifpython_envidf5.2_py3.11_envScriptspython.exe C:Espressifframeworksespesp-atesp-idftoolsidf_tools.py export --prefer-system'
export str is OPENOCD_SCRIPTS=C:Espressiftoolsopenocd-esp32v0.12.0-esp32-20230921openocd-esp32shareopenocdscripts
ESP_ROM_ELF_DIR=C:Espressiftoolsesp-rom-elfs20220823
ESP_IDF_VERSION=5.0
PATH=C:Espressiftoolsxtensa-esp-elf-gdb12.1_20231023xtensa-esp-elf-gdbbin;C:Espressiftoolsxtensa-esp32-elfesp-2022r1-11.2.0xtensa-esp32-elfbin;C:Espressiftoolsesp32ulp-elf2.35_20220830esp32ulp-elfbin;C:Espressiftoolscmake3.24.0bin;C:Espressiftoolsopenocd-esp32v0.12.0-esp32-20230921openocd-esp32bin;C:Espressiftoolsninja1.10.2;C:Espressiftoolsidf-exe1.0.3;C:Espressiftoolsccache4.6.2ccache-4.6.2-windows-x86_64;C:Espressifframeworksespesp-atesp-idftools;%PATH%
IDF_DEACTIVATE_FILE_PATH=C:Userszhang025AppDataLocalTemptmpp_ok8jhzidf_20348

PATH is C:Espressiftoolsxtensa-esp-elf-gdb12.1_20231023xtensa-esp-elf-gdbbin;C:Espressiftoolsxtensa-esp32-elfesp-2022r1-11.2.0xtensa-esp32-elfbin;C:Espressiftoolsesp32ulp-elf2.35_20220830esp32ulp-elfbin;C:Espressiftoolscmake3.24.0bin;C:Espressiftoolsopenocd-esp32v0.12.0-esp32-20230921openocd-esp32bin;C:Espressiftoolsninja1.10.2;C:Espressiftoolsidf-exe1.0.3;C:Espressiftoolsccache4.6.2ccache-4.6.2-windows-x86_64;C:Espressifframeworksespesp-atesp-idftools;%PATH%;C:Espressiftoolsxtensa-esp-elf-gdb14.2_20240403xtensa-esp-elf-gdbbin;C:Espressiftoolsriscv32-esp-elf-gdb14.2_20240403riscv32-esp-elf-gdbbin;C:Espressiftoolsxtensa-esp-elfesp-13.2.0_20230928xtensa-esp-elfbin;C:Espressiftoolsriscv32-esp-elfesp-13.2.0_20230928riscv32-esp-elfbin;C:Espressiftoolsesp32ulp-elf2.35_20220830esp32ulp-elfbin;C:Espressiftoolscmake3.24.0bin;C:Espressiftoolsopenocd-esp32v0.12.0-esp32-20240318openocd-esp32bin;C:Espressiftoolsninja1.11.1;C:Espressiftoolsidf-exe1.0.3;C:Espressiftoolsccache4.8ccache-4.8-windows-x86_64;C:Espressiftoolsdfu-util�.11dfu-util-0.11-win64;C:Espressifframeworksesp-idf-v5.2.2tools;C:Espressiftoolsidf-git2.44.0cmd;C:Espressifpython_envidf5.2_py3.11_envScripts;C:Espressif;C:Program FilesCommon FilesAgilentSignalAnalysisPhysics;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:Program FilesWindowsPowerShellScripts;C:Program Files (x86)AniteLogViewerALV2;C:Program FilesIVI FoundationVISAWin64bin;C:Program Files (x86)IVI FoundationVISAWinNTktvisa;C:Program Files (x86)IVI FoundationVISAWinNTbin;C:Program Files (x86)IVI FoundationIVIbin;C:Program FilesIVI FoundationIVIbin;C:Program Files (x86)IVI FoundationVISAWinNTBin;C:Program FilesIVI FoundationVISAWin64Bin;C:Program Files (x86)IVI FoundationVISAwinntagvisa;C:Program Files (x86)AniteShared Components;C:Program Files (x86)AniteUTRAPT UTRANBin;C:Program Files (x86)AniteGERANPT GERANcomponents;C:Program Files (x86)AniteDevelopment ToolsetBin;C:Program FilesKeysight5GTAUtils;C:Program FilesKeysightShared Components;C:Program FilesKeysightUTRA;C:Program FilesKeysightDevelopment ToolsetBin;C:Program FilesKeysightLogViewer;C:Program Files (x86)Keysight5GTAUtils;C:Program FilesPuTTY;C:Program FilesCommon FilesKeysightLibraries;C:ProgramDataKeysightFTAFTATools;C:Program Filesdotnet;C:ProgramDatachocolateybin;C:Program FilesKeysightIO Libraries Suitebin;C:Program FilesIVI FoundationVISAWin64ktvisa;C:Program Files (x86)KeysightIO Libraries Suitebin;C:Program FilesKeysightKeysight T1110A Test Manager 3.0;C:Program FilesGitcmd;C:Userszhang025AppDataLocalProgramsPythonLauncher;C:Userszhang025AppDataLocalMicrosoftWindowsApps;C:Program FilesJetBrainsPyCharm Community Edition 2024.1.3bin;C:Userszhang025AppDataLocalProgramsMicrosoft VS Codebin
IDF_PYTHON_ENV_PATH is C:Espressifpython_envidf5.2_py3.11_env
Executing action: menuconfig
Running cmake in directory C:Espressifframeworksespesp-atbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=1 C:Espressifframeworksespesp-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
                        

更多回帖

发帖
×
20
完善资料,
赚取积分