mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c
- Revision:
- 286:46a3fe348d1d
- Parent:
- 285:31249416b6f9
--- a/targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c Fri Aug 15 16:30:08 2014 +0100 +++ b/targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c Mon Aug 18 09:15:07 2014 +0100 @@ -68,10 +68,26 @@ gpio_add = GPIOD_BASE; __GPIOD_CLK_ENABLE(); break; + case PortE: + gpio_add = GPIOE_BASE; + __GPIOE_CLK_ENABLE(); + break; + case PortF: + gpio_add = GPIOF_BASE; + __GPIOF_CLK_ENABLE(); + break; + case PortG: + gpio_add = GPIOG_BASE; + __GPIOG_CLK_ENABLE(); + break; case PortH: gpio_add = GPIOH_BASE; __GPIOH_CLK_ENABLE(); break; + case PortI: + gpio_add = GPIOI_BASE; + __GPIOI_CLK_ENABLE(); + break; default: error("Pinmap error: wrong port number."); break;