mbed library with additional peripherals for ST F401 board

Fork of mbed-src by mbed official

This mbed LIB has additional peripherals for ST F401 board

  • UART2 : PA_3 rx, PA_2 tx
  • UART3 : PC_7 rx, PC_6 tx
  • I2C2 : PB_3 SDA, PB_10 SCL
  • I2C3 : PB_4 SDA, PA_8 SCL

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Dec 12 18:15:12 2013 +0000
Parent:
56:99eb381a3269
Child:
58:3b55b7a41411
Commit message:
Synchronized with git revision f5e1f7037f101a2c2cd3c8e7591526aebb17482b

Full URL: https://github.com/mbedmicro/mbed/commit/f5e1f7037f101a2c2cd3c8e7591526aebb17482b/

Changed in this revision

targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c	Thu Dec 12 10:45:05 2013 +0000
+++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c	Thu Dec 12 18:15:12 2013 +0000
@@ -175,8 +175,6 @@
     int timeout;
     int count;
   
-    if (length == 0) return 0;
-
 /*
     // Wait until the bus is not busy anymore
     timeout = LONG_TIMEOUT;