Add SDIO pin definitions to the Maple RET6 variant

It was missing, but needed since that variant (RET6) includes the SDIO peripheral, so the files are included in the compilation.
This commit is contained in:
victorpv 2018-05-03 11:39:17 -05:00 committed by GitHub
parent 2d8c6197a9
commit 6c33d73f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -102,6 +102,16 @@
#define BOARD_USB_DISC_DEV GPIOC
#define BOARD_USB_DISC_BIT 12
/*
* SDIO Pins
*/
#define BOARD_SDIO_D0 PC8
#define BOARD_SDIO_D1 PC9
#define BOARD_SDIO_D2 PC10
#define BOARD_SDIO_D3 PC11
#define BOARD_SDIO_CLK PC12
#define BOARD_SDIO_CMD PD2
/* Pin aliases: these give the GPIO port/bit for each pin as an
* enum. These are optional, but recommended. They make it easier to
* write code using low-level GPIO functionality. */
@ -117,4 +127,4 @@ enum {
//15 16 17 18 19 20 21 22 23 24 25 26 27 28
//29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
//29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45