mbed os with nrf51 internal bandgap enabled to read battery level
Dependents: BLE_file_test BLE_Blink ExternalEncoder
tools/export/coide_lpc1768.coproj.tmpl@0:f269e3021894, 2016-10-23 (annotated)
- Committer:
- elessair
- Date:
- Sun Oct 23 15:10:02 2016 +0000
- Revision:
- 0:f269e3021894
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
elessair | 0:f269e3021894 | 2 | <Project version="2G - 1.7.5" name="{{name}}"> |
elessair | 0:f269e3021894 | 3 | <Target name="{{name}}" isCurrent="1"> |
elessair | 0:f269e3021894 | 4 | <Device manufacturerId="7" manufacturerName="NXP" chipId="165" chipName="LPC1768" boardId="" boardName=""/> |
elessair | 0:f269e3021894 | 5 | <BuildOption> |
elessair | 0:f269e3021894 | 6 | <Compile> |
elessair | 0:f269e3021894 | 7 | <Option name="OptimizationLevel" value="4"/> |
elessair | 0:f269e3021894 | 8 | <Option name="UseFPU" value="0"/> |
elessair | 0:f269e3021894 | 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"/> |
elessair | 0:f269e3021894 | 10 | <Includepaths> |
elessair | 0:f269e3021894 | 11 | {% for path in include_paths %} <Includepath path="{{path}}"/> {% endfor %} |
elessair | 0:f269e3021894 | 12 | </Includepaths> |
elessair | 0:f269e3021894 | 13 | <DefinedSymbols> |
elessair | 0:f269e3021894 | 14 | {% for s in symbols %} <Define name="{{s}}"/> {% endfor %} |
elessair | 0:f269e3021894 | 15 | </DefinedSymbols> |
elessair | 0:f269e3021894 | 16 | </Compile> |
elessair | 0:f269e3021894 | 17 | <Link useDefault="0"> |
elessair | 0:f269e3021894 | 18 | <Option name="DiscardUnusedSection" value="0"/> |
elessair | 0:f269e3021894 | 19 | <Option name="UserEditLinkder" value=""/> |
elessair | 0:f269e3021894 | 20 | <Option name="UseMemoryLayout" value="0"/> |
elessair | 0:f269e3021894 | 21 | <Option name="LTO" value="0"/> |
elessair | 0:f269e3021894 | 22 | <Option name="IsNewStartupCode" value="1"/> |
elessair | 0:f269e3021894 | 23 | <Option name="Library" value="Not use C Library"/> |
elessair | 0:f269e3021894 | 24 | <Option name="nostartfiles" value="0"/> |
elessair | 0:f269e3021894 | 25 | <Option name="UserEditLinker" value="--specs=nano.specs; -u _printf_float; -u _scanf_float; {% for file in object_files %} |
elessair | 0:f269e3021894 | 26 | ${project.path}/{{file}}; {% endfor %}; {% for p in library_paths %}-L{{p}}; {% endfor %}"/> |
elessair | 0:f269e3021894 | 27 | <LinkedLibraries> |
elessair | 0:f269e3021894 | 28 | {% for lib in libraries %} |
elessair | 0:f269e3021894 | 29 | <Libset dir="" libs="{{lib}}"/> |
elessair | 0:f269e3021894 | 30 | {% endfor %} |
elessair | 0:f269e3021894 | 31 | <Libset dir="" libs="stdc++"/> |
elessair | 0:f269e3021894 | 32 | <Libset dir="" libs="supc++"/> |
elessair | 0:f269e3021894 | 33 | <Libset dir="" libs="m"/> |
elessair | 0:f269e3021894 | 34 | <Libset dir="" libs="gcc"/> |
elessair | 0:f269e3021894 | 35 | <Libset dir="" libs="c"/> |
elessair | 0:f269e3021894 | 36 | <Libset dir="" libs="nosys"/> |
elessair | 0:f269e3021894 | 37 | </LinkedLibraries> |
elessair | 0:f269e3021894 | 38 | <MemoryAreas debugInFlashNotRAM="1"> |
elessair | 0:f269e3021894 | 39 | <Memory name="IROM1" type="ReadOnly" size="0x00080000" startValue="0x00000000"/> |
elessair | 0:f269e3021894 | 40 | <Memory name="IRAM1" type="ReadWrite" size="0x00008000" startValue="0x10000000"/> |
elessair | 0:f269e3021894 | 41 | <Memory name="IROM2" type="ReadOnly" size="" startValue=""/> |
elessair | 0:f269e3021894 | 42 | <Memory name="IRAM2" type="ReadWrite" size="0x00008000" startValue="0x2007C000"/> |
elessair | 0:f269e3021894 | 43 | </MemoryAreas> |
elessair | 0:f269e3021894 | 44 | <LocateLinkFile path="{{scatter_file}}" type="0"/> |
elessair | 0:f269e3021894 | 45 | </Link> |
elessair | 0:f269e3021894 | 46 | <Output> |
elessair | 0:f269e3021894 | 47 | <Option name="OutputFileType" value="0"/> |
elessair | 0:f269e3021894 | 48 | <Option name="Path" value="./"/> |
elessair | 0:f269e3021894 | 49 | <Option name="Name" value="{{name}}"/> |
elessair | 0:f269e3021894 | 50 | <Option name="HEX" value="1"/> |
elessair | 0:f269e3021894 | 51 | <Option name="BIN" value="1"/> |
elessair | 0:f269e3021894 | 52 | </Output> |
elessair | 0:f269e3021894 | 53 | <User> |
elessair | 0:f269e3021894 | 54 | <UserRun name="Run#1" type="Before" checked="0" value=""/> |
elessair | 0:f269e3021894 | 55 | <UserRun name="Run#1" type="After" checked="0" value=""/> |
elessair | 0:f269e3021894 | 56 | </User> |
elessair | 0:f269e3021894 | 57 | </BuildOption> |
elessair | 0:f269e3021894 | 58 | <DebugOption> |
elessair | 0:f269e3021894 | 59 | <Option name="org.coocox.codebugger.gdbjtag.core.adapter" value="CMSIS-DAP"/> |
elessair | 0:f269e3021894 | 60 | <Option name="org.coocox.codebugger.gdbjtag.core.debugMode" value="SWD"/> |
elessair | 0:f269e3021894 | 61 | <Option name="org.coocox.codebugger.gdbjtag.core.clockDiv" value="1M"/> |
elessair | 0:f269e3021894 | 62 | <Option name="org.coocox.codebugger.gdbjtag.corerunToMain" value="1"/> |
elessair | 0:f269e3021894 | 63 | <Option name="org.coocox.codebugger.gdbjtag.core.jlinkgdbserver" value=""/> |
elessair | 0:f269e3021894 | 64 | <Option name="org.coocox.codebugger.gdbjtag.core.userDefineGDBScript" value=""/> |
elessair | 0:f269e3021894 | 65 | <Option name="org.coocox.codebugger.gdbjtag.core.targetEndianess" value="0"/> |
elessair | 0:f269e3021894 | 66 | <Option name="org.coocox.codebugger.gdbjtag.core.jlinkResetMode" value="Type 0: Normal"/> |
elessair | 0:f269e3021894 | 67 | <Option name="org.coocox.codebugger.gdbjtag.core.resetMode" value="SYSRESETREQ"/> |
elessair | 0:f269e3021894 | 68 | <Option name="org.coocox.codebugger.gdbjtag.core.ifSemihost" value="0"/> |
elessair | 0:f269e3021894 | 69 | <Option name="org.coocox.codebugger.gdbjtag.core.ifCacheRom" value="1"/> |
elessair | 0:f269e3021894 | 70 | <Option name="org.coocox.codebugger.gdbjtag.core.ipAddress" value="127.0.0.1"/> |
elessair | 0:f269e3021894 | 71 | <Option name="org.coocox.codebugger.gdbjtag.core.portNumber" value="2009"/> |
elessair | 0:f269e3021894 | 72 | <Option name="org.coocox.codebugger.gdbjtag.core.autoDownload" value="1"/> |
elessair | 0:f269e3021894 | 73 | <Option name="org.coocox.codebugger.gdbjtag.core.verify" value="1"/> |
elessair | 0:f269e3021894 | 74 | <Option name="org.coocox.codebugger.gdbjtag.core.downloadFuction" value="Erase Effected"/> |
elessair | 0:f269e3021894 | 75 | <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="LPC17xx_512.elf"/> |
elessair | 0:f269e3021894 | 76 | </DebugOption> |
elessair | 0:f269e3021894 | 77 | <ExcludeFile/> |
elessair | 0:f269e3021894 | 78 | </Target> |
elessair | 0:f269e3021894 | 79 | <Components path="./"/> |
elessair | 0:f269e3021894 | 80 | <Files> |
elessair | 0:f269e3021894 | 81 | {% for file in source_files %} |
elessair | 0:f269e3021894 | 82 | <File name="sources/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/> |
elessair | 0:f269e3021894 | 83 | {% endfor %} |
elessair | 0:f269e3021894 | 84 | {% for file in header_files %} |
elessair | 0:f269e3021894 | 85 | <File name="headers/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/> |
elessair | 0:f269e3021894 | 86 | {% endfor %} |
elessair | 0:f269e3021894 | 87 | </Files> |
elessair | 0:f269e3021894 | 88 | </Project> |