Add gitignore and clang-format file

This commit is contained in:
2020-05-15 09:21:08 +02:00
parent 05e8b1b53f
commit 7a8d31718f
3 changed files with 21 additions and 2 deletions

13
.clang-format Normal file
View File

@@ -0,0 +1,13 @@
---
BasedOnStyle: LLVM
ColumnLimit: 120
IndentWidth: 4
TabWidth: 4
UseTab: ForIndentation
AlignEscapedNewlines: DontAlign
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: true
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
...

8
.gitignore vendored
View File

@@ -2,4 +2,10 @@
Release Release
Debug Debug
*.componentinfo.xml *.componentinfo.xml
avrdude.bat *.elf
*.o
*.hex
*.srec
*.eeprom
*.lss
*.map