diff --git a/.clangd b/.clangd new file mode 100644 index 0000000..7f7e3cf --- /dev/null +++ b/.clangd @@ -0,0 +1,10 @@ +CompileFlags: + Add: + - -isystem + - /home/mscholz/.platformio/packages/toolchain-xtensa-esp-elf/xtensa-esp-elf/include + Remove: + - -mlongcalls + - -mdisable-hardware-atomics + - -fstrict-volatile-bitfields + - -fno-tree-switch-conversion + - -fno-shrink-wrap diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 0000000..b01e908 --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,17 @@ +// Folder-specific settings +// +// For a full list of overridable settings, and general information on folder-specific settings, +// see the documentation: https://zed.dev/docs/configuring-zed#settings-files +{ + "lsp": { + "clangd": { + "binary": { + "path": "/usr/bin/clangd", + "arguments": [ + "--background-index", + "--query-driver=/home/mscholz/.platformio/packages/**/bin/*" + ] + } + } + } +} diff --git a/extra_script.py b/extra_script.py new file mode 100644 index 0000000..9fb6a10 --- /dev/null +++ b/extra_script.py @@ -0,0 +1,3 @@ +Import("env") + +env.Replace(COMPILATIONDB_INCLUDE_TOOLCHAIN=True)