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.

Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
--- a/mbed.h	Thu Nov 08 11:45:42 2018 +0000
+++ b/mbed.h	Wed Feb 20 20:53:29 2019 +0000
@@ -95,6 +95,8 @@
 #include "platform/DirHandle.h"
 #include "platform/CriticalSectionLock.h"
 #include "platform/DeepSleepLock.h"
+#include "platform/ScopedRomWriteLock.h"
+#include "platform/ScopedRamExecutionLock.h"
 #include "platform/mbed_stats.h"
 
 // mbed Non-hardware components
@@ -102,7 +104,9 @@
 #include "platform/FunctionPointer.h"
 #include "platform/ScopedLock.h"
 
+#ifndef MBED_NO_GLOBAL_USING_DIRECTIVE
 using namespace mbed;
 using namespace std;
+#endif
 
 #endif