Open s1syph0s opened 3 weeks ago
What could be the problem here?
I dunno if we have any in-house familiarity with clangd LSP, but https://github.com/clangd/clangd/blob/master/README.md suggests that https://llvm.discourse.group/c/llvm-project/clangd/34 might be a good place to ask for help?
BTW tusb.h
comes from the TinyUSB submodule. Ah, and bsp/board_api.h
is a TinyUSB file too.
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?