Hello,
I have been successfully developing on a custom nrf5340 board using nrf connect SDK 2.3.0 and VS code for a while now. Suddenly I am seeing a new ninja error FindFirstFileExA when attempting to do a iterative build or flash. However I am able to successfully run a pristine build which does generate the appropriate zephyr/samples/hello_world/build/zephyr/include/generated directory, but cannot flash or rebuild after running pristine. Logs below of successful pristine build then failed rebuild.
[152/161] Generating dev_handles.c
[153/161] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/misc/empty_file.c.obj
[154/161] Building C object zephyr/CMakeFiles/zephyr_pre1.dir/dev_handles.c.obj
[155/161] Linking C executable zephyr\zephyr_pre1.elf
[156/161] Generating linker.cmd
[157/161] Generating isr_tables.c, isrList.bin
[158/161] Building C object zephyr/CMakeFiles/zephyr_final.dir/misc/empty_file.c.obj
[159/161] Building C object zephyr/CMakeFiles/zephyr_final.dir/dev_handles.c.obj
[160/161] Building C object zephyr/CMakeFiles/zephyr_final.dir/isr_tables.c.obj
[161/161] Linking C executable zephyr\zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 21592 B 1 MB 2.06%
RAM: 6200 B 448 KB 1.35%
IDT_LIST: 0 GB 2 KB 0.00%
* Terminal will be reused by tasks, press any key to close it.
* Executing task: nRF Connect: Build: hello_world/build (active)
Building hello_world
C:\Windows\system32\cmd.exe /d /s /c "west build --build-dir c:/Tecovan_2.3.0/central-ble-cellular/zephyr/samples/hello_world/build c:/Tecovan_2.3.0/central-ble-cellular/zephyr/samples/hello_world"
ninja: error: FindFirstFileExA(c/:/tecovan_2.3.0/central-ble-cellular/zephyr/samples/hello_world/build/zephyr/include/generated): The filename, directory name, or volume label syntax is incorrect.
FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\v2.3.0\opt\bin\cmake.EXE' --build 'c:\Tecovan_2.3.0\central-ble-cellular\zephyr\samples\hello_world\build'
* The terminal process failed to launch (exit code: 1).
* Terminal will be reused by tasks, press any key to close it.
Any ideas?