IntelliSense and formatting options.

main
giomba 2022-10-10 19:11:45 +02:00
parent bbe42f31bb
commit 73195267cb
2 changed files with 29 additions and 0 deletions

12
.clang-format Normal file
View File

@ -0,0 +1,12 @@
BasedOnStyle: LLVM
BreakBeforeBraces: Allman
SortIncludes: false
UseTab: AlignWithSpaces
TabWidth: 4
IndentWidth: 4
ColumnLimit: 100
AlignConsecutiveMacros: true
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
IndentPPDirectives: BeforeHash
PenaltyBreakAssignment: 25

17
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
""
],
"compilerPath": "/usr/bin/arm-none-eabi-gcc",
"cStandard": "c17",
"intelliSenseMode": "linux-gcc-arm"
}
],
"version": 4
}