overview using platformio for building and deploying stm32 firmware. Using arduino framework. lsp in emacs Create a compile_commands.json inside .pio and symlink it into the root directory. pio run -t compiledb