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: mbed.h
- Revision:
- 138:093f2bd7b9eb
- Parent:
- 137:e1686b8d5b90
- Child:
- 139:856d2700e60b
--- a/mbed.h Tue Feb 28 16:44:21 2017 +0000 +++ b/mbed.h Tue Mar 14 16:20:51 2017 +0000 @@ -16,13 +16,13 @@ #ifndef MBED_H #define MBED_H -#define MBED_LIBRARY_VERSION 137 +#define MBED_LIBRARY_VERSION 138 #if MBED_CONF_RTOS_PRESENT // RTOS present, this is valid only for mbed OS 5 #define MBED_MAJOR_VERSION 5 -#define MBED_MINOR_VERSION 3 -#define MBED_PATCH_VERSION 6 +#define MBED_MINOR_VERSION 4 +#define MBED_PATCH_VERSION 1 #else // mbed 2 @@ -47,8 +47,13 @@ #include "events/mbed_events.h" #endif -#include "platform/toolchain.h" +#if MBED_CONF_FILESYSTEM_PRESENT +#include "filesystem/mbed_filesystem.h" +#endif + +#include "platform/mbed_toolchain.h" #include "platform/platform.h" +#include "platform/mbed_application.h" // Useful C libraries #include <math.h> @@ -80,6 +85,7 @@ #include "drivers/Ethernet.h" #include "drivers/CAN.h" #include "drivers/RawSerial.h" +#include "drivers/FlashIAP.h" // mbed Internal components #include "drivers/Timer.h" @@ -90,9 +96,10 @@ #include "drivers/LowPowerTimer.h" #include "drivers/LocalFileSystem.h" #include "drivers/InterruptIn.h" -#include "platform/wait_api.h" +#include "platform/mbed_wait_api.h" #include "hal/sleep_api.h" -#include "platform/rtc_time.h" +#include "platform/mbed_sleep.h" +#include "platform/mbed_rtc_time.h" // mbed Non-hardware components #include "platform/Callback.h"