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:
- 145:64910690c574
- Parent:
- 144:0f02307a0877
- Child:
- 146:22da6e220af6
--- a/mbed.h Thu Jun 08 14:53:05 2017 +0100 +++ b/mbed.h Wed Jun 21 17:31:38 2017 +0100 @@ -16,13 +16,13 @@ #ifndef MBED_H #define MBED_H -#define MBED_LIBRARY_VERSION 144 +#define MBED_LIBRARY_VERSION 145 #if MBED_CONF_RTOS_PRESENT // RTOS present, this is valid only for mbed OS 5 #define MBED_MAJOR_VERSION 5 -#define MBED_MINOR_VERSION 4 -#define MBED_PATCH_VERSION 7 +#define MBED_MINOR_VERSION 5 +#define MBED_PATCH_VERSION 1 #else // mbed 2 @@ -32,7 +32,6 @@ #endif #define MBED_ENCODE_VERSION(major, minor, patch) ((major)*10000 + (minor)*100 + (patch)) - #define MBED_VERSION MBED_ENCODE_VERSION(MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION) #if MBED_CONF_RTOS_PRESENT @@ -41,6 +40,7 @@ #if MBED_CONF_NSAPI_PRESENT #include "netsocket/nsapi.h" +#include "netsocket/nsapi_ppp.h" #endif #if MBED_CONF_EVENTS_PRESENT @@ -63,6 +63,7 @@ #include "platform/mbed_error.h" #include "platform/mbed_interface.h" #include "platform/mbed_assert.h" +#include "platform/mbed_debug.h" // mbed Peripheral components #include "drivers/DigitalIn.h" @@ -85,6 +86,7 @@ #include "drivers/Ethernet.h" #include "drivers/CAN.h" #include "drivers/RawSerial.h" +#include "drivers/UARTSerial.h" #include "drivers/FlashIAP.h" // mbed Internal components @@ -94,12 +96,17 @@ #include "drivers/LowPowerTimeout.h" #include "drivers/LowPowerTicker.h" #include "drivers/LowPowerTimer.h" -#include "drivers/LocalFileSystem.h" +#include "platform/LocalFileSystem.h" #include "drivers/InterruptIn.h" #include "platform/mbed_wait_api.h" #include "hal/sleep_api.h" #include "platform/mbed_sleep.h" #include "platform/mbed_rtc_time.h" +#include "platform/mbed_poll.h" +#include "platform/ATCmdParser.h" +#include "platform/FileSystemHandle.h" +#include "platform/FileHandle.h" +#include "platform/DirHandle.h" // mbed Non-hardware components #include "platform/Callback.h"