Removed UICR edit.
nordic_global.h file now included
Merge remote-tracking branch 'upstream/master'
Updated Sleep

using WFE for nordic sleep
Removed systemoff call from deepleep since it does not retain program
state.
Updated copyright headers

commented out unused variable in cmsis_nvic.c
Merge remote-tracking branch 'upstream/master'
Writing FWID to UICR in SystemInit
Added checks on compilation flags.
Merge remote-tracking branch 'upstream/master'
Add target LPC1549 to release build_release.py
Merge pull request #182 from sg-/nxp_master_merge

NXP master merge
libraries/fs: Added logic to transparently sync written file

fflush() does not do anything in mbed library. The only time the file
was flushed was when it was closed.
For some applications (eg: data logger), files are never closed. It
means when the power went off all the written data were lost.
Actually, they were not lost; they were written into the non-volatile
storage. But the file header was not aware of these new data (its
file information such as file size were not updated).

There is no easy way to retarget fflush() for mbed. So, the workaround
is to fflush (eg: 'sync' in the ChaN terminology) periodically
while writting new data.

The frequency can be changed by the user into ffconf.h.
By default, the updated file will be synced for every new sector (generally
for every 512 bytes). Another available option is to sync for every
new cluster (in my use case, the cluster was 8 sectors long).
Merge pull request #184 from oliviermartin/om/fat-sync-file-when-writting

libraries/fs: Added logic to transparently sync written file
SoftDevice added.
Merge remote-tracking branch 'upstream/master'
Merge pull request #185 from tkuyucu/master

nrf-mbed merge