aboutsummaryrefslogtreecommitdiff
path: root/stm/stmperiph
diff options
context:
space:
mode:
authorDamien George2014-02-04 14:11:32 -0800
committerDamien George2014-02-04 14:11:32 -0800
commite0723497b3dbce94e6ce2a2dcd59af510f094fa4 (patch)
tree982b1bffa524add87b76d4fe1fd7344f05a490ee /stm/stmperiph
parente5a15cb7a5a548e6e38cd82661af181fda038206 (diff)
parent1570a96cad0b886f21a07eb13c3377a0f79abc1e (diff)
Merge pull request #259 from dhylands/netduino
Initial support for Netduino
Diffstat (limited to 'stm/stmperiph')
-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)