[LPC1114] fixed simple bugs on export templates
[LPC810] add LPC810 support
[LPC810] fixed scatter file
Merge remote-tracking branch 'upstream/master'
Added complete PwmOut mappings for KL25Z
Merge remote-tracking branch 'upstream/master'
Fix NULL pointer indirection in FilePath

If the FileBase::lookup operation in the constructor of FilePath returns
NULL, subsequent operations (such as isFile()/isFileSystem()) will call
methods on a NULL 'fb' pointer. This commit fixes this issue by adding
explicit NULL checks and a new method in FilePath (exists()).
Fix GCC interpretation of dependency file

The dependency file generated by GCC might contain more than one
dependency listed on a single line, which wasn't taken into account by the
GCC dependency fille interpreter. This commit fixes this issue.
Merge pull request #54 from ytsuboi/master

Added LPC810 support
Refactor code for LPC810/LPC812

There were lots of overlaps in the code for LPC810 and LPC812, including
duplicated source files. This commit adds a TARGET_LPC81X_COMMON folder in
both HAL and CMSIS, this folder keeps common code for the targets.
Fix startup files for various versions of LPC11Uxx

LPC11U24/LPC11U24_301/LPC11U35_401 shared the same startup file for ARM
and uARM toolchains, which is wrong, because the initial SP value is
different for LPC11U24_301. This commit fixes this issue by giving each
target its own startup file.
Fix USBDevice compilation on LPC11U24_301 and LPC11U35_401

Reported by Frank Buss <fb@frank-buss.de>
serial_putc() can cause rx bytes to be dropped

While fixing this issue in the various LPC* ports, I noticed a comment
pointing to this mbed forum post which summarizes this bug quite well:
  https://mbed.org/forum/bugs-suggestions/topic/4473/

This bug was introduced in the following commit:
https://github.com/mbedmicro/mbed/commit/2662e105c43c93986d52713234375b7910acf297

The following code was added to serial_putc() as part of this commit:
    uint32_t lsr = obj->uart->LSR;
    lsr = lsr;
    uint32_t thr = obj->uart->THR;
    thr = thr;

As the forum post indicates, this causes the serial_putc() routine to
actually eat an inbound received byte if it exists since reading THR is
really reading the RBR, the Receiver Buffer Register.  This code looks
like code that was probably added so that the developer could take a
snapshot of these registers and look at them in the debugger.  It
probably got committed in error.
Fix MASKED_ACCESS bug in gpio_init, now same as LPC11xx (Also use PIN_SHIFT instead of magic number 8 in gpio_set)
Merge pull request #60 from jorisa/master

Fix MASKED_ACCESS bug in gpio_init
Merge pull request #57 from adamgreen/serialTxDropsRx

serial_putc() can cause rx bytes to be dropped
[LPC1768] Fix serial_clear

serial_clear() erroneously disabled the UART FIFOs.
Reported by Adam Green.
Merge remote-tracking branch 'github/master'
Bugfix: PIN Modes was not set correctly
Added: Export to uVision and Code Red toolchains
Added: Export to uVision and Code Red toolchains