使用vscode创建I2S_es7210_tdm的例程,在选择芯片时弹出如下错误,且导致工程无法正常编译;
[Error: non zero exit code 2
Adding "set-target"'s dependency "fullclean" to list of commands with default set of op
tions.
Executing action: fullclean
Executing action: set-target
Set Target to: esp32s3, new sdkconfig will be created.
Running cmake in directory E:Projecti2s_es7210_tdmbuild
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=e:EnvESP.espressifpython_envidf5.2_py3.11_envScriptspython.exe -DESP_PLATFORM=1 -DIDF_TARGET=esp32s3 -DCCACHE_ENABLE=0 E:Projecti2s_es7210_tdm"...
-- Existing sdkconfig 'E:/Project/i2s_es7210_tdm/sdkconfig' renamed to 'E:/Project/i2s_es7210_tdm/sdkconfig.old'.
-- Found Git: E:/Env/ESP/.espressif/tools/idf-git/2.39.2/cmd/git.exe (found version "2.39.2.windows.1")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: E:/Env/ESP/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: E:/Env/ESP/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-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: E:/Env/ESP/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s3
Processing 2 dependencies:
[1/2] espressif/es7210 (1.0.1)
[2/2] idf (5.2.1)
CMake Error at build/component_requires.temp.cmake:317 (__component_set_property):
Syntax error in cmake code at
E:/Project/i2s_es7210_tdm/build/component_requires.temp.cmake:317
when parsing string
e:EnvESPv5.2.1esp-idf/examples/peripherals/i2s/common
Invalid character escape 'E'.
Call Stack (most recent call first):
E:/Env/ESP/v5.2.1/esp-idf/tools/cmake/component.cmake:254 (include)
E:/Env/ESP/v5.2.1/esp-idf/tools/cmake/build.cmake:578 (__component_get_requirements)
E:/Env/ESP/v5.2.1/esp-idf/tools/cmake/project.cmake:605 (idf_build_process)
CMakeLists.txt:6 (project)
-- Configuring incomplete, errors occurred!
See also "E:/Project/i2s_es7210_tdm/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the E:Projecti2s_es7210_tdmbuildlogidf_py_stderr_output_15452 and E:Projecti2s_es7210_tdmbuildlogidf_py_stdout_output_15452
at ChildProcess. (distextension.js:2:1394091)
at ChildProcess.emit (node:events:517:28)
at ChildProcess._handle.onexit (node:internal/child_process:292:12)]