- Select board and generate project
- Add dependencies to
platformio.ini - Generate
compile_commands.jsonwithpio run -t compiledb - Check if there are any errors in a sketch with
#include <Arduino.h>related to compiler flags - Ignore them in the
.clangdconfiguration file:
CompileFlags:
# Remove the flags that clangd doesn't understand
Remove: