Skip to content

Commit 052ed4d

Browse files
committed
Fix serial ports on STM32
1 parent f56d725 commit 052ed4d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

variants/ENVIE_M4/pins_arduino.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
#include "mbed_config.h"
1+
#include "mbed_config.h"
2+
3+
#define SERIAL_HOWMANY 1
4+
#define SERIAL1_TX SERIAL_TX
5+
#define SERIAL1_RX SERIAL_RX
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
#include "mbed_config.h"
1+
#include "mbed_config.h"
2+
3+
#define SERIAL_HOWMANY 1
4+
#define SERIAL1_TX SERIAL_TX
5+
#define SERIAL1_RX SERIAL_RX

0 commit comments

Comments
 (0)