Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 561 Bytes

File metadata and controls

18 lines (15 loc) · 561 Bytes

platformio-clangd

An attempt to make platformio work with clang without any errors.

It should not be board specific and it should take care of everything itself. Currently it fixes missing flags errors, it generates include paths and sets compiler path. It does not yet fix strange error of In included file: machine/endian.h file not found.

Run:

pio run -t compiledb

to create compile_commands.json Then run the script in root of the directory.

python clangd_fix.py

I will improve this documentation once I fix endian.h problem.