Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 75:af844aac7b8c, committed 2014-01-17
- Comitter:
- yihui
- Date:
- Fri Jan 17 03:18:47 2014 +0000
- Parent:
- 74:847f030b50ee
- Commit message:
- disable semihost and local file system
Changed in this revision
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/device.h Tue Jan 14 22:15:04 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/device.h Fri Jan 17 03:18:47 2014 +0000 @@ -42,8 +42,8 @@ #define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 1 -#define DEVICE_LOCALFILESYSTEM 1 +#define DEVICE_SEMIHOST 0 +#define DEVICE_LOCALFILESYSTEM 0 #define DEVICE_ID_LENGTH 32 #define DEVICE_MAC_OFFSET 20
--- a/targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c Tue Jan 14 22:15:04 2014 +0000 +++ b/targets/hal/TARGET_NXP/TARGET_LPC176X/sleep.c Fri Jan 17 03:18:47 2014 +0000 @@ -17,6 +17,10 @@ #include "cmsis.h" #include "mbed_interface.h" +#if (DEVICE_SEMIHOST == 0) +#define mbed_interface_disconnect() +#endif + void sleep(void) { // ensure debug is disconnected mbed_interface_disconnect();