summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-09-21 14:04:33 +1000
committerDamien George <damien.p.george@gmail.com>2018-09-21 14:04:33 +1000
commit4df1943948d357f6f62c6f23a241476490dcd3b4 (patch)
tree9200bde0d853c7c1f4650083848e350871b64caf
parentcdc01408c7d220cc471e63c560df6ee4db6da95d (diff)
stm32/boards/NUCLEO_F091RC: Enable USART3-8 with default pins.
-rw-r--r--ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.h b/ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.h
index 3546d521b..5e67916cb 100644
--- a/ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.h
+++ b/ports/stm32/boards/NUCLEO_F091RC/mpconfigboard.h
@@ -26,6 +26,18 @@
#define MICROPY_HW_UART1_RX (pin_B7)
#define MICROPY_HW_UART2_TX (pin_A2)
#define MICROPY_HW_UART2_RX (pin_A3)
+#define MICROPY_HW_UART3_TX (pin_C10)
+#define MICROPY_HW_UART3_RX (pin_C11)
+#define MICROPY_HW_UART4_TX (pin_A0)
+#define MICROPY_HW_UART4_RX (pin_A1)
+#define MICROPY_HW_UART5_TX (pin_B3)
+#define MICROPY_HW_UART5_RX (pin_B4)
+#define MICROPY_HW_UART6_TX (pin_C0)
+#define MICROPY_HW_UART6_RX (pin_C1)
+#define MICROPY_HW_UART7_TX (pin_C6)
+#define MICROPY_HW_UART7_RX (pin_C7)
+#define MICROPY_HW_UART8_TX (pin_C2)
+#define MICROPY_HW_UART8_RX (pin_C3)
// USART2 is connected to the ST-LINK USB VCP
#define MICROPY_HW_UART_REPL PYB_UART_2