aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/boards/maple_native.h
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/boards/maple_native.h')
-rw-r--r--wirish/boards/maple_native.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/wirish/boards/maple_native.h b/wirish/boards/maple_native.h
index 4e3ee82..10dafa6 100644
--- a/wirish/boards/maple_native.h
+++ b/wirish/boards/maple_native.h
@@ -43,22 +43,22 @@
#define CYCLES_PER_MICROSECOND 72
#define SYSTICK_RELOAD_VAL 71999
-#define BOARD_LED_PIN 21
-#define BOARD_BUTTON_PIN 18
+#define BOARD_LED_PIN 22
+#define BOARD_BUTTON_PIN 6
#define BOARD_NR_USARTS 5
-#define BOARD_USART1_TX_PIN 25
-#define BOARD_USART1_RX_PIN 26
-#define BOARD_USART2_TX_PIN 51
-#define BOARD_USART2_RX_PIN 52
+#define BOARD_USART1_TX_PIN 26
+#define BOARD_USART1_RX_PIN 27
+#define BOARD_USART2_TX_PIN 52
+#define BOARD_USART2_RX_PIN 53
#define BOARD_USART3_TX_PIN 0
#define BOARD_USART3_RX_PIN 1
-#define BOARD_UART4_TX_PIN 18
-#define BOARD_UART4_RX_PIN 19
-#define BOARD_UART5_TX_PIN 20
-#define BOARD_UART5_RX_PIN 28
+#define BOARD_UART4_TX_PIN 19
+#define BOARD_UART4_RX_PIN 20
+#define BOARD_UART5_TX_PIN 21
+#define BOARD_UART5_RX_PIN 29
-#define BOARD_NR_GPIO_PINS 100
+#define BOARD_NR_GPIO_PINS 101
#define BOARD_NR_PWM_PINS 18
#define BOARD_NR_ADC_PINS 21
/* FIXME! this isn't true at all; almost all of the triple header pins