[dartuino] Add pin config for e-ink and spi2

This commit is contained in:
Christopher Anderson
2016-04-29 13:14:20 -07:00
parent 062a850357
commit fa533f12f3

View File

@@ -87,11 +87,14 @@
#define GPIO_GYRO_INT GPIO(GPIO_PORT_K, 5)
#define GPIO_ACC_nCS GPIO(GPIO_PORT_K, 2)
#define GPIO_ACC_INT GPIO(GPIO_PORT_K, 3)
#define GPIO_SPI2_SCK GPIO(GPIO_PORT_B, 15)
#define GPIO_SPI2_SCK GPIO(GPIO_PORT_D, 3)
#define GPIO_SPI2_MISO GPIO(GPIO_PORT_I, 2)
#define GPIO_SPI2_MOSI GPIO(GPIO_PORT_B, 12)
#define GPIO_SPI2_MOSI GPIO(GPIO_PORT_B, 15)
#define GPIO_SPI5_SCK GPIO(GPIO_PORT_F, 7)
#define GPIO_SPI5_MISO GPIO(GPIO_PORT_F, 8)
#define GPIO_SPI5_MOSI GPIO(GPIO_PORT_F, 9)
#define GPIO_DISP_CS GPIO(GPIO_PORT_B, 12)
#define GPIO_DISP_SCK GPIO(GPIO_PORT_D, 3)
#define GPIO_DISP_MOSI GPIO(GPIO_PORT_B, 15)
#endif