You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to play around with the source code, but my clangd LSP doesn't seem to index the pico-sdk properly. I can build successfully, but if I open src/main.c for example, clangd will say that there are too many errors omitted. The errors are coming from <pico/stdlib.h> and bsp/board_api.h.
from bsp/board_api.h:
example from diving into <pico/stdlib.h>'s header files:
Looking at my Lsp Log, it points to the correct pico-sdk's pico_platform_compiler to get these informations -isystem path/to/pico-sdk/src/rp2_common/pico_platform_compiler/include, but it still don't index the file properly. Here's the log:
Hi,
I want to play around with the source code, but my clangd LSP doesn't seem to index the pico-sdk properly. I can build successfully, but if I open
src/main.c
for example, clangd will say that there are too many errors omitted. The errors are coming from<pico/stdlib.h>
andbsp/board_api.h
.from
bsp/board_api.h
:example from diving into
<pico/stdlib.h>
's header files:Looking at my Lsp Log, it points to the correct pico-sdk's pico_platform_compiler to get these informations
-isystem path/to/pico-sdk/src/rp2_common/pico_platform_compiler/include
, but it still don't index the file properly. Here's the log:What could be the problem here?
The text was updated successfully, but these errors were encountered: