1 parent b32c01b commit 7165fbdCopy full SHA for 7165fbd
1 file changed
stmhal/boards/STM32L476DISC/mpconfigboard.h
@@ -29,6 +29,10 @@
29
#define MICROPY_HW_UART2_PORT (GPIOD)
30
#define MICROPY_HW_UART2_PINS (GPIO_PIN_5 | GPIO_PIN_6)
31
32
+// USART 2 is connected to the virtual com port on the ST-LINK
33
+#define MICROPY_HW_UART_REPL PYB_UART_2
34
+#define MICROPY_HW_UART_REPL_BAUD 115200
35
+
36
// I2C busses
37
#define MICROPY_HW_I2C1_SCL (pin_B6)
38
#define MICROPY_HW_I2C1_SDA (pin_B7)
0 commit comments