The pin the whole history now encodes becomes the primary route: the submodule default replaces FetchContent and the unpinned forge fallback, LIBAVR_ROOT stays as the tandem-development override, the presets already take the toolchain file from the submodule, and the Studio projects anchor their include path there — correct by construction. The version tags and the one-command historical build are documented beside the version map. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
119 lines
6.5 KiB
XML
119 lines
6.5 KiB
XML
<?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.CPP</ToolchainName>
|
|
<ProjectGuid>99067222-32d5-49e3-b4f8-5aba0f7722b7</ProjectGuid>
|
|
<avrdevice>ATmega328P</avrdevice>
|
|
<avrdeviceseries>none</avrdeviceseries>
|
|
<OutputType>Executable</OutputType>
|
|
<Language>CPP</Language>
|
|
<OutputFileName>$(MSBuildProjectName)</OutputFileName>
|
|
<OutputFileExtension>.elf</OutputFileExtension>
|
|
<OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory>
|
|
<AssemblyName>pureboot</AssemblyName>
|
|
<Name>pureboot</Name>
|
|
<RootNamespace>pureboot</RootNamespace>
|
|
<ToolchainFlavour>avr-g++-16.1.0</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 />
|
|
<AsfFrameworkConfig>
|
|
<framework-data xmlns="">
|
|
<options />
|
|
<configurations />
|
|
<files />
|
|
<documentation help="" />
|
|
<offline-documentation help="" />
|
|
<dependencies>
|
|
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.52.0" />
|
|
</dependencies>
|
|
</framework-data>
|
|
</AsfFrameworkConfig>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<ToolchainSettings>
|
|
<AvrGccCpp>
|
|
<avrgcc.common.Device>-mmcu=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>
|
|
<avrgcccpp.compiler.symbols.DefSymbols>
|
|
<ListValues>
|
|
<Value>NDEBUG</Value>
|
|
<Value>PUREBOOT_CLOCK_HZ=16000000</Value>
|
|
<Value>PUREBOOT_BAUD=115200</Value>
|
|
<Value>PUREBOOT_TIMEOUT=8</Value>
|
|
</ListValues>
|
|
</avrgcccpp.compiler.symbols.DefSymbols>
|
|
<avrgcccpp.compiler.directories.IncludePaths>
|
|
<ListValues>
|
|
<Value>$(MSBuildProjectDirectory)\..\..\libavr\include</Value>
|
|
</ListValues>
|
|
</avrgcccpp.compiler.directories.IncludePaths>
|
|
<avrgcccpp.compiler.optimization.level>Optimize for size (-Os)</avrgcccpp.compiler.optimization.level>
|
|
<avrgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection>True</avrgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection>
|
|
<avrgcccpp.compiler.optimization.PrepareDataForGarbageCollection>True</avrgcccpp.compiler.optimization.PrepareDataForGarbageCollection>
|
|
<avrgcccpp.compiler.warnings.AllWarnings>True</avrgcccpp.compiler.warnings.AllWarnings>
|
|
<avrgcccpp.compiler.miscellaneous.OtherFlags>-std=c++26 -Wextra -Werror -mrelax -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-ivopts -fira-algorithm=priority -fno-tree-ter -fno-split-wide-types</avrgcccpp.compiler.miscellaneous.OtherFlags>
|
|
<avrgcccpp.linker.optimization.GarbageCollectUnusedSections>True</avrgcccpp.linker.optimization.GarbageCollectUnusedSections>
|
|
<avrgcccpp.linker.miscellaneous.LinkerFlags>-mrelax -nostartfiles -Wl,--section-start=.text=0x7e00 -Wl,--defsym=pureboot_app=0 -Wl,--pmem-wrap-around=32k</avrgcccpp.linker.miscellaneous.LinkerFlags>
|
|
</AvrGccCpp>
|
|
</ToolchainSettings>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<ToolchainSettings>
|
|
<AvrGccCpp>
|
|
<avrgcc.common.Device>-mmcu=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>
|
|
<avrgcccpp.compiler.symbols.DefSymbols>
|
|
<ListValues>
|
|
<Value>DEBUG</Value>
|
|
<Value>PUREBOOT_CLOCK_HZ=16000000</Value>
|
|
<Value>PUREBOOT_BAUD=115200</Value>
|
|
<Value>PUREBOOT_TIMEOUT=8</Value>
|
|
</ListValues>
|
|
</avrgcccpp.compiler.symbols.DefSymbols>
|
|
<avrgcccpp.compiler.directories.IncludePaths>
|
|
<ListValues>
|
|
<Value>$(MSBuildProjectDirectory)\..\..\libavr\include</Value>
|
|
</ListValues>
|
|
</avrgcccpp.compiler.directories.IncludePaths>
|
|
<avrgcccpp.compiler.optimization.level>Optimize for size (-Os)</avrgcccpp.compiler.optimization.level>
|
|
<avrgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection>True</avrgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection>
|
|
<avrgcccpp.compiler.optimization.PrepareDataForGarbageCollection>True</avrgcccpp.compiler.optimization.PrepareDataForGarbageCollection>
|
|
<avrgcccpp.compiler.warnings.AllWarnings>True</avrgcccpp.compiler.warnings.AllWarnings>
|
|
<avrgcccpp.compiler.miscellaneous.OtherFlags>-std=c++26 -Wextra -Werror -mrelax -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-ivopts -fira-algorithm=priority -fno-tree-ter -fno-split-wide-types -gdwarf-4</avrgcccpp.compiler.miscellaneous.OtherFlags>
|
|
<avrgcccpp.linker.optimization.GarbageCollectUnusedSections>True</avrgcccpp.linker.optimization.GarbageCollectUnusedSections>
|
|
<avrgcccpp.linker.miscellaneous.LinkerFlags>-mrelax -nostartfiles -Wl,--section-start=.text=0x7e00 -Wl,--defsym=pureboot_app=0 -Wl,--pmem-wrap-around=32k</avrgcccpp.linker.miscellaneous.LinkerFlags>
|
|
</AvrGccCpp>
|
|
</ToolchainSettings>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\..\pureboot\pureboot.cpp">
|
|
<SubType>compile</SubType>
|
|
<Link>pureboot\pureboot.cpp</Link>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="pureboot" />
|
|
</ItemGroup>
|
|
<Import Project="$(AVRSTUDIO_EXE_PATH)\Vs\Compiler.targets" />
|
|
</Project>
|