mbed os with nrf51 internal bandgap enabled to read battery level

Dependents:   BLE_file_test BLE_Blink ExternalEncoder

Committer:
elessair
Date:
Sun Oct 23 15:10:02 2016 +0000
Revision:
0:f269e3021894
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew 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="Debug" isCurrent="1">
elessair 0:f269e3021894 4 <Device manufacturerId="9" manufacturerName="ST" chipId="499" chipName="STM32F446RE" boardId="" boardName=""/>
elessair 0:f269e3021894 5 <BuildOption>
elessair 0:f269e3021894 6 <Compile>
elessair 0:f269e3021894 7 <Option name="OptimizationLevel" value="0"/>
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 <Option name="FPU" value="1"/>
elessair 0:f269e3021894 11 <Option name="SupportCPlusplus" value="1"/>
elessair 0:f269e3021894 12 <Includepaths>
elessair 0:f269e3021894 13 {% for path in include_paths %} <Includepath path="{{path}}"/> {% endfor %}
elessair 0:f269e3021894 14 </Includepaths>
elessair 0:f269e3021894 15 <DefinedSymbols>
elessair 0:f269e3021894 16 {% for s in symbols %} <Define name="{{s}}"/> {% endfor %}
elessair 0:f269e3021894 17 </DefinedSymbols>
elessair 0:f269e3021894 18 </Compile>
elessair 0:f269e3021894 19 <Link useDefault="0">
elessair 0:f269e3021894 20 <Option name="DiscardUnusedSection" value="1"/>
elessair 0:f269e3021894 21 <Option name="UserEditLinkder" value=""/>
elessair 0:f269e3021894 22 <Option name="UseMemoryLayout" value="0"/>
elessair 0:f269e3021894 23 <Option name="LTO" value="0"/>
elessair 0:f269e3021894 24 <Option name="IsNewStartupCode" value="1"/>
elessair 0:f269e3021894 25 <Option name="Library" value="Not use C Library"/>
elessair 0:f269e3021894 26 <Option name="nostartfiles" value="0"/>
elessair 0:f269e3021894 27 <Option name="UserEditLinker" value="-Wl,--wrap,main; --specs=nano.specs; -u_printf_float; -u_scanf_float; {% for file in object_files %}
elessair 0:f269e3021894 28 ${project.path}/{{file}}; {% endfor %} {% for p in library_paths %}-L${project.path}/{{p}}; {% endfor %}"/>
elessair 0:f269e3021894 29 <LinkedLibraries>
elessair 0:f269e3021894 30 {% for lib in libraries %}
elessair 0:f269e3021894 31 <Libset dir="" libs="{{lib}}"/>
elessair 0:f269e3021894 32 {% endfor %}
elessair 0:f269e3021894 33 <Libset dir="" libs="stdc++"/>
elessair 0:f269e3021894 34 <Libset dir="" libs="supc++"/>
elessair 0:f269e3021894 35 <Libset dir="" libs="m"/>
elessair 0:f269e3021894 36 <Libset dir="" libs="gcc"/>
elessair 0:f269e3021894 37 <Libset dir="" libs="c"/>
elessair 0:f269e3021894 38 <Libset dir="" libs="nosys"/>
elessair 0:f269e3021894 39 </LinkedLibraries>
elessair 0:f269e3021894 40 <MemoryAreas debugInFlashNotRAM="1">
elessair 0:f269e3021894 41 <Memory name="IROM1" type="ReadOnly" size="0x00080000" startValue="0x08000000"/>
elessair 0:f269e3021894 42 <Memory name="IRAM1" type="ReadWrite" size="0x0001FE68" startValue="0x20000198"/>
elessair 0:f269e3021894 43 <Memory name="IROM2" type="ReadOnly" size="" startValue=""/>
elessair 0:f269e3021894 44 <Memory name="IRAM2" type="ReadWrite" size="" startValue=""/>
elessair 0:f269e3021894 45 </MemoryAreas>
elessair 0:f269e3021894 46 <LocateLinkFile path="{{scatter_file}}" type="0"/>
elessair 0:f269e3021894 47 </Link>
elessair 0:f269e3021894 48 <Output>
elessair 0:f269e3021894 49 <Option name="OutputFileType" value="0"/>
elessair 0:f269e3021894 50 <Option name="Path" value="./"/>
elessair 0:f269e3021894 51 <Option name="Name" value="{{name}}"/>
elessair 0:f269e3021894 52 <Option name="HEX" value="1"/>
elessair 0:f269e3021894 53 <Option name="BIN" value="1"/>
elessair 0:f269e3021894 54 </Output>
elessair 0:f269e3021894 55 <User>
elessair 0:f269e3021894 56 <UserRun name="Run#1" type="Before" checked="0" value=""/>
elessair 0:f269e3021894 57 <UserRun name="Run#1" type="After" checked="0" value=""/>
elessair 0:f269e3021894 58 </User>
elessair 0:f269e3021894 59 </BuildOption>
elessair 0:f269e3021894 60 <DebugOption>
elessair 0:f269e3021894 61 <Option name="org.coocox.codebugger.gdbjtag.core.adapter" value="ST-Link"/>
elessair 0:f269e3021894 62 <Option name="org.coocox.codebugger.gdbjtag.core.debugMode" value="SWD"/>
elessair 0:f269e3021894 63 <Option name="org.coocox.codebugger.gdbjtag.core.clockDiv" value="1M"/>
elessair 0:f269e3021894 64 <Option name="org.coocox.codebugger.gdbjtag.corerunToMain" value="1"/>
elessair 0:f269e3021894 65 <Option name="org.coocox.codebugger.gdbjtag.core.jlinkgdbserver" value=""/>
elessair 0:f269e3021894 66 <Option name="org.coocox.codebugger.gdbjtag.core.userDefineGDBScript" value=""/>
elessair 0:f269e3021894 67 <Option name="org.coocox.codebugger.gdbjtag.core.targetEndianess" value="0"/>
elessair 0:f269e3021894 68 <Option name="org.coocox.codebugger.gdbjtag.core.jlinkResetMode" value="Type 0: Normal"/>
elessair 0:f269e3021894 69 <Option name="org.coocox.codebugger.gdbjtag.core.resetMode" value="SYSRESETREQ"/>
elessair 0:f269e3021894 70 <Option name="org.coocox.codebugger.gdbjtag.core.ifSemihost" value="0"/>
elessair 0:f269e3021894 71 <Option name="org.coocox.codebugger.gdbjtag.core.ifCacheRom" value="1"/>
elessair 0:f269e3021894 72 <Option name="org.coocox.codebugger.gdbjtag.core.ipAddress" value="127.0.0.1"/>
elessair 0:f269e3021894 73 <Option name="org.coocox.codebugger.gdbjtag.core.portNumber" value="2009"/>
elessair 0:f269e3021894 74 <Option name="org.coocox.codebugger.gdbjtag.core.autoDownload" value="1"/>
elessair 0:f269e3021894 75 <Option name="org.coocox.codebugger.gdbjtag.core.verify" value="1"/>
elessair 0:f269e3021894 76 <Option name="org.coocox.codebugger.gdbjtag.core.downloadFuction" value="Erase Effected"/>
elessair 0:f269e3021894 77 <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="stm32f4xx_512.elf"/>
elessair 0:f269e3021894 78 </DebugOption>
elessair 0:f269e3021894 79 <ExcludeFile/>
elessair 0:f269e3021894 80 </Target>
elessair 0:f269e3021894 81 <Target name="Release" isCurrent="0">
elessair 0:f269e3021894 82 <Device manufacturerId="9" manufacturerName="ST" chipId="499" chipName="STM32F446RE" boardId="" boardName=""/>
elessair 0:f269e3021894 83 <BuildOption>
elessair 0:f269e3021894 84 <Compile>
elessair 0:f269e3021894 85 <Option name="OptimizationLevel" value="4"/>
elessair 0:f269e3021894 86 <Option name="UseFPU" value="0"/>
elessair 0:f269e3021894 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"/>
elessair 0:f269e3021894 88 <Option name="FPU" value="1"/>
elessair 0:f269e3021894 89 <Option name="SupportCPlusplus" value="1"/>
elessair 0:f269e3021894 90 <Includepaths>
elessair 0:f269e3021894 91 {% for path in include_paths %} <Includepath path="{{path}}"/> {% endfor %}
elessair 0:f269e3021894 92 </Includepaths>
elessair 0:f269e3021894 93 <DefinedSymbols>
elessair 0:f269e3021894 94 {% for s in symbols %} <Define name="{{s}}"/> {% endfor %}
elessair 0:f269e3021894 95 </DefinedSymbols>
elessair 0:f269e3021894 96 </Compile>
elessair 0:f269e3021894 97 <Link useDefault="0">
elessair 0:f269e3021894 98 <Option name="DiscardUnusedSection" value="1"/>
elessair 0:f269e3021894 99 <Option name="UserEditLinkder" value=""/>
elessair 0:f269e3021894 100 <Option name="UseMemoryLayout" value="0"/>
elessair 0:f269e3021894 101 <Option name="LTO" value="0"/>
elessair 0:f269e3021894 102 <Option name="IsNewStartupCode" value="1"/>
elessair 0:f269e3021894 103 <Option name="Library" value="Not use C Library"/>
elessair 0:f269e3021894 104 <Option name="nostartfiles" value="0"/>
elessair 0:f269e3021894 105 <Option name="UserEditLinker" value="-Wl,--wrap,main; --specs=nano.specs; -u_printf_float; -u_scanf_float; {% for file in object_files %}
elessair 0:f269e3021894 106 ${project.path}/{{file}}; {% endfor %} {% for p in library_paths %}-L${project.path}/{{p}}; {% endfor %}"/>
elessair 0:f269e3021894 107 <LinkedLibraries>
elessair 0:f269e3021894 108 {% for lib in libraries %}
elessair 0:f269e3021894 109 <Libset dir="" libs="{{lib}}"/>
elessair 0:f269e3021894 110 {% endfor %}
elessair 0:f269e3021894 111 <Libset dir="" libs="stdc++"/>
elessair 0:f269e3021894 112 <Libset dir="" libs="supc++"/>
elessair 0:f269e3021894 113 <Libset dir="" libs="m"/>
elessair 0:f269e3021894 114 <Libset dir="" libs="gcc"/>
elessair 0:f269e3021894 115 <Libset dir="" libs="c"/>
elessair 0:f269e3021894 116 <Libset dir="" libs="nosys"/>
elessair 0:f269e3021894 117 </LinkedLibraries>
elessair 0:f269e3021894 118 <MemoryAreas debugInFlashNotRAM="1">
elessair 0:f269e3021894 119 <Memory name="IROM1" type="ReadOnly" size="0x00080000" startValue="0x08000000"/>
elessair 0:f269e3021894 120 <Memory name="IRAM1" type="ReadWrite" size="0x0001FE68" startValue="0x20000198"/>
elessair 0:f269e3021894 121 <Memory name="IROM2" type="ReadOnly" size="" startValue=""/>
elessair 0:f269e3021894 122 <Memory name="IRAM2" type="ReadWrite" size="" startValue=""/>
elessair 0:f269e3021894 123 </MemoryAreas>
elessair 0:f269e3021894 124 <LocateLinkFile path="{{scatter_file}}" type="0"/>
elessair 0:f269e3021894 125 </Link>
elessair 0:f269e3021894 126 <Output>
elessair 0:f269e3021894 127 <Option name="OutputFileType" value="0"/>
elessair 0:f269e3021894 128 <Option name="Path" value="./"/>
elessair 0:f269e3021894 129 <Option name="Name" value="{{name}}"/>
elessair 0:f269e3021894 130 <Option name="HEX" value="1"/>
elessair 0:f269e3021894 131 <Option name="BIN" value="1"/>
elessair 0:f269e3021894 132 </Output>
elessair 0:f269e3021894 133 <User>
elessair 0:f269e3021894 134 <UserRun name="Run#1" type="Before" checked="0" value=""/>
elessair 0:f269e3021894 135 <UserRun name="Run#1" type="After" checked="0" value=""/>
elessair 0:f269e3021894 136 </User>
elessair 0:f269e3021894 137 </BuildOption>
elessair 0:f269e3021894 138 <DebugOption>
elessair 0:f269e3021894 139 <Option name="org.coocox.codebugger.gdbjtag.core.adapter" value="ST-Link"/>
elessair 0:f269e3021894 140 <Option name="org.coocox.codebugger.gdbjtag.core.debugMode" value="SWD"/>
elessair 0:f269e3021894 141 <Option name="org.coocox.codebugger.gdbjtag.core.clockDiv" value="1M"/>
elessair 0:f269e3021894 142 <Option name="org.coocox.codebugger.gdbjtag.corerunToMain" value="1"/>
elessair 0:f269e3021894 143 <Option name="org.coocox.codebugger.gdbjtag.core.jlinkgdbserver" value=""/>
elessair 0:f269e3021894 144 <Option name="org.coocox.codebugger.gdbjtag.core.userDefineGDBScript" value=""/>
elessair 0:f269e3021894 145 <Option name="org.coocox.codebugger.gdbjtag.core.targetEndianess" value="0"/>
elessair 0:f269e3021894 146 <Option name="org.coocox.codebugger.gdbjtag.core.jlinkResetMode" value="Type 0: Normal"/>
elessair 0:f269e3021894 147 <Option name="org.coocox.codebugger.gdbjtag.core.resetMode" value="SYSRESETREQ"/>
elessair 0:f269e3021894 148 <Option name="org.coocox.codebugger.gdbjtag.core.ifSemihost" value="0"/>
elessair 0:f269e3021894 149 <Option name="org.coocox.codebugger.gdbjtag.core.ifCacheRom" value="1"/>
elessair 0:f269e3021894 150 <Option name="org.coocox.codebugger.gdbjtag.core.ipAddress" value="127.0.0.1"/>
elessair 0:f269e3021894 151 <Option name="org.coocox.codebugger.gdbjtag.core.portNumber" value="2009"/>
elessair 0:f269e3021894 152 <Option name="org.coocox.codebugger.gdbjtag.core.autoDownload" value="1"/>
elessair 0:f269e3021894 153 <Option name="org.coocox.codebugger.gdbjtag.core.verify" value="1"/>
elessair 0:f269e3021894 154 <Option name="org.coocox.codebugger.gdbjtag.core.downloadFuction" value="Erase Effected"/>
elessair 0:f269e3021894 155 <Option name="org.coocox.codebugger.gdbjtag.core.defaultAlgorithm" value="stm32f4xx_512.elf"/>
elessair 0:f269e3021894 156 </DebugOption>
elessair 0:f269e3021894 157 <ExcludeFile/>
elessair 0:f269e3021894 158 </Target>
elessair 0:f269e3021894 159 <Components path="./"/>
elessair 0:f269e3021894 160 <Files>
elessair 0:f269e3021894 161 {% for file in source_files %}
elessair 0:f269e3021894 162 <File name="sources/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/>
elessair 0:f269e3021894 163 {% endfor %}
elessair 0:f269e3021894 164 {% for file in header_files %}
elessair 0:f269e3021894 165 <File name="headers/{{file.path}}" path="{{file.path}}" type="{{file.type}}"/>
elessair 0:f269e3021894 166 {% endfor %}
elessair 0:f269e3021894 167 </Files>
elessair 0:f269e3021894 168 </Project>