Skip to content

Commit 139ca8c

Browse files
committed
Added first firmware files.
1 parent 799a86c commit 139ca8c

20 files changed

+3314
-0
lines changed

Firmware/AnalogInput.atsln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+

2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Atmel Studio Solution File, Format Version 11.00
4+
VisualStudioVersion = 14.0.23107.0
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{E66E83B9-2572-4076-B26E-6BE79FF3018A}") = "AnalogInput", "AnalogInput\AnalogInput.cppproj", "{2AC71C99-E332-42AC-AA16-8B5FCC4C013B}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|AVR = Debug|AVR
11+
Release|AVR = Release|AVR
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{2AC71C99-E332-42AC-AA16-8B5FCC4C013B}.Debug|AVR.ActiveCfg = Debug|AVR
15+
{2AC71C99-E332-42AC-AA16-8B5FCC4C013B}.Debug|AVR.Build.0 = Debug|AVR
16+
{2AC71C99-E332-42AC-AA16-8B5FCC4C013B}.Release|AVR.ActiveCfg = Release|AVR
17+
{2AC71C99-E332-42AC-AA16-8B5FCC4C013B}.Release|AVR.Build.0 = Release|AVR
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal
Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<SchemaVersion>2.0</SchemaVersion>
5+
<ProjectVersion>7.0</ProjectVersion>
6+
<ToolchainName>com.Atmel.AVRGCC8.CPP</ToolchainName>
7+
<ProjectGuid>{2ac71c99-e332-42ac-aa16-8b5fcc4c013b}</ProjectGuid>
8+
<avrdevice>ATxmega128A4U</avrdevice>
9+
<avrdeviceseries>none</avrdeviceseries>
10+
<OutputType>Executable</OutputType>
11+
<Language>CPP</Language>
12+
<OutputFileName>$(MSBuildProjectName)</OutputFileName>
13+
<OutputFileExtension>.elf</OutputFileExtension>
14+
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
15+
<AssemblyName>LoadCells</AssemblyName>
16+
<Name>AnalogInput</Name>
17+
<RootNamespace>LoadCells</RootNamespace>
18+
<ToolchainFlavour>Native</ToolchainFlavour>
19+
<KeepTimersRunning>true</KeepTimersRunning>
20+
<OverrideVtor>false</OverrideVtor>
21+
<CacheFlash>true</CacheFlash>
22+
<ProgFlashFromRam>true</ProgFlashFromRam>
23+
<RamSnippetAddress>0x20000000</RamSnippetAddress>
24+
<UncachedRange />
25+
<preserveEEPROM>true</preserveEEPROM>
26+
<OverrideVtorValue>exception_table</OverrideVtorValue>
27+
<BootSegment>2</BootSegment>
28+
<eraseonlaunchrule>0</eraseonlaunchrule>
29+
<AsfFrameworkConfig>
30+
<framework-data>
31+
<options />
32+
<configurations />
33+
<files />
34+
<documentation help="" />
35+
<offline-documentation help="" />
36+
<dependencies>
37+
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.39.0" />
38+
</dependencies>
39+
</framework-data>
40+
</AsfFrameworkConfig>
41+
<avrtool>com.atmel.avrdbg.tool.atmelice</avrtool>
42+
<avrtoolinterface>PDI</avrtoolinterface>
43+
<com_atmel_avrdbg_tool_atmelice>
44+
<ToolOptions>
45+
<InterfaceProperties>
46+
<PdiClock>4000000</PdiClock>
47+
</InterfaceProperties>
48+
<InterfaceName>PDI</InterfaceName>
49+
</ToolOptions>
50+
<ToolType>com.atmel.avrdbg.tool.atmelice</ToolType>
51+
<ToolNumber>J42700022647</ToolNumber>
52+
<ToolName>Atmel-ICE</ToolName>
53+
</com_atmel_avrdbg_tool_atmelice>
54+
<ResetRule>0</ResetRule>
55+
<EraseKey />
56+
<avrtoolserialnumber>J42700022647</avrtoolserialnumber>
57+
<avrdeviceexpectedsignature>0x1E9746</avrdeviceexpectedsignature>
58+
<avrtoolinterfaceclock>4000000</avrtoolinterfaceclock>
59+
<custom>
60+
<ToolOptions xmlns="">
61+
<InterfaceProperties>
62+
</InterfaceProperties>
63+
<InterfaceName>PDI</InterfaceName>
64+
</ToolOptions>
65+
<ToolType xmlns="">custom</ToolType>
66+
<ToolNumber xmlns="">
67+
</ToolNumber>
68+
<ToolName xmlns="">Custom Programming Tool</ToolName>
69+
</custom>
70+
</PropertyGroup>
71+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
72+
<ToolchainSettings>
73+
<AvrGccCpp>
74+
<avrgcc.common.Device>-mmcu=atxmega128a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\gcc\dev\atxmega128a4u"</avrgcc.common.Device>
75+
<avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches>
76+
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
77+
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
78+
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
79+
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
80+
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
81+
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
82+
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
83+
<avrgcc.compiler.symbols.DefSymbols>
84+
<ListValues>
85+
<Value>NDEBUG</Value>
86+
</ListValues>
87+
</avrgcc.compiler.symbols.DefSymbols>
88+
<avrgcc.compiler.directories.IncludePaths>
89+
<ListValues>
90+
<Value>%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include</Value>
91+
</ListValues>
92+
</avrgcc.compiler.directories.IncludePaths>
93+
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
94+
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
95+
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
96+
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
97+
<avrgcccpp.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcccpp.compiler.general.ChangeDefaultCharTypeUnsigned>
98+
<avrgcccpp.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcccpp.compiler.general.ChangeDefaultBitFieldUnsigned>
99+
<avrgcccpp.compiler.symbols.DefSymbols>
100+
<ListValues>
101+
<Value>NDEBUG</Value>
102+
</ListValues>
103+
</avrgcccpp.compiler.symbols.DefSymbols>
104+
<avrgcccpp.compiler.directories.IncludePaths>
105+
<ListValues>
106+
<Value>%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include</Value>
107+
</ListValues>
108+
</avrgcccpp.compiler.directories.IncludePaths>
109+
<avrgcccpp.compiler.optimization.level>Optimize for size (-Os)</avrgcccpp.compiler.optimization.level>
110+
<avrgcccpp.compiler.optimization.PackStructureMembers>True</avrgcccpp.compiler.optimization.PackStructureMembers>
111+
<avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>
112+
<avrgcccpp.compiler.warnings.AllWarnings>True</avrgcccpp.compiler.warnings.AllWarnings>
113+
<avrgcccpp.linker.libraries.Libraries>
114+
<ListValues>
115+
<Value>libm</Value>
116+
<Value>libATxmega128A4U-1.9.a</Value>
117+
</ListValues>
118+
</avrgcccpp.linker.libraries.Libraries>
119+
<avrgcccpp.linker.libraries.LibrarySearchPaths>
120+
<ListValues>
121+
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket\Device.LoadCells\Firmware\LoadCells</Value>
122+
<Value>C:\Users\OEPS\Documents\github\harp-tech\harp_analog_input\Firmware\AnalogInput</Value>
123+
</ListValues>
124+
</avrgcccpp.linker.libraries.LibrarySearchPaths>
125+
<avrgcccpp.assembler.general.IncludePaths>
126+
<ListValues>
127+
<Value>%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include</Value>
128+
</ListValues>
129+
</avrgcccpp.assembler.general.IncludePaths>
130+
</AvrGccCpp>
131+
</ToolchainSettings>
132+
</PropertyGroup>
133+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
134+
<ToolchainSettings>
135+
<AvrGccCpp>
136+
<avrgcc.common.Device>-mmcu=atxmega128a4u -B "%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\gcc\dev\atxmega128a4u"</avrgcc.common.Device>
137+
<avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches>
138+
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
139+
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
140+
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
141+
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
142+
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
143+
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
144+
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
145+
<avrgcc.compiler.symbols.DefSymbols>
146+
<ListValues>
147+
<Value>DEBUG</Value>
148+
</ListValues>
149+
</avrgcc.compiler.symbols.DefSymbols>
150+
<avrgcc.compiler.directories.IncludePaths>
151+
<ListValues>
152+
<Value>%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include</Value>
153+
</ListValues>
154+
</avrgcc.compiler.directories.IncludePaths>
155+
<avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level>
156+
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
157+
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
158+
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
159+
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
160+
<avrgcccpp.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcccpp.compiler.general.ChangeDefaultCharTypeUnsigned>
161+
<avrgcccpp.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcccpp.compiler.general.ChangeDefaultBitFieldUnsigned>
162+
<avrgcccpp.compiler.symbols.DefSymbols>
163+
<ListValues>
164+
<Value>DEBUG</Value>
165+
</ListValues>
166+
</avrgcccpp.compiler.symbols.DefSymbols>
167+
<avrgcccpp.compiler.directories.IncludePaths>
168+
<ListValues>
169+
<Value>%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include</Value>
170+
</ListValues>
171+
</avrgcccpp.compiler.directories.IncludePaths>
172+
<avrgcccpp.compiler.optimization.level>Optimize most (-O3)</avrgcccpp.compiler.optimization.level>
173+
<avrgcccpp.compiler.optimization.PackStructureMembers>True</avrgcccpp.compiler.optimization.PackStructureMembers>
174+
<avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcccpp.compiler.optimization.AllocateBytesNeededForEnum>
175+
<avrgcccpp.compiler.optimization.DebugLevel>Default (-g2)</avrgcccpp.compiler.optimization.DebugLevel>
176+
<avrgcccpp.compiler.warnings.AllWarnings>True</avrgcccpp.compiler.warnings.AllWarnings>
177+
<avrgcccpp.linker.libraries.Libraries>
178+
<ListValues>
179+
<Value>libm</Value>
180+
<Value>libATxmega128A4U-1.9.a</Value>
181+
</ListValues>
182+
</avrgcccpp.linker.libraries.Libraries>
183+
<avrgcccpp.linker.libraries.LibrarySearchPaths>
184+
<ListValues>
185+
<Value>C:\Users\Filipe Carvalho\Documents\BitBucket\Device.LoadCells\Firmware\LoadCells</Value>
186+
<Value>C:\Users\OEPS\Documents\github\harp-tech\harp_analog_input\Firmware\AnalogInput</Value>
187+
</ListValues>
188+
</avrgcccpp.linker.libraries.LibrarySearchPaths>
189+
<avrgcccpp.assembler.general.IncludePaths>
190+
<ListValues>
191+
<Value>%24(PackRepoDir)\atmel\XMEGAA_DFP\1.1.68\include</Value>
192+
</ListValues>
193+
</avrgcccpp.assembler.general.IncludePaths>
194+
<avrgcccpp.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcccpp.assembler.debugging.DebugLevel>
195+
</AvrGccCpp>
196+
</ToolchainSettings>
197+
</PropertyGroup>
198+
<ItemGroup>
199+
<Compile Include="app.c">
200+
<SubType>compile</SubType>
201+
</Compile>
202+
<Compile Include="app_funcs.c">
203+
<SubType>compile</SubType>
204+
</Compile>
205+
<Compile Include="app_ios_and_regs.c">
206+
<SubType>compile</SubType>
207+
</Compile>
208+
<Compile Include="interrupts.c">
209+
<SubType>compile</SubType>
210+
</Compile>
211+
<Compile Include="main.c">
212+
<SubType>compile</SubType>
213+
</Compile>
214+
</ItemGroup>
215+
<Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" />
216+
</Project>

0 commit comments

Comments
 (0)