From 2ead8ab62d0a49ce37b36b210283da8eec0afa39 Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 27 Dec 2023 22:27:29 +0100 Subject: [PATCH] Add compile_commands db for clangd LSP --- compile_commands.json | 116 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 compile_commands.json diff --git a/compile_commands.json b/compile_commands.json new file mode 100644 index 0000000..695a66f --- /dev/null +++ b/compile_commands.json @@ -0,0 +1,116 @@ +[ + { + "arguments": [ + "/usr/bin/cc", + "-c", + "-Wall", + "-Wpedantic", + "-Wextra", + "-g", + "-Isrc/include", + "-I/usr/include", + "-I/usr/include/libftdi1", + "-o", + "build/inverter", + "src/bridge_utils.c" + ], + "directory": "/home/m/dev/electronics/inverter/sw_ftdi", + "file": "/home/m/dev/electronics/inverter/sw_ftdi/src/bridge_utils.c", + "output": "/home/m/dev/electronics/inverter/sw_ftdi/build/inverter" + }, + { + "arguments": [ + "/usr/bin/cc", + "-c", + "-Wall", + "-Wpedantic", + "-Wextra", + "-g", + "-Isrc/include", + "-I/usr/include", + "-I/usr/include/libftdi1", + "-o", + "build/inverter", + "src/ftdi_utils.c" + ], + "directory": "/home/m/dev/electronics/inverter/sw_ftdi", + "file": "/home/m/dev/electronics/inverter/sw_ftdi/src/ftdi_utils.c", + "output": "/home/m/dev/electronics/inverter/sw_ftdi/build/inverter" + }, + { + "arguments": [ + "/usr/bin/cc", + "-c", + "-Wall", + "-Wpedantic", + "-Wextra", + "-g", + "-Isrc/include", + "-I/usr/include", + "-I/usr/include/libftdi1", + "-o", + "build/inverter", + "src/main.c" + ], + "directory": "/home/m/dev/electronics/inverter/sw_ftdi", + "file": "/home/m/dev/electronics/inverter/sw_ftdi/src/main.c", + "output": "/home/m/dev/electronics/inverter/sw_ftdi/build/inverter" + }, + { + "arguments": [ + "/usr/bin/cc", + "-c", + "-Wall", + "-Wpedantic", + "-Wextra", + "-g", + "-Isrc/include", + "-I/usr/include", + "-I/usr/include/libftdi1", + "-o", + "build/inverter", + "src/pins.c" + ], + "directory": "/home/m/dev/electronics/inverter/sw_ftdi", + "file": "/home/m/dev/electronics/inverter/sw_ftdi/src/pins.c", + "output": "/home/m/dev/electronics/inverter/sw_ftdi/build/inverter" + }, + { + "arguments": [ + "/usr/bin/cc", + "-c", + "-Wall", + "-Wpedantic", + "-Wextra", + "-g", + "-Isrc/include", + "-I/usr/include", + "-I/usr/include/libftdi1", + "-o", + "build/inverter", + "src/statemachine.c" + ], + "directory": "/home/m/dev/electronics/inverter/sw_ftdi", + "file": "/home/m/dev/electronics/inverter/sw_ftdi/src/statemachine.c", + "output": "/home/m/dev/electronics/inverter/sw_ftdi/build/inverter" + }, + { + "arguments": [ + "/usr/bin/cc", + "-c", + "-Wall", + "-Wpedantic", + "-Wextra", + "-g", + "-Isrc/include", + "-I/usr/include", + "-I/usr/include/libftdi1", + "-o", + "build/inverter", + "src/timer_utils.c" + ], + "directory": "/home/m/dev/electronics/inverter/sw_ftdi", + "file": "/home/m/dev/electronics/inverter/sw_ftdi/src/timer_utils.c", + "output": "/home/m/dev/electronics/inverter/sw_ftdi/build/inverter" + } +]