aboutsummaryrefslogtreecommitdiff
path: root/platforms/chibios/boards/STEMCELL/configs/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/boards/STEMCELL/configs/config.h')
-rw-r--r--platforms/chibios/boards/STEMCELL/configs/config.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/platforms/chibios/boards/STEMCELL/configs/config.h b/platforms/chibios/boards/STEMCELL/configs/config.h
index 82f6c63636..ab10432e4e 100644
--- a/platforms/chibios/boards/STEMCELL/configs/config.h
+++ b/platforms/chibios/boards/STEMCELL/configs/config.h
@@ -27,3 +27,18 @@
# define SERIAL_USART_DRIVER SD2
#endif
+/**======================
+ ** SPI Driver
+ *========================**/
+#ifndef SPI_DRIVER
+# define SPI_DRIVER SPID1
+#endif
+#ifndef SPI_SCK_PIN
+# define SPI_SCK_PIN B1
+#endif
+#ifndef SPI_MISO_PIN
+# define SPI_MISO_PIN B3
+#endif
+#ifndef SPI_MOSI_PIN
+# define SPI_MOSI_PIN B2
+#endif