Clone of official tools
export/coide_nucleo_f103rb.coproj.tmpl@0:66f3b5499f7f, 2016-05-19 (annotated)
- Committer:
- screamer
- Date:
- Thu May 19 19:44:41 2016 +0100
- Revision:
- 0:66f3b5499f7f
Initial revision
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
screamer | 0:66f3b5499f7f | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
screamer | 0:66f3b5499f7f | 2 | <Project version="2G - 1.7.5" name="{{name}}"> |
screamer | 0:66f3b5499f7f | 3 | <Target name="Release" isCurrent="1"> |
screamer | 0:66f3b5499f7f | 4 | <Device manufacturerId="9" manufacturerName="ST" chipId="310" chipName="STM32F103RB" boardId="" boardName=""/> |
screamer | 0:66f3b5499f7f | 5 | <BuildOption> |
screamer | 0:66f3b5499f7f | 6 | <Compile> |
screamer | 0:66f3b5499f7f | 7 | <Option name="OptimizationLevel" value="4"/> |
screamer | 0:66f3b5499f7f | 8 | <Option name="UseFPU" value="0"/> |
screamer | 0:66f3b5499f7f | 9 | <Option name="UserEditCompiler" value="-fno-common; -fmessage-length=0; -Wall; -fno-strict-aliasing; -fno-rtti; -fno-exceptions; -ffunction-sections; -fdata-sections; -std=gnu++98"/> |
screamer | 0:66f3b5499f7f | 10 | <Option name="FPU" value="1"/> |
screamer | 0:66f3b5499f7f | 11 | <Option name="SupportCPlusplus" value="1"/> |
screamer | 0:66f3b5499f7f | 12 | <Includepaths> |
screamer | 0:66f3b5499f7f | 13 | {% for path in include_paths %} <Includepath path="{{path}}"/> {% endfor %} |
screamer | 0:66f3b5499f7f | 14 | </Includepaths> |
screamer | 0:66f3b5499f7f | 15 | <DefinedSymbols> |
screamer | 0:66f3b5499f7f | 16 | {% for s in symbols %} <Define name="{{s}}"/> {% endfor %} |
screamer | 0:66f3b5499f7f | 17 | </DefinedSymbols> |
screamer | 0:66f3b5499f7f | 18 | </Compile> |
screamer | 0:66f3b5499f7f | 19 | <Link useDefault="0"> |
screamer | 0:66f3b5499f7f | 20 | <Option name="DiscardUnusedSection" value="1"/> |
screamer | 0:66f3b5499f7f | 21 | <Option name="UserEditLinkder" value=""/> |
screamer | 0:66f3b5499f7f | 22 | <Option name="UseMemoryLayout" value="0"/> |
screamer | 0:66f3b5499f7f | 23 | <Option name="LTO" value="0"/> |
screamer | 0:66f3b5499f7f | 24 | <Option name="IsNewStartupCode" value="1"/> |
screamer | 0:66f3b5499f7f | 25 | <Option name="Library" value="Not use C Library"/> |
screamer | 0:66f3b5499f7f | 26 | <Option name="nostartfiles" value="0"/> |
screamer | 0:66f3b5499f7f | 27 | <Option name="UserEditLinker" value="-Wl,--wrap,main; --specs=nano.specs; -u _printf_float; -u _scanf_float; {% for file in object_files %} |
screamer | 0:66f3b5499f7f | 28 | ${project.path}/{{file}}; {% endfor %} {% for p in library_paths %}-L${project.path}/{{p}}; {% endfor %}"/> |
screamer | 0:66f3b5499f7f | 29 | <LinkedLibraries> |
screamer | 0:66f3b5499f7f | 30 | {% for lib in libraries %} |
screamer | 0:66f3b5499f7f | 31 | <Libset dir="" libs="{{lib}}"/> |
screamer | 0:66f3b5499f7f | 32 | {% endfor %} |
screamer | 0:66f3b5499f7f | 33 | <Libset dir="" libs="stdc++"/> |
screamer | 0:66f3b5499f7f | 34 | <Libset dir="" libs="supc++"/> |
screamer | 0:66f3b5499f7f | 35 | <Libset dir="" libs="m"/> |
screamer | 0:66f3b5499f7f | 36 | <Libset dir="" libs="gcc"/> |
screamer | 0:66f3b5499f7f | 37 | <Libset dir="" libs="c"/> |
screamer | 0:66f3b5499f7f | 38 | <Libset dir="" libs="nosys"/> |
screamer | 0:66f3b5499f7f | 39 | </LinkedLibraries> |
screamer | 0:66f3b5499f7f | 40 | <MemoryAreas debugInFlashNotRAM="1"> |
screamer | 0:66f3b5499f7f | 41 | <Memory name="IROM1" type="ReadOnly" size="0x00020000" startValue="0x08000000"/> |
screamer | 0:66f3b5499f7f | 42 | <Memory name="IRAM1" type="ReadWrite" size="0x00004F14" startValue="0x200000EC"/> |
screamer | 0:66f3b5499f7f | 43 | <Memory name="IROM2" type="ReadOnly" size="" startValue=""/> |
screamer | 0:66f3b5499f7f | 44 | <Memory name="IRAM2" type="ReadWrite" size="" startValue=""/> |
screamer | 0:66f3b5499f7f | 45 | </MemoryAreas> |
screamer | 0:66f3b5499f7f | 46 | <LocateLinkFile path="{{scatter_file}}" type="0"/> |
screamer | 0:66f3b5499f7f | 47 | </Link> |
screamer | 0:66f3b5499f7f | 48 | <Output> |
screamer | 0:66f3b5499f7f | 49 | <Option name="OutputFileType" value="0"/> |
screamer | 0:66f3b5499f7f | 50 | <Option name="Path" value="./"/> |
screamer | 0:66f3b5499f7f | 51 | <Option name="Name" value="{{name}}"/> |
screamer | 0:66f3b5499f7f | 52 | <Option name="HEX" value="1"/> |
screamer | 0:66f3b5499f7f | 53 | <Option name="BIN" value="1"/> |
screamer | 0:66f3b5499f7f | 54 | </Output> |
screamer | 0:66f3b5499f7f | 55 | <User> |
screamer | 0:66f3b5499f7f | 56 | <UserRun name="Run#1" type="Before" checked="0" value=""/> |
screamer | 0:66f3b5499f7f | 57 | <UserRun name="Run#1" type="After" checked="0" value=""/> |
screamer | 0:66f3b5499f7f | 58 | </User> |
screamer | 0:66f3b5499f7f | 59 | </BuildOption> |
screamer | 0:66f3b5499f7f | 60 | <DebugOption> |
screamer | 0:66f3b5499f7f | 61 | <Option name="org.coocox.codebugger.gdbjtag.core.adapter" value="ST-Link"/> |
screamer | 0:66f3b5499f7f | 62 | <Option name="org.coocox.codebugger.gdbjtag.core.debugMode" value="SWD"/> |
screamer | 0:66f3b5499f7f | 63 | <Option name="org.coocox.codebugger.gdbjtag.core.clockDiv" value="1M"/> |
screamer | 0:66f3b5499f7f | 64 | <Option name="org.coocox.codebugger.gdbjtag.corerunToMain" value="1"/> |
screamer | 0:66f3b5499f7f | 65 | <Option name="org.coocox.codebugger.gdbjtag.core.jlinkgdbserver" value=""/> |
screamer | 0:66f3b5499f7f | 66 | <Option name="org.coocox.codebugger.gdbjtag.core.userDefineGDBScript" value=""/> |
screamer | 0:66f3b5499f7f | 67 | <Option name="org.coocox.codebugger.gdbjtag.core.targetEndianess" value="0"/> |
screamer | 0:66f3b5499f7f | 68 | <Option name="org.coocox.codebugger.gdbjtag.core.jlinkResetMode" value="Type 0: Normal"/> |
screamer | 0:66f3b5499f7f | 69 | <Option name="org.coocox.codebugger.gdbjtag.core.resetMode" value="SYSRESETREQ"/> |
screamer | 0:66f3b5499f7f | 70 | <Option name="org.coocox.codebugger.gdbjtag.core.ifSemihost" value="0"/> |
screamer | 0:66f3b5499f7f | 71 | <Option name="org.coocox.codebugger.gdbjtag.core.ifCacheRom" value="1"/> |
screamer | 0:66f3b5499f7f | 72 | <Option name="org.coocox.codebugger.gdbjtag.core.ipAddress" value="127.0.0.1"/> |
screamer | 0:66f3b5499f7f | 73 | <Option name="org.coocox.codebugger.gdbjtag.core.portNumber" value="2009"/> |
screamer | 0:66f3b5499f7f | 74 | <Option name="org.coocox.codebugger.gdbjtag.core.autoDownload" value="1"/> |
screamer | 0:66f3b5499f7f | 75 | <Option name="org.coocox.codebugger.gdbjtag.core.verify" value="1"/> |
screamer | 0:66f3b5499f7f | 76 | <Option name="org.coocox.codebugger.gdbjtag.core.downloadFuction" value="Erase Effected"/> |
screamer | 0:66f3b5499f7f | 77 | <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="./STM32F10x_MD_128.elf"/> |
screamer | 0:66f3b5499f7f | 78 | </DebugOption> |
screamer | 0:66f3b5499f7f | 79 | <ExcludeFile/> |
screamer | 0:66f3b5499f7f | 80 | </Target> |
screamer | 0:66f3b5499f7f | 81 | <Target name="Debug" isCurrent="0"> |
screamer | 0:66f3b5499f7f | 82 | <Device manufacturerId="9" manufacturerName="ST" chipId="310" chipName="STM32F103RB" boardId="" boardName=""/> |
screamer | 0:66f3b5499f7f | 83 | <BuildOption> |
screamer | 0:66f3b5499f7f | 84 | <Compile> |
screamer | 0:66f3b5499f7f | 85 | <Option name="OptimizationLevel" value="0"/> |
screamer | 0:66f3b5499f7f | 86 | <Option name="UseFPU" value="0"/> |
screamer | 0:66f3b5499f7f | 87 | <Option name="UserEditCompiler" value="-fno-common; -fmessage-length=0; -Wall; -fno-strict-aliasing; -fno-rtti; -fno-exceptions; -ffunction-sections; -fdata-sections; -std=gnu++98"/> |
screamer | 0:66f3b5499f7f | 88 | <Option name="FPU" value="1"/> |
screamer | 0:66f3b5499f7f | 89 | <Option name="SupportCPlusplus" value="1"/> |
screamer | 0:66f3b5499f7f | 90 | <Includepaths> |
screamer | 0:66f3b5499f7f | 91 | {% for path in include_paths %} <Includepath path="{{path}}"/> {% endfor %} |
screamer | 0:66f3b5499f7f | 92 | </Includepaths> |
screamer | 0:66f3b5499f7f | 93 | <DefinedSymbols> |
screamer | 0:66f3b5499f7f | 94 | {% for s in symbols %} <Define name="{{s}}"/> {% endfor %} |
screamer | 0:66f3b5499f7f | 95 | </DefinedSymbols> |
screamer | 0:66f3b5499f7f | 96 | </Compile> |
screamer | 0:66f3b5499f7f | 97 | <Link useDefault="0"> |
screamer | 0:66f3b5499f7f | 98 | <Option name="DiscardUnusedSection" value="1"/> |
screamer | 0:66f3b5499f7f | 99 | <Option name="UserEditLinkder" value=""/> |
screamer | 0:66f3b5499f7f | 100 | <Option name="UseMemoryLayout" value="0"/> |
screamer | 0:66f3b5499f7f | 101 | <Option name="LTO" value="0"/> |
screamer | 0:66f3b5499f7f | 102 | <Option name="IsNewStartupCode" value="1"/> |
screamer | 0:66f3b5499f7f | 103 | <Option name="Library" value="Not use C Library"/> |
screamer | 0:66f3b5499f7f | 104 | <Option name="nostartfiles" value="0"/> |
screamer | 0:66f3b5499f7f | 105 | <Option name="UserEditLinker" value="-Wl,--wrap,main; --specs=nano.specs; -u _printf_float; -u _scanf_float; {% for file in object_files %} |
screamer | 0:66f3b5499f7f | 106 | ${project.path}/{{file}}; {% endfor %} {% for p in library_paths %}-L${project.path}/{{p}}; {% endfor %}"/> |
screamer | 0:66f3b5499f7f | 107 | <LinkedLibraries> |
screamer | 0:66f3b5499f7f | 108 | {% for lib in libraries %} |
screamer | 0:66f3b5499f7f | 109 | <Libset dir="" libs="{{lib}}"/> |
screamer | 0:66f3b5499f7f | 110 | {% endfor %} |
screamer | 0:66f3b5499f7f | 111 | <Libset dir="" libs="stdc++"/> |
screamer | 0:66f3b5499f7f | 112 | <Libset dir="" libs="supc++"/> |
screamer | 0:66f3b5499f7f | 113 | <Libset dir="" libs="m"/> |
screamer | 0:66f3b5499f7f | 114 | <Libset dir="" libs="gcc"/> |
screamer | 0:66f3b5499f7f | 115 | <Libset dir="" libs="c"/> |
screamer | 0:66f3b5499f7f | 116 | <Libset dir="" libs="nosys"/> |
screamer | 0:66f3b5499f7f | 117 | </LinkedLibraries> |
screamer | 0:66f3b5499f7f | 118 | <MemoryAreas debugInFlashNotRAM="1"> |
screamer | 0:66f3b5499f7f | 119 | <Memory name="IROM1" type="ReadOnly" size="0x00020000" startValue="0x08000000"/> |
screamer | 0:66f3b5499f7f | 120 | <Memory name="IRAM1" type="ReadWrite" size="0x00004F14" startValue="0x200000EC"/> |
screamer | 0:66f3b5499f7f | 121 | <Memory name="IROM2" type="ReadOnly" size="" startValue=""/> |
screamer | 0:66f3b5499f7f | 122 | <Memory name="IRAM2" type="ReadWrite" size="" startValue=""/> |
screamer | 0:66f3b5499f7f | 123 | </MemoryAreas> |
screamer | 0:66f3b5499f7f | 124 | <LocateLinkFile path="{{scatter_file}}" type="0"/> |
screamer | 0:66f3b5499f7f | 125 | </Link> |
screamer | 0:66f3b5499f7f | 126 | <Output> |
screamer | 0:66f3b5499f7f | 127 | <Option name="OutputFileType" value="0"/> |
screamer | 0:66f3b5499f7f | 128 | <Option name="Path" value="./"/> |
screamer | 0:66f3b5499f7f | 129 | <Option name="Name" value="{{name}}"/> |
screamer | 0:66f3b5499f7f | 130 | <Option name="HEX" value="1"/> |
screamer | 0:66f3b5499f7f | 131 | <Option name="BIN" value="1"/> |
screamer | 0:66f3b5499f7f | 132 | </Output> |
screamer | 0:66f3b5499f7f | 133 | <User> |
screamer | 0:66f3b5499f7f | 134 | <UserRun name="Run#1" type="Before" checked="0" value=""/> |
screamer | 0:66f3b5499f7f | 135 | <UserRun name="Run#1" type="After" checked="0" value=""/> |
screamer | 0:66f3b5499f7f | 136 | </User> |
screamer | 0:66f3b5499f7f | 137 | </BuildOption> |
screamer | 0:66f3b5499f7f | 138 | <DebugOption> |
screamer | 0:66f3b5499f7f | 139 | <Option name="org.coocox.codebugger.gdbjtag.core.adapter" value="ST-Link"/> |
screamer | 0:66f3b5499f7f | 140 | <Option name="org.coocox.codebugger.gdbjtag.core.debugMode" value="SWD"/> |
screamer | 0:66f3b5499f7f | 141 | <Option name="org.coocox.codebugger.gdbjtag.core.clockDiv" value="1M"/> |
screamer | 0:66f3b5499f7f | 142 | <Option name="org.coocox.codebugger.gdbjtag.corerunToMain" value="1"/> |
screamer | 0:66f3b5499f7f | 143 | <Option name="org.coocox.codebugger.gdbjtag.core.jlinkgdbserver" value=""/> |
screamer | 0:66f3b5499f7f | 144 | <Option name="org.coocox.codebugger.gdbjtag.core.userDefineGDBScript" value=""/> |
screamer | 0:66f3b5499f7f | 145 | <Option name="org.coocox.codebugger.gdbjtag.core.targetEndianess" value="0"/> |
screamer | 0:66f3b5499f7f | 146 | <Option name="org.coocox.codebugger.gdbjtag.core.jlinkResetMode" value="Type 0: Normal"/> |
screamer | 0:66f3b5499f7f | 147 | <Option name="org.coocox.codebugger.gdbjtag.core.resetMode" value="SYSRESETREQ"/> |
screamer | 0:66f3b5499f7f | 148 | <Option name="org.coocox.codebugger.gdbjtag.core.ifSemihost" value="0"/> |
screamer | 0:66f3b5499f7f | 149 | <Option name="org.coocox.codebugger.gdbjtag.core.ifCacheRom" value="1"/> |
screamer | 0:66f3b5499f7f | 150 | <Option name="org.coocox.codebugger.gdbjtag.core.ipAddress" value="127.0.0.1"/> |
screamer | 0:66f3b5499f7f | 151 | <Option name="org.coocox.codebugger.gdbjtag.core.portNumber" value="2009"/> |
screamer | 0:66f3b5499f7f | 152 | <Option name="org.coocox.codebugger.gdbjtag.core.autoDownload" value="1"/> |
screamer | 0:66f3b5499f7f | 153 | <Option name="org.coocox.codebugger.gdbjtag.core.verify" value="1"/> |
screamer | 0:66f3b5499f7f | 154 | <Option name="org.coocox.codebugger.gdbjtag.core.downloadFuction" value="Erase Effected"/> |
screamer | 0:66f3b5499f7f | 155 | <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="./STM32F10x_MD_128.elf"/> |
screamer | 0:66f3b5499f7f | 156 | </DebugOption> |
screamer | 0:66f3b5499f7f | 157 | <ExcludeFile/> |
screamer | 0:66f3b5499f7f | 158 | </Target> |
screamer | 0:66f3b5499f7f | 159 | <Components path="./"/> |
screamer | 0:66f3b5499f7f | 160 | <Files> |
screamer | 0:66f3b5499f7f | 161 | {% for file in source_files %} |
screamer | 0:66f3b5499f7f | 162 | <File name="sources/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/> |
screamer | 0:66f3b5499f7f | 163 | {% endfor %} |
screamer | 0:66f3b5499f7f | 164 | {% for file in header_files %} |
screamer | 0:66f3b5499f7f | 165 | <File name="headers/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/> |
screamer | 0:66f3b5499f7f | 166 | {% endfor %} |
screamer | 0:66f3b5499f7f | 167 | </Files> |
screamer | 0:66f3b5499f7f | 168 | </Project> |