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:
55:d722ed6a4237
Parent:
54:71b101360fb9
Child:
59:0883845fe643
--- a/toolchain.h	Tue Jan 08 12:46:36 2013 +0000
+++ b/toolchain.h	Wed Jan 16 12:56:34 2013 +0000
@@ -30,4 +30,12 @@
 typedef int FILEHANDLE;
 #endif
 
+#if defined (__ICCARM__)
+#   define WEAK     __weak
+#   define PACKED   __packed
+#else
+#   define WEAK     __attribute__((weak))
+#   define PACKED   __attribute__((packed))
 #endif
+
+#endif