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: SANFAN_read_analog_value nucleo-wdg Nucleo_sleep_copy
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_STM32F4/pinmap.c
- Revision:
- 559:a5bce224b5d8
- Parent:
- 442: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;
