From ae76995e3545ee51f4f322f1736b88a89e56daf4 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sat, 27 Jul 2019 13:10:17 +0200 Subject: [PATCH] Initial commit --- .clang-format | 13 +++++ .gitattributes | 9 ++++ .gitignore | 4 ++ flash.atsln | 22 ++++++++ flash/flash.cppproj | 123 ++++++++++++++++++++++++++++++++++++++++++++ flash/main.cpp | 4 ++ 6 files changed, 175 insertions(+) create mode 100644 .clang-format create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 flash.atsln create mode 100644 flash/flash.cppproj create mode 100644 flash/main.cpp 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/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3e5b64f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +*.h eol=lf +*.hpp eol=lf +*.c eol=lf +*.cpp eol=lf +.git* eol=lf +*.vcxproj* eol=crlf +*.cppproj eol=crlf +*.sln eol=crlf +*.atsln eol=crlf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edee58b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.vs +Release +Debug +*.componentinfo.xml diff --git a/flash.atsln b/flash.atsln new file mode 100644 index 0000000..ef4402b --- /dev/null +++ b/flash.atsln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Atmel Studio Solution File, Format Version 11.00 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{E66E83B9-2572-4076-B26E-6BE79FF3018A}") = "flash", "flash\flash.cppproj", "{DCE6C7E3-EE26-4D79-826B-08594B9AD897}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|AVR = Debug|AVR + Release|AVR = Release|AVR + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.ActiveCfg = Debug|AVR + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Debug|AVR.Build.0 = Debug|AVR + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.ActiveCfg = Release|AVR + {DCE6C7E3-EE26-4D79-826B-08594B9AD897}.Release|AVR.Build.0 = Release|AVR + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/flash/flash.cppproj b/flash/flash.cppproj new file mode 100644 index 0000000..5e2de6b --- /dev/null +++ b/flash/flash.cppproj @@ -0,0 +1,123 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.CPP + dce6c7e3-ee26-4d79-826b-08594b9ad897 + ATmega1284P + none + Executable + CPP + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + flash + flash + flash + Native + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.jtagicemkii + 070000004699 + 0x1E9705 + + + + 125000 + + ISP + + com.atmel.avrdbg.tool.jtagicemkii + 070000004699 + JTAGICE mkII + + ISP + 125000 + + + + + -mmcu=atmega1284p -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\gcc\dev\atmega1284p" + True + True + True + True + True + False + True + True + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + True + True + True + True + True + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + True + True + True + True + -Wextra -std=c++17 + libm + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + NDEBUG + Optimize for size (-Os) + NDEBUG + Optimize for size (-Os) + + + + + + + -mmcu=atmega1284p -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\gcc\dev\atmega1284p" + True + True + True + True + True + False + True + True + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + True + True + True + True + True + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + True + True + True + True + -Wextra -std=c++17 + libm + %24(PackRepoDir)\Atmel\ATmega_DFP\1.3.300\include + DEBUG + Optimize (-O1) + Default (-g2) + DEBUG + Optimize (-O1) + Default (-g2) + Default (-Wa,-g) + + + + + + compile + + + + \ No newline at end of file diff --git a/flash/main.cpp b/flash/main.cpp new file mode 100644 index 0000000..a46866d --- /dev/null +++ b/flash/main.cpp @@ -0,0 +1,4 @@ +int main() +{ + return 0; +}