Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed_blinky-bmd-200 bmd-200_accel_demo firstRig
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c
- Revision:
- 563:a5bce224b5d8
- Parent:
- 444:d916d321e60f
--- 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;
