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/TARGET_LPC546XX/TOOLCHAIN_ARM_STD/objects.h	Thu Nov 08 11:45:42 2018 +0000
+++ b/TARGET_LPC546XX/TOOLCHAIN_ARM_STD/objects.h	Wed Feb 20 20:53:29 2019 +0000
@@ -20,6 +20,7 @@
 #include "PortNames.h"
 #include "PeripheralNames.h"
 #include "PinNames.h"
+#include <stddef.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -58,18 +59,24 @@
     uint8_t bits;
 };
 
-#if defined(DEVICE_FLASH)
+#if DEVICE_FLASH
 struct flash_s {
     uint8_t dummy;
 };
 #endif
 
-#if defined(DEVICE_TRNG)
+#if DEVICE_TRNG
 struct trng_s {
     uint8_t dummy;
 };
 #endif
 
+#if DEVICE_QSPI
+struct qspi_s {
+    uint32_t instance;
+};
+#endif
+
 #include "gpio_object.h"
 
 #ifdef __cplusplus