From 5271553ac67f56fd41aca028f123a95a566fc04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andis=20Z=C4=ABle?= Date: Sun, 28 Apr 2024 20:53:15 +0300 Subject: [PATCH] Created project --- .../logic-controller/logic-controller.atsln | 22 +++ .../logic-controller.componentinfo.xml | 86 +++++++++ .../logic-controller/logic-controller.cppproj | 171 ++++++++++++++++++ firmware/src/logic-controller/main.cpp | 18 ++ 4 files changed, 297 insertions(+) create mode 100644 firmware/src/logic-controller/logic-controller.atsln create mode 100644 firmware/src/logic-controller/logic-controller.componentinfo.xml create mode 100644 firmware/src/logic-controller/logic-controller.cppproj create mode 100644 firmware/src/logic-controller/main.cpp diff --git a/firmware/src/logic-controller/logic-controller.atsln b/firmware/src/logic-controller/logic-controller.atsln new file mode 100644 index 0000000..5a63d21 --- /dev/null +++ b/firmware/src/logic-controller/logic-controller.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}") = "logic-controller", "logic-controller.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/firmware/src/logic-controller/logic-controller.componentinfo.xml b/firmware/src/logic-controller/logic-controller.componentinfo.xml new file mode 100644 index 0000000..53fdca9 --- /dev/null +++ b/firmware/src/logic-controller/logic-controller.componentinfo.xml @@ -0,0 +1,86 @@ + + + + + + + Device + Startup + + + Atmel + 1.7.0 + C:/Program Files (x86)\Atmel\Studio\7.0\Packs + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.7.374\include\ + + include + C + + + include/ + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.7.374\include\avr\iom328pb.h + + header + C + TU9y07FA4IWGxznrvGv9rQ== + + include/avr/iom328pb.h + + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.7.374\templates\main.c + template + source + C Exe + KjvOcFWd++tbnsEMfVPd/w== + + templates/main.c + Main file (.c) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.7.374\templates\main.cpp + template + source + C Exe + JW7SEx9Orn/ZeEv3xrLKDw== + + templates/main.cpp + Main file (.cpp) + + + + C:/Program Files (x86)\Atmel\Studio\7.0\Packs\atmel\ATmega_DFP\1.7.374\gcc\dev\atmega328pb + + libraryPrefix + GCC + + + gcc/dev/atmega328pb + + + + + ATmega_DFP + C:/Program Files (x86)/Atmel/Studio/7.0/Packs/atmel/ATmega_DFP/1.7.374/Atmel.ATmega_DFP.pdsc + 1.7.374 + true + ATmega328PB + + + + Resolved + Fixed + true + + + \ No newline at end of file diff --git a/firmware/src/logic-controller/logic-controller.cppproj b/firmware/src/logic-controller/logic-controller.cppproj new file mode 100644 index 0000000..30eabd3 --- /dev/null +++ b/firmware/src/logic-controller/logic-controller.cppproj @@ -0,0 +1,171 @@ + + + + 2.0 + 7.0 + com.Atmel.AVRGCC8.CPP + dce6c7e3-ee26-4d79-826b-08594b9ad897 + ATmega328PB + none + Executable + CPP + $(MSBuildProjectName) + .elf + $(MSBuildProjectDirectory)\$(Configuration) + logic-controller + logic-controller + logic-controller + Native + true + false + true + true + + + true + + 2 + 0 + 0 + + + + + + + + + + + + + + + + + + -mmcu=atmega328pb -B "%24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\gcc\dev\atmega328pb" + True + True + True + True + False + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\include\ + + + Optimize for size (-Os) + True + True + True + True + True + + + NDEBUG + + + + + %24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\include\ + + + Optimize for size (-Os) + True + True + True + + + libm + + + + + %24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\include\ + + + + + + + + + -mmcu=atmega328pb -B "%24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\gcc\dev\atmega328pb" + True + True + True + True + False + True + True + + + DEBUG + + + + + %24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + True + True + + + DEBUG + + + + + %24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\include\ + + + Optimize debugging experience (-Og) + True + True + Default (-g2) + True + + + libm + + + + + %24(PackRepoDir)\atmel\ATmega_DFP\1.7.374\include\ + + + Default (-Wa,-g) + + + + + + compile + + + compile + + + compile + + + + + + + + \ No newline at end of file diff --git a/firmware/src/logic-controller/main.cpp b/firmware/src/logic-controller/main.cpp new file mode 100644 index 0000000..48232e8 --- /dev/null +++ b/firmware/src/logic-controller/main.cpp @@ -0,0 +1,18 @@ +/* + * logic-controller.cpp + * + * Created: 28.04.2024 20:03:09 + * Author : User + */ + +#include + + +int main(void) +{ + /* Replace with your application code */ + while (1) + { + } +} +