diff options
| author | jacqueline <me@jacqueline.id.au> | 2022-12-04 12:55:10 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2022-12-04 12:55:10 +1100 |
| commit | 066455669cedd8df5383912082e89818bf778038 (patch) | |
| tree | fb681ad586d83686bdbf7f409cb62d8a22a65510 /README.md | |
| parent | 1d340db87193ca589c3bd5df241ae0ed51a3100d (diff) | |
| download | tangara-fw-066455669cedd8df5383912082e89818bf778038.tar.gz | |
update lsp config
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -70,8 +70,24 @@ forcible remove a couple of GCC-specific build flags. Do this by creating ``` CompileFlags: - Add: [-mlong-calls, -isysroot=/Users/YOU/.espressif/tools/xtensa-clang/VERSION/xtensa-esp32-elf-clang] - Remove: [-fno-tree-switch-conversion, -mtext-section-literals, -mlongcalls, -fstrict-volatile-bitfields] + Add: [ + -ferror-limit=0, + -I/Users/YOU/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/include, + -I/Users/YOU/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include, + -I/Users/YOU/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0, + -I/Users/YOU/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf/include/c++/8.4.0/xtensa-esp32-elf, + -isysroot=/Users/YOU/.espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/xtensa-esp32-elf, + ] + Remove: [ + -Wduplicated-cond, + -Wduplicated-branches, + -Wlogical-op, + -fno-tree-switch-conversion, + -mtext-section-literals, + -mlongcalls, + -fstrict-volatile-bitfields, + ] + Compiler: /Users/YOU/.espressif/tools/xtensa-clang/esp-clang/bin/clang++ ``` You should then get proper LSP integration via clangd, give or take a couple of |
