diff options
| author | Damien George | 2014-02-04 14:11:32 -0800 |
|---|---|---|
| committer | Damien George | 2014-02-04 14:11:32 -0800 |
| commit | e0723497b3dbce94e6ce2a2dcd59af510f094fa4 (patch) | |
| tree | 982b1bffa524add87b76d4fe1fd7344f05a490ee /stm/stmperiph | |
| parent | e5a15cb7a5a548e6e38cd82661af181fda038206 (diff) | |
| parent | 1570a96cad0b886f21a07eb13c3377a0f79abc1e (diff) | |
Merge pull request #259 from dhylands/netduino
Initial support for Netduino
Diffstat (limited to 'stm/stmperiph')
| -rw-r--r-- | stm/stmperiph/stm324x7i_eval.h | 4 |
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)
|
