<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="14.0">
  <PropertyGroup>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectVersion>7.0</ProjectVersion>
    <ToolchainName>com.Atmel.AVRGCC8.C</ToolchainName>
    <ProjectGuid>dce6c7e3-ee26-4d79-826b-08594b9ad897</ProjectGuid>
    <avrdevice>ATmega2560</avrdevice>
    <avrdeviceseries>none</avrdeviceseries>
    <OutputType>Executable</OutputType>
    <Language>C</Language>
    <OutputFileName>$(MSBuildProjectName)</OutputFileName>
    <OutputFileExtension>.elf</OutputFileExtension>
    <OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
    <AssemblyName>idiBUS_bootloader</AssemblyName>
    <Name>idiBUS_bootloader_2560</Name>
    <RootNamespace>idiBUS_bootloader</RootNamespace>
    <ToolchainFlavour>Native</ToolchainFlavour>
    <KeepTimersRunning>true</KeepTimersRunning>
    <OverrideVtor>false</OverrideVtor>
    <CacheFlash>true</CacheFlash>
    <ProgFlashFromRam>true</ProgFlashFromRam>
    <RamSnippetAddress>0x20000000</RamSnippetAddress>
    <UncachedRange />
    <preserveEEPROM>true</preserveEEPROM>
    <OverrideVtorValue>exception_table</OverrideVtorValue>
    <BootSegment>2</BootSegment>
    <ResetRule>0</ResetRule>
    <eraseonlaunchrule>0</eraseonlaunchrule>
    <EraseKey />
    <avrtool>com.atmel.avrdbg.tool.atmelice</avrtool>
    <avrtoolserialnumber>J41800094359</avrtoolserialnumber>
    <avrdeviceexpectedsignature>0x1E9801</avrdeviceexpectedsignature>
    <com_atmel_avrdbg_tool_atmelice>
      <ToolOptions>
        <InterfaceProperties>
          <JtagDbgClock>200000</JtagDbgClock>
          <IspClock>125000</IspClock>
        </InterfaceProperties>
        <InterfaceName>ISP</InterfaceName>
      </ToolOptions>
      <ToolType>com.atmel.avrdbg.tool.atmelice</ToolType>
      <ToolNumber>J41800094359</ToolNumber>
      <ToolName>Atmel-ICE</ToolName>
    </com_atmel_avrdbg_tool_atmelice>
    <avrtoolinterface>ISP</avrtoolinterface>
    <avrtoolinterfaceclock>200000</avrtoolinterfaceclock>
    <com_atmel_avrdbg_tool_simulator>
      <ToolOptions xmlns="">
        <InterfaceProperties>
        </InterfaceProperties>
        <InterfaceName>
        </InterfaceName>
      </ToolOptions>
      <ToolType xmlns="">com.atmel.avrdbg.tool.simulator</ToolType>
      <ToolNumber xmlns="">
      </ToolNumber>
      <ToolName xmlns="">Simulator</ToolName>
    </com_atmel_avrdbg_tool_simulator>
    <com_atmel_avrdbg_tool_stk500>
      <ToolOptions>
        <InterfaceProperties>
          <IspClock>125000</IspClock>
        </InterfaceProperties>
        <InterfaceName>ISP</InterfaceName>
      </ToolOptions>
      <ToolType>com.atmel.avrdbg.tool.stk500</ToolType>
      <ToolNumber>
      </ToolNumber>
      <ToolName>STK500</ToolName>
    </com_atmel_avrdbg_tool_stk500>
    <custom>
      <ToolOptions xmlns="">
        <InterfaceProperties>
        </InterfaceProperties>
        <InterfaceName>
        </InterfaceName>
      </ToolOptions>
      <ToolType xmlns="">custom</ToolType>
      <ToolNumber xmlns="">
      </ToolNumber>
      <ToolName xmlns="">Custom Programming Tool</ToolName>
    </custom>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Release 2560' ">
    <ToolchainSettings>
      <AvrGcc>
        <avrgcc.common.Device>-mmcu=atmega2560 -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\gcc\dev\atmega2560"</avrgcc.common.Device>
        <avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches>
        <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>_CPU_ATMEGA2560_</Value>
            <Value>_BOOTLOADER_</Value>
            <Value>NDEBUG</Value>
          </ListValues>
        </avrgcc.compiler.symbols.DefSymbols>
        <avrgcc.compiler.directories.IncludePaths>
          <ListValues>
            <Value>../SysCommon</Value>
            <Value>../idiBus</Value>
            <Value>../CustomHWDefines</Value>
            <Value>../bootloader</Value>
            <Value>..</Value>
            <Value>%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\include\</Value>
            <Value>../../../personalizationFiles</Value>
            <Value>../../../moduleFiles</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.miscellaneous.Verbose>False</avrgcc.compiler.miscellaneous.Verbose>
        <avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles>False</avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles>
        <avrgcc.linker.general.NoSharedLibraries>False</avrgcc.linker.general.NoSharedLibraries>
        <avrgcc.linker.libraries.Libraries>
          <ListValues>
            <Value>libm</Value>
          </ListValues>
        </avrgcc.linker.libraries.Libraries>
        <avrgcc.linker.memorysettings.Flash>
          <ListValues>
            <Value>.text=0x1F000</Value>
            <Value>.locationInBoot=0x1FF80</Value>
            <Value>.locationInApp=0x1EF80</Value>
          </ListValues>
        </avrgcc.linker.memorysettings.Flash>
        <avrgcc.assembler.general.IncludePaths>
          <ListValues>
            <Value>%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\include\</Value>
          </ListValues>
        </avrgcc.assembler.general.IncludePaths>
      </AvrGcc>
    </ToolchainSettings>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Debug 2560' ">
    <ToolchainSettings>
      <AvrGcc>
        <avrgcc.common.Device>-mmcu=atmega2560 -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\gcc\dev\atmega2560"</avrgcc.common.Device>
        <avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches>
        <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>True</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>_CPU_ATMEGA2560_</Value>
            <Value>_BOOTLOADER_</Value>
            <Value>DEBUG</Value>
            <Value>_CPU_ATMEGA328PB_D</Value>
          </ListValues>
        </avrgcc.compiler.symbols.DefSymbols>
        <avrgcc.compiler.directories.IncludePaths>
          <ListValues>
            <Value>../SysCommon</Value>
            <Value>../idiBus</Value>
            <Value>../CustomHWDefines</Value>
            <Value>../bootloader</Value>
            <Value>..</Value>
            <Value>%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\include\</Value>
            <Value>../../../personalizationFiles</Value>
            <Value>../../../moduleFiles</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.miscellaneous.Verbose>True</avrgcc.compiler.miscellaneous.Verbose>
        <avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles>True</avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles>
        <avrgcc.linker.general.NoSharedLibraries>True</avrgcc.linker.general.NoSharedLibraries>
        <avrgcc.linker.libraries.Libraries>
          <ListValues>
            <Value>libm</Value>
          </ListValues>
        </avrgcc.linker.libraries.Libraries>
        <avrgcc.linker.memorysettings.Flash>
          <ListValues>
            <Value>.text=0x1F000</Value>
            <Value>.locationInBoot=0x1FF80</Value>
            <Value>.locationInApp=0x1EF80</Value>
          </ListValues>
        </avrgcc.linker.memorysettings.Flash>
        <avrgcc.assembler.general.IncludePaths>
          <ListValues>
            <Value>%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\include\</Value>
          </ListValues>
        </avrgcc.assembler.general.IncludePaths>
        <avrgcc.compiler.optimization.DebugLevel>Maximum (-g3)</avrgcc.compiler.optimization.DebugLevel>
        <avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
      </AvrGcc>
    </ToolchainSettings>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Cutter_2560' ">
    <ToolchainSettings>
      <AvrGcc>
        <avrgcc.common.Device>-mmcu=atmega2560 -B "%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\gcc\dev\atmega2560"</avrgcc.common.Device>
        <avrgcc.common.optimization.RelaxBranches>True</avrgcc.common.optimization.RelaxBranches>
        <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>True</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>_CPU_ATMEGA2560_</Value>
            <Value>_BOOTLOADER_</Value>
            <Value>DEBUG</Value>
            <Value>_CPU_ATMEGA328PB_D</Value>
          </ListValues>
        </avrgcc.compiler.symbols.DefSymbols>
        <avrgcc.compiler.directories.IncludePaths>
          <ListValues>
            <Value>../SysCommon</Value>
            <Value>../idiBus</Value>
            <Value>../CustomHWDefines</Value>
            <Value>../bootloader</Value>
            <Value>..</Value>
            <Value>%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\include\</Value>
            <Value>../../../personalizationFiles</Value>
            <Value>../../../moduleFiles</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.miscellaneous.Verbose>True</avrgcc.compiler.miscellaneous.Verbose>
        <avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles>True</avrgcc.compiler.miscellaneous.DoNotDeleteTemporaryFiles>
        <avrgcc.linker.general.NoSharedLibraries>True</avrgcc.linker.general.NoSharedLibraries>
        <avrgcc.linker.libraries.Libraries>
          <ListValues>
            <Value>libm</Value>
          </ListValues>
        </avrgcc.linker.libraries.Libraries>
        <avrgcc.linker.memorysettings.Flash>
          <ListValues>
            <Value>.text=0x1F000</Value>
            <Value>.locationInBoot=0x1FF80</Value>
            <Value>.locationInApp=0x1EF80</Value>
          </ListValues>
        </avrgcc.linker.memorysettings.Flash>
        <avrgcc.assembler.general.IncludePaths>
          <ListValues>
            <Value>%24(PackRepoDir)\Atmel\ATmega_DFP\1.7.374\include\</Value>
          </ListValues>
        </avrgcc.assembler.general.IncludePaths>
        <avrgcc.compiler.optimization.DebugLevel>Maximum (-g3)</avrgcc.compiler.optimization.DebugLevel>
        <avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
      </AvrGcc>
    </ToolchainSettings>
    <OutputPath>bin\Cutter_Debug\</OutputPath>
    <PreBuildEvent>
    </PreBuildEvent>
    <PostBuildEvent>start "ahk" "$(CUTTER)\cutterStart.ahk"
start "cutter_cmd" /B "$(CUTTER)\cutter.exe" "$(OutputDirectory)\$(OutputFileName).elf"</PostBuildEvent>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="..\..\moduleFiles\EEMEM.h">
      <SubType>compile</SubType>
      <Link>SysCommon\EEMEM.h</Link>
    </Compile>
    <Compile Include="..\..\idiBusFiles\RSLinkCustom.c">
      <SubType>compile</SubType>
      <Link>CustomHWDefines\RSLinkCustom.c</Link>
    </Compile>
    <Compile Include="..\..\idiBusFiles\RSLinkCustom.h">
      <SubType>compile</SubType>
      <Link>CustomHWDefines\RSLinkCustom.h</Link>
    </Compile>
    <Compile Include="..\..\personalizationFiles\config.h">
      <SubType>compile</SubType>
      <Link>config.h</Link>
    </Compile>
    <Compile Include="..\..\personalizationFiles\keys.h">
      <SubType>compile</SubType>
      <Link>keys.h</Link>
    </Compile>
    <Compile Include="bootloader\boot.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="bootloader\bootFunctions.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="bootloader\bootFunctions.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="BootVersion.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="CustomHWDefines\m2560_defs.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\Common\IDIBUS_DEFS.h">
      <SubType>compile</SubType>
      <Link>idiBus\IDIBUS_DEFS.h</Link>
    </Compile>
    <Compile Include="idiBus\Common\MEMORY.h">
      <SubType>compile</SubType>
      <Link>idiBus\MEMORY.h</Link>
    </Compile>
    <Compile Include="idiBus\IDIBUS_BOOTLOADER_DEFS.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\IDIBUS_IMPL.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\IDIBUS_IMPL.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\RSLink.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\RSLink.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\USART1.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\USART1.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="idiBus\USART_COM.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="main.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="SysCommon\AES.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="SysCommon\AES.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="SysCommon\CRCs.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="SysCommon\CRCs.h">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="SysCommon\System.c">
      <SubType>compile</SubType>
    </Compile>
    <Compile Include="SysCommon\System.h">
      <SubType>compile</SubType>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="CustomHWDefines\" />
    <Folder Include="SysCommon" />
    <Folder Include="idiBus" />
    <Folder Include="bootloader" />
  </ItemGroup>
  <ItemGroup>
    <None Include="..\..\personalizationFiles\device.cfg">
      <SubType>compile</SubType>
      <Link>device.cfg</Link>
    </None>
  </ItemGroup>
  <Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" />
</Project>