From 7a8d31718ff44469ba2233a402c051c456839835 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Fri, 15 May 2020 09:21:08 +0200 Subject: [PATCH] Add gitignore and clang-format file --- .clang-format | 13 +++++++++++++ .gitignore | 8 +++++++- ds3231/ds3231 | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..63ebf38 --- /dev/null +++ b/.clang-format @@ -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 +... diff --git a/.gitignore b/.gitignore index 38e936d..9f584cc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,10 @@ Release Debug *.componentinfo.xml -avrdude.bat +*.elf +*.o +*.hex +*.srec +*.eeprom +*.lss +*.map diff --git a/ds3231/ds3231 b/ds3231/ds3231 index 22a74d0..b3364f0 160000 --- a/ds3231/ds3231 +++ b/ds3231/ds3231 @@ -1 +1 @@ -Subproject commit 22a74d0b77c5cfee0d1969d50af40a06c96c3262 +Subproject commit b3364f0b8894cceaab8f2a30e142166ab8cac16f