-
Notifications
You must be signed in to change notification settings - Fork 336
Failure on Windows (ESP-IDF -128-NOTFOUND) (VSC-1862) #1779
Description
OS
Windows
Operating System version
Windows 11 Pro 22H2
Visual Studio Code version
1.109.2
ESP-IDF version
5.5.2
Python version
3.8.7
Doctor command output
Extension
Description
After upgrading to the new SDK installation system (v5.5.2), the build system fails to identify the ESP-IDF version on Windows. The bootloader log shows:
(28) boot: ESP-IDF -128-NOTFOUND 2nd stage bootloader.
This seems to be a regression related to how paths are handled in the new installation flow, similar to the difficulties reported in the (now closed) issue #1760 regarding working with multiple/previous versions.
Expected behavior
The system should correctly identify the ESP-IDF version (e.g., v5.5.2) and the paths should be consistent with the OS standards.
Actual behavior
The build process mixes Linux-style forward slashes (/) and Windows-style backslashes () in the submodule worktree paths. This inconsistency prevents the build system from correctly parsing the SDK version.
Additional context
The transition to the new installation system has introduced significant friction, especially regarding backward compatibility.
- Rigid Path Management: Unlike previous versions, the new installation method doesn't allow users to easily define custom paths for tools. This "black-box" approach makes it extremely difficult to maintain and switch between different projects that rely on older ESP-IDF versions.
- Environment Instability: The path separator inconsistency (mixed / and ) mentioned above is a direct consequence of this new, less flexible environment management. It seems the build system is losing track of the environment context on Windows.
We need the ability to define/override tool paths back, or at least a system that ensures path consistency across all submodules and build scripts on Windows.
Debug Message
Executing task: C:\Espressif\tools\cmake\3.30.2\bin\cmake.exe -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -B c:\Users\username\Desktop\BriseII_FW\build -S c:\Users\tiago.davila\Desktop\BriseII_FW -DSDKCONFIG='c:\Users\username\Desktop\BriseII_FW\sdkconfig'
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.45.2.windows.1")
-- git describe returned 'fatal: bad config line 2 in file C:/Users/tiago.davila/.espressif/v5.5.2/esp-idf/.git/modules/components/bootloader/subproject/components/micro-ecc/micro-ecc/config'
fatal: bad config line 2 in file C:/Users/tiago.davila/.espressif/v5.5.2/esp-idf/.git/modules/components/bootloader/subproject/components/micro-ecc/micro-ecc/config
-- Minimal build - OFF
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp-elf/esp-14.2.0_20251107/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
Other Steps to Reproduce
- Install ESP-IDF v5.5.2 via the VSCode Extension on Windows.
- Create/Open any project.
- Build the project.
- Check the bootloader log or the initial compilation logs.
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.