aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-05-11 13:23:30 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-05-11 13:23:30 -0400
commitc983541712c382034dcc2386f2b178bce58543c5 (patch)
treee5ae4a687413239ffcbeaba75283c0848dea393b
parent9cfd9ba5d6e2933e72dd93b048e62b9e9494fafb (diff)
downloadlibrambutan-c983541712c382034dcc2386f2b178bce58543c5.tar.gz
librambutan-c983541712c382034dcc2386f2b178bce58543c5.zip
Adding SPI3 definitions for Maple RET6 Edition.
-rw-r--r--wirish/boards/maple_RET6.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/wirish/boards/maple_RET6.h b/wirish/boards/maple_RET6.h
index 4195857..e70edce 100644
--- a/wirish/boards/maple_RET6.h
+++ b/wirish/boards/maple_RET6.h
@@ -55,7 +55,7 @@
#define BOARD_USART3_TX_PIN 29
#define BOARD_USART3_RX_PIN 30
-#define BOARD_NR_SPI 2
+#define BOARD_NR_SPI 3
#define BOARD_SPI1_NSS_PIN 10
#define BOARD_SPI1_MOSI_PIN 11
#define BOARD_SPI1_MISO_PIN 12
@@ -64,6 +64,10 @@
#define BOARD_SPI2_MOSI_PIN 34
#define BOARD_SPI2_MISO_PIN 33
#define BOARD_SPI2_SCK_PIN 32
+#define BOARD_SPI3_NSS_PIN 41
+#define BOARD_SPI3_MOSI_PIN 4
+#define BOARD_SPI3_MISO_PIN 43
+#define BOARD_SPI3_SCK_PIN 42
#define BOARD_NR_GPIO_PINS 44
#define BOARD_NR_PWM_PINS 16