-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
Build environment: Windows 11,
Moddable SDK version: 6.1.0
Target device: esp32s3
Description
mcconfig for esp32/esp32s3 got error
Steps to Reproduce
- Build and install the app using this build command:
mcconfig -d -m -p esp32/esp32s3 - See error
C:\Users\hongf\.espressif\tools\idf-exe\1.0.3\idf.py.exe
C:\Z\esp-idf-v5.5.1\tools\idf.py
Using recommended ESP-IDF 5.5.1
已复制 1 个文件。
已复制 1 个文件。
已复制 1 个文件。
已复制 1 个文件。
已复制 1 个文件。
已复制 1 个文件。
"# Configure dependencies..."
Reconfiguring ESP-IDF...
Executing action: reconfigure
Running cmake in directory C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Users\hongf\.espressif\python_env\idf5.5_py3.9_env\Scripts\python.exe -DESP_PLATFORM=1 -DSDKCONFIG_DEFAULTS=C:/Z/moddable/build/tmp/esp32/esp32s3_cdc/debug/helloworld/xsProj-esp32s3/sdkconfig.mc -DSDKCONFIG_HEADER=C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\build\config\sdkconfig.h -DCMAKE_MESSAGE_LOG_LEVEL=ERROR -DDEBUGGER_SPEED=460800 -DIDF_TARGET=esp32s3 -DSDKCONFIG_DEFAULTS=C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\sdkconfig.mc -DUSE_USB=2 -DINSTRUMENT=1 -DESP32=3 -DESP32_SUBCLASS=esp32s3 -DCCACHE_ENABLE=1 C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3"...
info: Trying to set symbol LWIP_DHCP_DOES_ARP_CHECK to n, but it is currently selected by choice LWIP_DHCP_CHECKS_OFFERED_ADDRESS. For setting it to n, set another choice symbol to y instead.
Loading defaults file C:/Z/moddable/build/tmp/esp32/esp32s3_cdc/debug/helloworld/xsProj-esp32s3/sdkconfig.mc...
C:/Z/moddable/build/tmp/esp32/esp32s3_cdc/debug/helloworld/xsProj-esp32s3/sdkconfig.mc:82 CONFIG_CONSOLE_UART_NUM was replaced with CONFIG_ESP_CONSOLE_UART_NUM
C:\Users\hongf\AppData\Local\Temp\kconfgen_tmpt_kuivf1:14 line was updated to CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=n
C:\Users\hongf\AppData\Local\Temp\kconfgen_tmpt_kuivf1:27 line was updated to CONFIG_ESP_COREDUMP_ENABLE_TO_UART=n
-- Configuring done (13.1s)
CMake Error at main/CMakeLists.txt:43 (target_sources):
Cannot find source file:
debugger_uart_cdc.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
-- Generating done (1.6s)
CMake Generate step failed. Build files cannot be regenerated correctly.
cmake failed with exit code 1, output of the command is in the C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\build\log\idf_py_stderr_output_27580 and C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\build\log\idf_py_stdout_output_27580
NMAKE : fatal error U1077: “python %IDF_PATH%\tools\idf.py -n reconfigure -D SDKCONFIG_DEFAULTS=C:/Z/moddable/build/tmp/esp32/esp32s3_cdc/debug/helloworld/xsProj-esp32s3/sdkconfig.mc -D SDKCONFIG_HEADER="C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\build\config\sdkconfig.h" -D CMAKE_MESSAGE_LOG_LEVEL=ERROR -D DEBUGGER_SPEED=460800 -D IDF_TARGET=esp32s3 -D SDKCONFIG_DEFAULTS=C:\Z\moddable\build\tmp\esp32\esp32s3_cdc\debug\helloworld\xsProj-esp32s3\sdkconfig.mc -D USE_USB=2 -D INSTRUMENT=1 -D ESP32=3 -D ESP32_SUBCLASS=esp32s3”: 返回代码“0x2”
Stop.
Expected behavior
build success
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels