From 060da11a758257a27eea5f4ed3ae7dc8f5dcb836 Mon Sep 17 00:00:00 2001 From: BlackMark Date: Sat, 1 Feb 2020 22:47:53 +0100 Subject: [PATCH] Added adc project solution --- .gitmodules | 3 + adc.atsln | 22 ++++++ adc/adc | 1 + adc/adc.cppproj | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ adc/main.cpp | 6 ++ 5 files changed, 222 insertions(+) create mode 100644 .gitmodules create mode 100644 adc.atsln create mode 160000 adc/adc create mode 100644 adc/adc.cppproj create mode 100644 adc/main.cpp diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..aff5614 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "adc/adc"] + path = adc/adc + url = git@git.blackmark.me:avr/adc.git diff --git a/adc.atsln b/adc.atsln new file mode 100644 index 0000000..7443990 --- /dev/null +++ b/adc.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}") = "adc", "adc\adc.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/adc/adc b/adc/adc new file mode 160000 index 0000000..c741dc9 --- /dev/null +++ b/adc/adc @@ -0,0 +1 @@ +Subproject commit c741dc98a177834296b4bf877bfe92efdf912d72 diff --git a/adc/adc.cppproj b/adc/adc.cppproj new file mode 100644 index 0000000..657c5b7 --- /dev/null +++ b/adc/adc.cppproj @@ -0,0 +1,190 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.CPP + dce6c7e3-ee26-4d79-826b-08594b9ad897 + ATmega328P + none + Executable + CPP + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + adc + adc + adc + avr-g++-9.1.0 + true + false + true + true + 0x20000000 + + true + exception_table + 2 + 0 + 0 + + com.atmel.avrdbg.tool.stk500 + + 0x1E950F + + + + 125000 + + ISP + + com.atmel.avrdbg.tool.stk500 + + + STK500 + + ISP + 125000 + + + + + + + + + + + + + + + + + -mmcu=atmega328p + True + True + True + True + False + True + True + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + True + True + True + True + -fno-threadsafe-statics -std=c11 + True + True + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + True + True + True + -fno-threadsafe-statics -Wextra -std=c++17 + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + + + NDEBUG + + + Optimize for size (-Os) + + + NDEBUG + + + Optimize for size (-Os) + + + + + + + -mmcu=atmega328p + True + True + True + True + False + True + True + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + True + True + True + True + -fno-threadsafe-statics -std=c11 + True + True + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + True + True + True + -fno-threadsafe-statics -Wextra -std=c++17 + + + libm + + + + + %24(PackRepoDir)\Atmel\ATmega_DFP\1.4.346\include + + + + + DEBUG + + + Optimize (-O1) + Maximum (-g3) + + + DEBUG + + + Optimize (-O1) + Maximum (-g3) + Default (-Wa,-g) + + + + + + compile + + + compile + + + + + + + \ No newline at end of file diff --git a/adc/main.cpp b/adc/main.cpp new file mode 100644 index 0000000..fbc4023 --- /dev/null +++ b/adc/main.cpp @@ -0,0 +1,6 @@ +#include "adc/adc.hpp" + +int main() +{ + return 0; +}