The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: LPC1768/device.h
- Revision:
- 55:d722ed6a4237
- Parent:
- 54:71b101360fb9
- Child:
- 57:0480438fc29c
--- a/LPC1768/device.h Tue Jan 08 12:46:36 2013 +0000 +++ b/LPC1768/device.h Wed Jan 16 12:56:34 2013 +0000 @@ -47,9 +47,17 @@ #define DEVICE_PWMOUT 1 -#define DEVICE_LOCALFILESYSTEM 1 +#if defined (__ICCARM__) +#define DEVICE_SEMIHOST 0 +#else +#define DEVICE_SEMIHOST 1 +#endif -#define DEVICE_SLEEP 0 +#if DEVICE_SEMIHOST +#define DEVICE_LOCALFILESYSTEM 1 +#endif + +#define DEVICE_SLEEP 1 #define DEVICE_DEBUG_AWARENESS 1