Marco Zecchini
/
Example_RTOS
Rtos API example
mbed-os/tools/export/atmelstudio/cppproj.tmpl@0:9fca2b23d0ba, 2019-02-23 (annotated)
- Committer:
- marcozecchini
- Date:
- Sat Feb 23 12:13:36 2019 +0000
- Revision:
- 0:9fca2b23d0ba
final commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
marcozecchini | 0:9fca2b23d0ba | 1 | <?xml version="1.0" encoding="utf-8"?> |
marcozecchini | 0:9fca2b23d0ba | 2 | <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
marcozecchini | 0:9fca2b23d0ba | 3 | <PropertyGroup> |
marcozecchini | 0:9fca2b23d0ba | 4 | <SchemaVersion>2.0</SchemaVersion> |
marcozecchini | 0:9fca2b23d0ba | 5 | <ProjectVersion>6.2</ProjectVersion> |
marcozecchini | 0:9fca2b23d0ba | 6 | <ToolchainName>com.Atmel.ARMGCC.CPP</ToolchainName> |
marcozecchini | 0:9fca2b23d0ba | 7 | <ProjectGuid>{{project_uuid}}</ProjectGuid> |
marcozecchini | 0:9fca2b23d0ba | 8 | <avrdevice>AT{{target}}</avrdevice> |
marcozecchini | 0:9fca2b23d0ba | 9 | <avrdeviceseries>none</avrdeviceseries> |
marcozecchini | 0:9fca2b23d0ba | 10 | <OutputType>Executable</OutputType> |
marcozecchini | 0:9fca2b23d0ba | 11 | <Language>CPP</Language> |
marcozecchini | 0:9fca2b23d0ba | 12 | <OutputFileName>$(MSBuildProjectName)</OutputFileName> |
marcozecchini | 0:9fca2b23d0ba | 13 | <OutputFileExtension>.elf</OutputFileExtension> |
marcozecchini | 0:9fca2b23d0ba | 14 | <OutputDirectory>$(MSBuildProjectDirectory)\$(Configuration)</OutputDirectory> |
marcozecchini | 0:9fca2b23d0ba | 15 | <AssemblyName>AtmelStudio6_2</AssemblyName> |
marcozecchini | 0:9fca2b23d0ba | 16 | <Name>AtmelStudio6_2</Name> |
marcozecchini | 0:9fca2b23d0ba | 17 | <RootNamespace>AtmelStudio6_2</RootNamespace> |
marcozecchini | 0:9fca2b23d0ba | 18 | <ToolchainFlavour>Native</ToolchainFlavour> |
marcozecchini | 0:9fca2b23d0ba | 19 | <KeepTimersRunning>true</KeepTimersRunning> |
marcozecchini | 0:9fca2b23d0ba | 20 | <OverrideVtor>false</OverrideVtor> |
marcozecchini | 0:9fca2b23d0ba | 21 | <CacheFlash>true</CacheFlash> |
marcozecchini | 0:9fca2b23d0ba | 22 | <ProgFlashFromRam>true</ProgFlashFromRam> |
marcozecchini | 0:9fca2b23d0ba | 23 | <RamSnippetAddress /> |
marcozecchini | 0:9fca2b23d0ba | 24 | <UncachedRange /> |
marcozecchini | 0:9fca2b23d0ba | 25 | <preserveEEPROM>true</preserveEEPROM> |
marcozecchini | 0:9fca2b23d0ba | 26 | <OverrideVtorValue /> |
marcozecchini | 0:9fca2b23d0ba | 27 | <BootSegment>2</BootSegment> |
marcozecchini | 0:9fca2b23d0ba | 28 | <eraseonlaunchrule>1</eraseonlaunchrule> |
marcozecchini | 0:9fca2b23d0ba | 29 | <AsfFrameworkConfig> |
marcozecchini | 0:9fca2b23d0ba | 30 | <framework-data xmlns=""> |
marcozecchini | 0:9fca2b23d0ba | 31 | <options /> |
marcozecchini | 0:9fca2b23d0ba | 32 | <configurations /> |
marcozecchini | 0:9fca2b23d0ba | 33 | <files /> |
marcozecchini | 0:9fca2b23d0ba | 34 | <documentation help="" /> |
marcozecchini | 0:9fca2b23d0ba | 35 | <offline-documentation help="" /> |
marcozecchini | 0:9fca2b23d0ba | 36 | </framework-data> |
marcozecchini | 0:9fca2b23d0ba | 37 | </AsfFrameworkConfig> |
marcozecchini | 0:9fca2b23d0ba | 38 | </PropertyGroup> |
marcozecchini | 0:9fca2b23d0ba | 39 | <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
marcozecchini | 0:9fca2b23d0ba | 40 | <ToolchainSettings> |
marcozecchini | 0:9fca2b23d0ba | 41 | <ArmGccCpp> |
marcozecchini | 0:9fca2b23d0ba | 42 | <armgcc.common.outputfiles.hex>True</armgcc.common.outputfiles.hex> |
marcozecchini | 0:9fca2b23d0ba | 43 | <armgcc.common.outputfiles.lss>True</armgcc.common.outputfiles.lss> |
marcozecchini | 0:9fca2b23d0ba | 44 | <armgcc.common.outputfiles.eep>True</armgcc.common.outputfiles.eep> |
marcozecchini | 0:9fca2b23d0ba | 45 | <armgcc.common.outputfiles.bin>True</armgcc.common.outputfiles.bin> |
marcozecchini | 0:9fca2b23d0ba | 46 | <armgcc.common.outputfiles.srec>True</armgcc.common.outputfiles.srec> |
marcozecchini | 0:9fca2b23d0ba | 47 | <armgcc.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 48 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 49 | <Value>NDEBUG</Value> |
marcozecchini | 0:9fca2b23d0ba | 50 | {% for s in symbols %}<Value>{{s}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 51 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 52 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 53 | </armgcc.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 54 | <armgcc.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 55 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 56 | {% for i in include_paths %}<Value>../{{i}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 57 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 58 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 59 | </armgcc.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 60 | <armgcc.compiler.optimization.level>Optimize for size (-Os)</armgcc.compiler.optimization.level> |
marcozecchini | 0:9fca2b23d0ba | 61 | <armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection> |
marcozecchini | 0:9fca2b23d0ba | 62 | <armgcc.compiler.warnings.AllWarnings>True</armgcc.compiler.warnings.AllWarnings> |
marcozecchini | 0:9fca2b23d0ba | 63 | <armgcc.compiler.miscellaneous.OtherFlags>{{c_flags|join(" ")}} {{common_flags|join(" ")}} -MMD -MP</armgcc.compiler.miscellaneous.OtherFlags> |
marcozecchini | 0:9fca2b23d0ba | 64 | <armgcccpp.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 65 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 66 | <Value>NDEBUG</Value> |
marcozecchini | 0:9fca2b23d0ba | 67 | {% for s in symbols %}<Value>{{s}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 68 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 69 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 70 | </armgcccpp.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 71 | <armgcccpp.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 72 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 73 | {% for i in include_paths %}<Value>../{{i}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 74 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 75 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 76 | </armgcccpp.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 77 | <armgcccpp.compiler.optimization.level>Optimize for size (-Os)</armgcccpp.compiler.optimization.level> |
marcozecchini | 0:9fca2b23d0ba | 78 | <armgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection> |
marcozecchini | 0:9fca2b23d0ba | 79 | <armgcccpp.compiler.warnings.AllWarnings>True</armgcccpp.compiler.warnings.AllWarnings> |
marcozecchini | 0:9fca2b23d0ba | 80 | <armgcccpp.compiler.miscellaneous.OtherFlags>{{cxx_flags|join(" ")}} {{common_flags|join(" ")}} -MMD -MP</armgcccpp.compiler.miscellaneous.OtherFlags> |
marcozecchini | 0:9fca2b23d0ba | 81 | <armgcccpp.linker.libraries.Libraries> |
marcozecchini | 0:9fca2b23d0ba | 82 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 83 | <Value>libm</Value> |
marcozecchini | 0:9fca2b23d0ba | 84 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 85 | </armgcccpp.linker.libraries.Libraries> |
marcozecchini | 0:9fca2b23d0ba | 86 | <armgcccpp.linker.libraries.LibrarySearchPaths> |
marcozecchini | 0:9fca2b23d0ba | 87 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 88 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 89 | </armgcccpp.linker.libraries.LibrarySearchPaths> |
marcozecchini | 0:9fca2b23d0ba | 90 | <armgcccpp.linker.optimization.GarbageCollectUnusedSections>True</armgcccpp.linker.optimization.GarbageCollectUnusedSections> |
marcozecchini | 0:9fca2b23d0ba | 91 | <armgcccpp.linker.miscellaneous.LinkerFlags>{% for p in library_paths %}-L../{{p}} {% endfor %} {% for f in object_files %}../{{f}} {% endfor %} {% for lib in libraries %}-l{{lib}} {% endfor %} -T../{{linker_script}} {{ld_flags|join(" ")}} {{common_flags|join(" ")}}</armgcccpp.linker.miscellaneous.LinkerFlags> |
marcozecchini | 0:9fca2b23d0ba | 92 | <armgcccpp.preprocessingassembler.general.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 93 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 94 | {% for i in include_paths %}<Value>../{{i}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 95 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 96 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 97 | </armgcccpp.preprocessingassembler.general.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 98 | </ArmGccCpp> |
marcozecchini | 0:9fca2b23d0ba | 99 | </ToolchainSettings> |
marcozecchini | 0:9fca2b23d0ba | 100 | </PropertyGroup> |
marcozecchini | 0:9fca2b23d0ba | 101 | <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> |
marcozecchini | 0:9fca2b23d0ba | 102 | <ToolchainSettings> |
marcozecchini | 0:9fca2b23d0ba | 103 | <ArmGccCpp> |
marcozecchini | 0:9fca2b23d0ba | 104 | <armgcc.common.outputfiles.hex>True</armgcc.common.outputfiles.hex> |
marcozecchini | 0:9fca2b23d0ba | 105 | <armgcc.common.outputfiles.lss>True</armgcc.common.outputfiles.lss> |
marcozecchini | 0:9fca2b23d0ba | 106 | <armgcc.common.outputfiles.eep>True</armgcc.common.outputfiles.eep> |
marcozecchini | 0:9fca2b23d0ba | 107 | <armgcc.common.outputfiles.bin>True</armgcc.common.outputfiles.bin> |
marcozecchini | 0:9fca2b23d0ba | 108 | <armgcc.common.outputfiles.srec>True</armgcc.common.outputfiles.srec> |
marcozecchini | 0:9fca2b23d0ba | 109 | <armgcc.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 110 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 111 | <Value>DEBUG</Value> |
marcozecchini | 0:9fca2b23d0ba | 112 | {% for s in symbols %}<Value>{{s}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 113 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 114 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 115 | </armgcc.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 116 | <armgcc.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 117 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 118 | {% for i in include_paths %}<Value>../{{i}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 119 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 120 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 121 | </armgcc.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 122 | <armgcc.compiler.optimization.level>Optimize (-O1)</armgcc.compiler.optimization.level> |
marcozecchini | 0:9fca2b23d0ba | 123 | <armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcc.compiler.optimization.PrepareFunctionsForGarbageCollection> |
marcozecchini | 0:9fca2b23d0ba | 124 | <armgcc.compiler.optimization.DebugLevel>Maximum (-g3)</armgcc.compiler.optimization.DebugLevel> |
marcozecchini | 0:9fca2b23d0ba | 125 | <armgcc.compiler.warnings.AllWarnings>True</armgcc.compiler.warnings.AllWarnings> |
marcozecchini | 0:9fca2b23d0ba | 126 | <armgcc.compiler.miscellaneous.OtherFlags>{{c_flags|join(" ")}} {{common_flags|join(" ")}} -MMD -MP</armgcc.compiler.miscellaneous.OtherFlags> |
marcozecchini | 0:9fca2b23d0ba | 127 | <armgcccpp.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 128 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 129 | <Value>DEBUG</Value> |
marcozecchini | 0:9fca2b23d0ba | 130 | {% for s in symbols %}<Value>{{s}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 131 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 132 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 133 | </armgcccpp.compiler.symbols.DefSymbols> |
marcozecchini | 0:9fca2b23d0ba | 134 | <armgcccpp.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 135 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 136 | {% for i in include_paths %}<Value>../{{i}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 137 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 138 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 139 | </armgcccpp.compiler.directories.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 140 | <armgcccpp.compiler.optimization.level>Optimize (-O1)</armgcccpp.compiler.optimization.level> |
marcozecchini | 0:9fca2b23d0ba | 141 | <armgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection>True</armgcccpp.compiler.optimization.PrepareFunctionsForGarbageCollection> |
marcozecchini | 0:9fca2b23d0ba | 142 | <armgcccpp.compiler.optimization.DebugLevel>Maximum (-g3)</armgcccpp.compiler.optimization.DebugLevel> |
marcozecchini | 0:9fca2b23d0ba | 143 | <armgcccpp.compiler.warnings.AllWarnings>True</armgcccpp.compiler.warnings.AllWarnings> |
marcozecchini | 0:9fca2b23d0ba | 144 | <armgcccpp.compiler.miscellaneous.OtherFlags>{{cxx_flags|join(" ")}} {{common_flags|join(" ")}} -MMD -MP</armgcccpp.compiler.miscellaneous.OtherFlags> |
marcozecchini | 0:9fca2b23d0ba | 145 | <armgcccpp.linker.libraries.Libraries> |
marcozecchini | 0:9fca2b23d0ba | 146 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 147 | <Value>libm</Value> |
marcozecchini | 0:9fca2b23d0ba | 148 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 149 | </armgcccpp.linker.libraries.Libraries> |
marcozecchini | 0:9fca2b23d0ba | 150 | <armgcccpp.linker.libraries.LibrarySearchPaths> |
marcozecchini | 0:9fca2b23d0ba | 151 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 152 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 153 | </armgcccpp.linker.libraries.LibrarySearchPaths> |
marcozecchini | 0:9fca2b23d0ba | 154 | <armgcccpp.linker.optimization.GarbageCollectUnusedSections>True</armgcccpp.linker.optimization.GarbageCollectUnusedSections> |
marcozecchini | 0:9fca2b23d0ba | 155 | <armgcccpp.linker.miscellaneous.LinkerFlags>{% for p in library_paths %}-L../{{p}} {% endfor %} {% for f in object_files %}../{{f}} {% endfor %} {% for lib in libraries %}-l{{lib}} {% endfor %} -T../{{linker_script}} {{ld_flags|join(" ")}} {{common_flags|join(" ")}}</armgcccpp.linker.miscellaneous.LinkerFlags> |
marcozecchini | 0:9fca2b23d0ba | 156 | <armgcccpp.assembler.debugging.DebugLevel>Default (-g)</armgcccpp.assembler.debugging.DebugLevel> |
marcozecchini | 0:9fca2b23d0ba | 157 | <armgcccpp.preprocessingassembler.general.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 158 | <ListValues> |
marcozecchini | 0:9fca2b23d0ba | 159 | {% for i in include_paths %}<Value>../{{i}}</Value> |
marcozecchini | 0:9fca2b23d0ba | 160 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 161 | </ListValues> |
marcozecchini | 0:9fca2b23d0ba | 162 | </armgcccpp.preprocessingassembler.general.IncludePaths> |
marcozecchini | 0:9fca2b23d0ba | 163 | <armgcccpp.preprocessingassembler.debugging.DebugLevel>Default (-Wa,-g)</armgcccpp.preprocessingassembler.debugging.DebugLevel> |
marcozecchini | 0:9fca2b23d0ba | 164 | </ArmGccCpp> |
marcozecchini | 0:9fca2b23d0ba | 165 | </ToolchainSettings> |
marcozecchini | 0:9fca2b23d0ba | 166 | </PropertyGroup> |
marcozecchini | 0:9fca2b23d0ba | 167 | <ItemGroup> |
marcozecchini | 0:9fca2b23d0ba | 168 | {% for f in source_folders %}<Folder Include="{{f}}" /> |
marcozecchini | 0:9fca2b23d0ba | 169 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 170 | {% for s in source_files %}<Compile Include="{{s}}"> |
marcozecchini | 0:9fca2b23d0ba | 171 | <SubType>compile</SubType> |
marcozecchini | 0:9fca2b23d0ba | 172 | </Compile> |
marcozecchini | 0:9fca2b23d0ba | 173 | {% endfor %} |
marcozecchini | 0:9fca2b23d0ba | 174 | </ItemGroup> |
marcozecchini | 0:9fca2b23d0ba | 175 | <Import Project="$(AVRSTUDIO_EXE_PATH)\\Vs\\Compiler.targets" /> |
marcozecchini | 0:9fca2b23d0ba | 176 | </Project> |