From 01357aab3fcb66cfc7707f5351ee9e155af45661 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Tue, 25 Jul 2023 15:29:57 +0800 Subject: [PATCH] init --- .clang-format | 9 +++ .cproject | 131 +++++++++++++++++++++++++---------- .gitignore | 1 + .gitmodules | 3 + .project | 3 +- .settings/stm32cubeide.project.prefs | 3 + .vscode/settings.json | 22 ++++++ Core/Src/main.c | 3 + robotic_core_xy dap.cfg | 44 ++++++++++++ robotic_core_xy.launch | 96 +++++++++++++++++++++++++ usrc/main.cpp | 26 +++++++ usrc/main.hpp | 21 ++++++ usrc/project.hpp | 66 ++++++++++++++++++ 13 files changed, 391 insertions(+), 37 deletions(-) create mode 100644 .clang-format create mode 100644 .gitmodules create mode 100644 .settings/stm32cubeide.project.prefs create mode 100644 .vscode/settings.json create mode 100644 robotic_core_xy dap.cfg create mode 100644 robotic_core_xy.launch create mode 100644 usrc/main.cpp create mode 100644 usrc/main.hpp create mode 100644 usrc/project.hpp diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..45866f9 --- /dev/null +++ b/.clang-format @@ -0,0 +1,9 @@ +# Defines the Chromium style for automatic reformatting. +# http://clang.llvm.org/docs/ClangFormatStyleOptions.html +Language: Cpp +BasedOnStyle: Google +ColumnLimit: 160 +AlignConsecutiveMacros: true +AlignConsecutiveDeclarations: true +AlignConsecutiveAssignments: true +AlignOperands: true \ No newline at end of file diff --git a/.cproject b/.cproject index ecf1d14..b96cce2 100644 --- a/.cproject +++ b/.cproject @@ -17,15 +17,15 @@ - @@ -96,27 +122,27 @@ -