boards/arm/stm32h7/stm32h747i-disco: SDMMC card detect interrupt

This commit is contained in:
Pierre-Olivier Vauboin 2020-04-01 12:46:35 +02:00 committed by Abdelatif Guettouche
parent 583d81e3de
commit 2d43c57a67
3 changed files with 6 additions and 4 deletions

View File

@ -48,7 +48,7 @@
* families
*/
#if defined(CONFIG_STM32H7_STM32H7X3XX)
#if defined(CONFIG_STM32H7_STM32H7X3XX) || defined(CONFIG_STM32H7_STM32H7X7XX)
/************************************************************************************
* Pre-processor Definitions
@ -249,5 +249,5 @@
#define EXTI_EVENT_ETHWKUP 86 /* Ethernet wakeup */
#define EXTI_EVENT_HSECSS 87 /* HSECSS interrupt */
#endif /* CONFIG_STM32H7_STM32H7X3XX */
#endif /* CONFIG_STM32H7_STM32H7X3XX || CONFIG_STM32H7_STM32H7X7XX */
#endif /* __ARCH_ARM_SRC_STM32H7_HARDWARE_STM32_EXTI_H */

View File

@ -66,7 +66,7 @@
* families
*/
#if defined(CONFIG_STM32H7_STM32H7X3XX)
#if defined(CONFIG_STM32H7_STM32H7X3XX) || defined(CONFIG_STM32H7_STM32H7X7XX)
/****************************************************************************
* Private Types
@ -396,4 +396,4 @@ int stm32_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge,
return OK;
}
#endif /* CONFIG_STM32H7_STM32H7X3XX */
#endif /* CONFIG_STM32H7_STM32H7X3XX || CONFIG_STM32H7_STM32H7X7XX */

View File

@ -117,6 +117,8 @@
# undef HAVE_SDIO
#endif
#define GPIO_SDIO_NCD (GPIO_INPUT|GPIO_FLOAT|GPIO_EXTI|GPIO_PORTI|GPIO_PIN8)
#define SDIO_SLOTNO 0
#define SDIO_MINOR 0