adds ThreadX clang-format settings and applies it to maceth driver
This commit is contained in:
10
.clang-format
Normal file
10
.clang-format
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
BasedOnStyle: Microsoft
|
||||||
|
BinPackArguments: false
|
||||||
|
BinPackParameters: false
|
||||||
|
AlignAfterOpenBracket: DontAlign
|
||||||
|
AlignConsecutiveMacros: true
|
||||||
|
AlignConsecutiveAssignments: true
|
||||||
|
IndentCaseLabels: true
|
||||||
|
PointerAlignment: Left
|
||||||
|
BraceWrapping:
|
||||||
|
AfterCaseLabel: true
|
||||||
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@@ -6,7 +6,7 @@
|
|||||||
"comment": "clang-format"
|
"comment": "clang-format"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"editor.formatOnSave": false,
|
"editor.formatOnSave": true,
|
||||||
"clangd.arguments": [
|
"clangd.arguments": [
|
||||||
"--pretty",
|
"--pretty",
|
||||||
"--background-index",
|
"--background-index",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user