|
|
|
@@ -84,80 +84,82 @@
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
|
|
|
<ToolchainSettings>
|
|
|
|
|
<AvrGcc>
|
|
|
|
|
<avrgcc.common.Device>-mmcu=atmega328p -B "%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega328p"</avrgcc.common.Device>
|
|
|
|
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
|
|
|
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
|
|
|
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
|
|
|
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
|
|
|
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
|
|
|
|
<avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>NDEBUG</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
|
|
|
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
|
|
|
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
|
|
|
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
|
|
|
|
<avrgcc.compiler.warnings.Pedantic>True</avrgcc.compiler.warnings.Pedantic>
|
|
|
|
|
<avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>libm</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
</AvrGcc>
|
|
|
|
|
<avrgcc.common.Device>-mmcu=atmega328p -B "%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega328p"</avrgcc.common.Device>
|
|
|
|
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
|
|
|
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
|
|
|
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
|
|
|
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
|
|
|
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
|
|
|
|
<avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>NDEBUG</Value>
|
|
|
|
|
<Value>ARDUINO_NANO=1</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
|
|
|
|
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
|
|
|
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
|
|
|
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
|
|
|
|
<avrgcc.compiler.warnings.Pedantic>True</avrgcc.compiler.warnings.Pedantic>
|
|
|
|
|
<avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>libm</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
</AvrGcc>
|
|
|
|
|
</ToolchainSettings>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
|
|
<ToolchainSettings>
|
|
|
|
|
<AvrGcc>
|
|
|
|
|
<avrgcc.common.Device>-mmcu=atmega328p -B "%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega328p"</avrgcc.common.Device>
|
|
|
|
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
|
|
|
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
|
|
|
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
|
|
|
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
|
|
|
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
|
|
|
|
<avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>DEBUG</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<avrgcc.compiler.optimization.level>Optimize debugging experience (-Og)</avrgcc.compiler.optimization.level>
|
|
|
|
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
|
|
|
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
|
|
|
|
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
|
|
|
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
|
|
|
|
<avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>libm</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
|
|
|
|
</AvrGcc>
|
|
|
|
|
<avrgcc.common.Device>-mmcu=atmega328p -B "%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\gcc\dev\atmega328p"</avrgcc.common.Device>
|
|
|
|
|
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
|
|
|
|
|
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
|
|
|
|
|
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
|
|
|
|
|
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
|
|
|
|
|
<avrgcc.common.outputfiles.usersignatures>False</avrgcc.common.outputfiles.usersignatures>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
|
|
|
|
|
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
|
|
|
|
|
<avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>DEBUG</Value>
|
|
|
|
|
<Value>ARDUINO_NANO=1</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.symbols.DefSymbols>
|
|
|
|
|
<avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.compiler.directories.IncludePaths>
|
|
|
|
|
<avrgcc.compiler.optimization.level>Optimize debugging experience (-Og)</avrgcc.compiler.optimization.level>
|
|
|
|
|
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
|
|
|
|
|
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
|
|
|
|
|
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
|
|
|
|
|
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
|
|
|
|
|
<avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>libm</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.linker.libraries.Libraries>
|
|
|
|
|
<avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
<ListValues>
|
|
|
|
|
<Value>%24(PackRepoDir)\atmel\ATmega_DFP\1.2.209\include</Value>
|
|
|
|
|
</ListValues>
|
|
|
|
|
</avrgcc.assembler.general.IncludePaths>
|
|
|
|
|
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
|
|
|
|
|
</AvrGcc>
|
|
|
|
|
</ToolchainSettings>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
@@ -179,6 +181,9 @@
|
|
|
|
|
<Compile Include="i2c.h">
|
|
|
|
|
<SubType>compile</SubType>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="machine.h">
|
|
|
|
|
<SubType>compile</SubType>
|
|
|
|
|
</Compile>
|
|
|
|
|
<Compile Include="main.c">
|
|
|
|
|
<SubType>compile</SubType>
|
|
|
|
|
</Compile>
|
|
|
|
|