.clangd said the repository rides as a submodule in its consumers, which none does, and removed three codegen flags only pureboot's loaders carry; its em dashes are ASCII now. The settings.json comment built on the same premise goes, and the oracle README states the variant rather than who chose it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
// clangd is the language server; the cpptools engine would parse every file
|
|
// a second time and disagree, since nothing tells it about a cross
|
|
// compiler.
|
|
"C_Cpp.intelliSenseEngine": "disabled",
|
|
|
|
// --query-driver lets clangd ask the cross compiler for its own system
|
|
// includes and target.
|
|
"clangd.arguments": [
|
|
"--compile-commands-dir=${workspaceFolder}/build/atmega328p-generated",
|
|
"--query-driver=**avr-g++*",
|
|
"--header-insertion=never"
|
|
],
|
|
|
|
// The presets are the build interface, and the toolchain file inside the
|
|
// libavr submodule is the one place the compiler is chosen. **No prefix is
|
|
// named here**: a committed file may not name a path that is true of one
|
|
// machine (libavr guidance rule 50), so the gitignored local/machine.cmake
|
|
// at this repository's root is where a checkout says where its toolchain
|
|
// is - one file, and it answers for both hosts.
|
|
"cmake.useCMakePresets": "always",
|
|
"cmake.configureOnOpen": true,
|
|
"cmake.options.statusBarVisibility": "compact",
|
|
|
|
"files.watcherExclude": {
|
|
"**/build/**": true,
|
|
"**/libavr/**": true
|
|
},
|
|
|
|
"files.associations": {
|
|
".clangd": "yaml",
|
|
".clang-format": "yaml"
|
|
}
|
|
}
|