mbed library sources for GR-PEACH rev.B.

Fork of mbed-src by mbed official

Revision:
497:d54623194236
Parent:
126:549ba18ddd81
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F100RB/objects.h	Tue Mar 24 09:00:08 2015 +0000
+++ b/targets/hal/TARGET_STM/TARGET_DISCO_F100RB/objects.h	Thu Mar 26 13:45:12 2015 +0000
@@ -43,6 +43,7 @@
     IRQn_Type irq_n;
     uint32_t irq_index;
     uint32_t event;
+    PinName pin;
 };
 
 struct port_s {
@@ -65,6 +66,8 @@
     uint32_t databits;
     uint32_t stopbits;
     uint32_t parity; 
+    PinName pin_tx;
+    PinName pin_rx;
 };
 
 struct spi_s {
@@ -75,10 +78,15 @@
     uint32_t mode;
     uint32_t nss;
     uint32_t br_presc;
+    PinName pin_miso;
+    PinName pin_mosi;
+    PinName pin_sclk;
+    PinName pin_ssel;
 };
 
 struct i2c_s {
     I2CName  i2c;
+    uint32_t slave;
 };
 
 struct pwmout_s {