mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
boards/arm/kinetis/twr-k60n512/src/k60_appinit.c: Suppress errors related to card detect GPIO configuration if SDHC support is not enabled.
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
|
||||
/* We expect to receive GPIO interrupts for card insertion events */
|
||||
|
||||
#ifdef NSH_HAVEMMCSD
|
||||
# ifndef CONFIG_KINETIS_GPIOIRQ
|
||||
# error "CONFIG_KINETIS_GPIOIRQ required for card detect interrupt"
|
||||
# endif
|
||||
@@ -107,6 +108,7 @@
|
||||
# ifndef CONFIG_KINETIS_PORTEINTS
|
||||
# error "CONFIG_KINETIS_PORTEINTS required for card detect interrupt"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
@@ -272,3 +274,4 @@ int board_app_initialize(uintptr_t arg)
|
||||
#endif
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user