mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_NXP/TARGET_LPC176X/sleep.c
- Revision:
- 186:707f6e361f3e
- Parent:
- 160:d5399cc887bb
--- a/targets/TARGET_NXP/TARGET_LPC176X/sleep.c Thu Apr 19 17:12:19 2018 +0100 +++ b/targets/TARGET_NXP/TARGET_LPC176X/sleep.c Fri Jun 22 16:45:37 2018 +0100 @@ -17,6 +17,13 @@ #include "cmsis.h" #include "mbed_interface.h" +/* + * @note + * The mbed interface semihosting is disconnected as part of going to sleep, and can not be restored. + * Flash re-programming and the USB serial port will remain active, but the mbed program will no longer be + * able to access the LocalFileSystem + */ + void hal_sleep(void) { #if (DEVICE_SEMIHOST == 1)