Cannot open source file: #include <unistd.h>

Hello,

Today I went to rebuild my BSP and I have a new error in the loger_imp.h. I’m not sure if VisualStudio Code updated… or if something else happened.

Any thoughts on how I fix this one?

Thanks,
Brett

I stumbled upon the same issue (on Win11). The solution for me was to fix the compiler path in ./.vscode/c_cpp_properties.json (in the DaisyExamples repo). The compiler is installed with DaisyToolchain and in my case ended up here: C:\\Program Files\\DaisyToolchain\\bin\\arm-none-eabi-g++.exe