Skip to content

A barebones VS Code Arduino project that uses Clangd for Intellisense, formatting and static analysis.

Notifications You must be signed in to change notification settings

Falven/clangd-arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Issues:

  • On Windows, the Arduino-generated compile_commands.json may be missing the .exe extension, which causes clangd to not be able to query the compiler driver. postbuild.js script appends the extension for now.
  • If using gcc-arm-none-eabi-7-2017-Q4 or earlier, there is a bug where the extracted system includes (which are passed to the compiler via the -isystem flag) will have C linkage instead of C++ linkage, which causes a lot of compiler warnings, especially through clangd intellisense... ** A drop-in replacement of gcc-arm-none-eabi-10-2020-q4-major into the toolchain folder fixes this issue... or you can wait for Arduino to update the toolchain.

About

A barebones VS Code Arduino project that uses Clangd for Intellisense, formatting and static analysis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published