mbed library sources change for ST sensors and ST BLE

Fork of mbed-src by mbed official

Revision:
559:a5bce224b5d8
Parent:
442:d916d321e60f
diff -r 0880f51c4036 -r a5bce224b5d8 targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c
--- a/targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c	Wed Jun 03 09:00:09 2015 +0100
+++ b/targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c	Thu Jun 04 16:15:09 2015 +0100
@@ -66,14 +66,18 @@
             gpio_add = GPIOC_BASE;
             __GPIOC_CLK_ENABLE();
             break;
+#if defined GPIOD_BASE
         case PortD:
             gpio_add = GPIOD_BASE;
             __GPIOD_CLK_ENABLE();
             break;
+#endif
+#if defined GPIOE_BASE
         case PortE:
             gpio_add = GPIOE_BASE;
             __GPIOE_CLK_ENABLE();
             break;
+#endif
 #if defined GPIOF_BASE
         case PortF:
             gpio_add = GPIOF_BASE;