mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Aug 18 09:15:07 2014 +0100
Parent:
285:31249416b6f9
Child:
287:9567fed63582
Commit message:
Synchronized with git revision 3521bd30a97ffc7f5fab099cd94297a814197137

Full URL: https://github.com/mbedmicro/mbed/commit/3521bd30a97ffc7f5fab099cd94297a814197137/

add missed port for DISCO_F407VG

Changed in this revision

targets/hal/TARGET_STM/TARGET_DISCO_F407VG/pinmap.c Show annotated file Show diff for this revision Revisions of this file
--- 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;