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 {% extends "codered_cproject_cortexm3_common.tmpl" %}
elessair 0:f269e3021894 2
elessair 0:f269e3021894 3 {% block startup_file %}cr_startup_lpc15xx.c{% endblock %}
elessair 0:f269e3021894 4
elessair 0:f269e3021894 5 {% block cpu_config %}<?xml version="1.0" encoding="UTF-8"?>
elessair 0:f269e3021894 6 <TargetConfig>
elessair 0:f269e3021894 7 <Properties property_0="" property_2="LPC15xx_256K.cfx" property_3="NXP" property_4="LPC1549" property_count="5" version="70200"/>
elessair 0:f269e3021894 8 <infoList vendor="NXP">
elessair 0:f269e3021894 9 <info chip="LPC1549" connectscript="LPC15RunBootRomConnect.scp" flash_driver="LPC15xx_256K.cfx" match_id="0x0" name="LPC1549" resetscript="LPC15RunBootRomReset.scp" stub="crt_emu_cm3_gen">
elessair 0:f269e3021894 10 <chip>
elessair 0:f269e3021894 11 <name>LPC1549</name>
elessair 0:f269e3021894 12 <family>LPC15xx</family>
elessair 0:f269e3021894 13 <vendor>NXP (formerly Philips)</vendor>
elessair 0:f269e3021894 14 <reset board="None" core="Real" sys="Real"/>
elessair 0:f269e3021894 15 <clock changeable="TRUE" freq="12MHz" is_accurate="TRUE"/>
elessair 0:f269e3021894 16 <memory can_program="true" id="Flash" is_ro="true" type="Flash"/>
elessair 0:f269e3021894 17 <memory id="RAM" type="RAM"/>
elessair 0:f269e3021894 18 <memory id="Periph" is_volatile="true" type="Peripheral"/>
elessair 0:f269e3021894 19 <memoryInstance derived_from="Flash" id="MFlash256" location="0x0" size="0x40000"/>
elessair 0:f269e3021894 20 <memoryInstance derived_from="RAM" id="Ram0_16" location="0x2000000" size="0x4000"/>
elessair 0:f269e3021894 21 <memoryInstance derived_from="RAM" id="Ram1_16" location="0x2004000" size="0x4000"/>
elessair 0:f269e3021894 22 <memoryInstance derived_from="RAM" id="Ram2_4" location="0x2008000" size="0x1000"/>
elessair 0:f269e3021894 23 <peripheralInstance derived_from="LPC15_MPU" determined="infoFile" id="MPU" location="0xe000ed90"/>
elessair 0:f269e3021894 24 <peripheralInstance derived_from="LPC15_NVIC" determined="infoFile" id="NVIC" location="0xe000e000"/>
elessair 0:f269e3021894 25 <peripheralInstance derived_from="LPC15_DCR" determined="infoFile" id="DCR" location="0xe000edf0"/>
elessair 0:f269e3021894 26 <peripheralInstance derived_from="LPC15_ITM" determined="infoFile" id="ITM" location="0xe0000000"/>
elessair 0:f269e3021894 27 <peripheralInstance derived_from="GPIO-PORT" determined="infoFile" id="GPIO-PORT" location="0x1c000000"/>
elessair 0:f269e3021894 28 <peripheralInstance derived_from="DMA" determined="infoFile" id="DMA" location="0x1c004000"/>
elessair 0:f269e3021894 29 <peripheralInstance derived_from="USB" determined="infoFile" id="USB" location="0x1c00c000"/>
elessair 0:f269e3021894 30 <peripheralInstance derived_from="CRC" determined="infoFile" id="CRC" location="0x1c010000"/>
elessair 0:f269e3021894 31 <peripheralInstance derived_from="SCT0" determined="infoFile" id="SCT0" location="0x1c018000"/>
elessair 0:f269e3021894 32 <peripheralInstance derived_from="SCT1" determined="infoFile" id="SCT1" location="0x1c01c000"/>
elessair 0:f269e3021894 33 <peripheralInstance derived_from="SCT2" determined="infoFile" id="SCT2" location="0x1c020000"/>
elessair 0:f269e3021894 34 <peripheralInstance derived_from="SCT3" determined="infoFile" id="SCT3" location="0x1c024000"/>
elessair 0:f269e3021894 35 <peripheralInstance derived_from="ADC0" determined="infoFile" id="ADC0" location="0x40000000"/>
elessair 0:f269e3021894 36 <peripheralInstance derived_from="DAC" determined="infoFile" id="DAC" location="0x40004000"/>
elessair 0:f269e3021894 37 <peripheralInstance derived_from="ACMP" determined="infoFile" id="ACMP" location="0x40008000"/>
elessair 0:f269e3021894 38 <peripheralInstance derived_from="INMUX" determined="infoFile" id="INMUX" location="0x40014000"/>
elessair 0:f269e3021894 39 <peripheralInstance derived_from="RTC" determined="infoFile" id="RTC" location="0x40028000"/>
elessair 0:f269e3021894 40 <peripheralInstance derived_from="WWDT" determined="infoFile" id="WWDT" location="0x4002c000"/>
elessair 0:f269e3021894 41 <peripheralInstance derived_from="SWM" determined="infoFile" id="SWM" location="0x40038000"/>
elessair 0:f269e3021894 42 <peripheralInstance derived_from="PMU" determined="infoFile" id="PMU" location="0x4003c000"/>
elessair 0:f269e3021894 43 <peripheralInstance derived_from="USART0" determined="infoFile" id="USART0" location="0x40040000"/>
elessair 0:f269e3021894 44 <peripheralInstance derived_from="USART1" determined="infoFile" id="USART1" location="0x40044000"/>
elessair 0:f269e3021894 45 <peripheralInstance derived_from="SPI0" determined="infoFile" id="SPI0" location="0x40048000"/>
elessair 0:f269e3021894 46 <peripheralInstance derived_from="SPI1" determined="infoFile" id="SPI1" location="0x4004c000"/>
elessair 0:f269e3021894 47 <peripheralInstance derived_from="I2C0" determined="infoFile" id="I2C0" location="0x40050000"/>
elessair 0:f269e3021894 48 <peripheralInstance derived_from="QEI" determined="infoFile" id="QEI" location="0x40058000"/>
elessair 0:f269e3021894 49 <peripheralInstance derived_from="SYSCON" determined="infoFile" id="SYSCON" location="0x40074000"/>
elessair 0:f269e3021894 50 <peripheralInstance derived_from="ADC1" determined="infoFile" id="ADC1" location="0x40080000"/>
elessair 0:f269e3021894 51 <peripheralInstance derived_from="MRT" determined="infoFile" id="MRT" location="0x400a0000"/>
elessair 0:f269e3021894 52 <peripheralInstance derived_from="PINT" determined="infoFile" id="PINT" location="0x400a4000"/>
elessair 0:f269e3021894 53 <peripheralInstance derived_from="GINT0" determined="infoFile" id="GINT0" location="0x400a8000"/>
elessair 0:f269e3021894 54 <peripheralInstance derived_from="GINT1" determined="infoFile" id="GINT1" location="0x400ac000"/>
elessair 0:f269e3021894 55 <peripheralInstance derived_from="RIT" determined="infoFile" id="RIT" location="0x400b4000"/>
elessair 0:f269e3021894 56 <peripheralInstance derived_from="SCTIPU" determined="infoFile" id="SCTIPU" location="0x400b8000"/>
elessair 0:f269e3021894 57 <peripheralInstance derived_from="FLASHCTRL" determined="infoFile" id="FLASHCTRL" location="0x400bc000"/>
elessair 0:f269e3021894 58 <peripheralInstance derived_from="USART2" determined="infoFile" id="USART2" location="0x400c0000"/>
elessair 0:f269e3021894 59 <peripheralInstance derived_from="C-CAN0" determined="infoFile" id="C-CAN0" location="0x400f0000"/>
elessair 0:f269e3021894 60 <peripheralInstance derived_from="IOCON" determined="infoFile" id="IOCON" location="0x400f8000"/>
elessair 0:f269e3021894 61 </chip>
elessair 0:f269e3021894 62 <processor>
elessair 0:f269e3021894 63 <name gcc_name="cortex-m3">Cortex-M3</name>
elessair 0:f269e3021894 64 <family>Cortex-M</family>
elessair 0:f269e3021894 65 </processor>
elessair 0:f269e3021894 66 <link href="nxp_lpcxxxx_peripheral.xme" show="embed" type="simple"/>
elessair 0:f269e3021894 67 </info>
elessair 0:f269e3021894 68 </infoList>
elessair 0:f269e3021894 69 </TargetConfig>{% endblock %}