stm32f4: add GPIOJ & GPIOK

They are available on STM32F429 and STM32F439.
This commit is contained in:
Nicolas Schodet
2015-10-27 14:42:58 +01:00
parent fd100ea6c2
commit 9b8d44e8a3
4 changed files with 41 additions and 1 deletions

View File

@@ -135,6 +135,16 @@ void exti_select_source(uint32_t exti, uint32_t gpioport)
case GPIOI:
bits = 8;
break;
#endif
#if defined(GPIOJ) && defined(GPIO_PORT_J_BASE)
case GPIOJ:
bits = 9;
break;
#endif
#if defined(GPIOK) && defined(GPIO_PORT_K_BASE)
case GPIOK:
bits = 10;
break;
#endif
}