mbed library sources that still uses the stm standard peripheral library

Fork of mbed-src by Reinhold Schaefer

Revision:
19:398f4c622e1b
Parent:
13:0645d8841f51
diff -r 692be3d4e4cc -r 398f4c622e1b api/mbed_interface.h
--- a/api/mbed_interface.h	Mon Aug 12 13:49:01 2013 +0300
+++ b/api/mbed_interface.h	Mon Aug 19 18:17:02 2013 +0300
@@ -18,6 +18,19 @@
 
 #include "device.h"
 
+/* Mbed interface mac address
+ * if MBED_MAC_ADD_x are zero, interface uid sets mac address,
+ * otherwise MAC_ADD_x are used.
+ */
+#define MBED_MAC_ADDR_INTERFACE 0x00
+#define MBED_MAC_ADDR_0  MBED_MAC_ADDR_INTERFACE
+#define MBED_MAC_ADDR_1  MBED_MAC_ADDR_INTERFACE
+#define MBED_MAC_ADDR_2  MBED_MAC_ADDR_INTERFACE
+#define MBED_MAC_ADDR_3  MBED_MAC_ADDR_INTERFACE
+#define MBED_MAC_ADDR_4  MBED_MAC_ADDR_INTERFACE
+#define MBED_MAC_ADDR_5  MBED_MAC_ADDR_INTERFACE
+#define MBED_MAC_ADDRESS_SUM (MBED_MAC_ADDR_0 | MBED_MAC_ADDR_1 | MBED_MAC_ADDR_2 | MBED_MAC_ADDR_3 | MBED_MAC_ADDR_4 | MBED_MAC_ADDR_5)
+
 #ifdef __cplusplus
 extern "C" {
 #endif