aboutsummaryrefslogtreecommitdiff
path: root/stm/stmperiph/stm324x7i_eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/stmperiph/stm324x7i_eval.h')
-rw-r--r--stm/stmperiph/stm324x7i_eval.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stm/stmperiph/stm324x7i_eval.h b/stm/stmperiph/stm324x7i_eval.h
index 9adeecb16..1549093b3 100644
--- a/stm/stmperiph/stm324x7i_eval.h
+++ b/stm/stmperiph/stm324x7i_eval.h
@@ -54,6 +54,10 @@
#define SD_DETECT_PIN GPIO_Pin_15 /* PB.15 */
#define SD_DETECT_GPIO_PORT GPIOB /* GPIOB */
#define SD_DETECT_GPIO_CLK RCC_AHB1Periph_GPIOB
+#elif defined(NETDUINO_PLUS_2)
+#define SD_DETECT_PIN GPIO_Pin_5 /* PB.5 */
+#define SD_DETECT_GPIO_PORT GPIOB /* GPIOB */
+#define SD_DETECT_GPIO_CLK RCC_AHB1Periph_GPIOB
#endif
#define SDIO_FIFO_ADDRESS ((uint32_t)0x40012C80)