Skip to content

Commit a494e3f

Browse files
committed
add serial1 to micromod processor board
1 parent 15a14e8 commit a494e3f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

variants/SFE_ARTEMIS_MM_PB/variant.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
#include "variant.h"
77

8+
UART Serial1(TX1, RX1, RTS1, CTS1);
9+
810
void initVariant(void){
911

1012
}

variants/SFE_ARTEMIS_MM_PB/variant.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
#define VARIANT_Wire1_SDA I2C1_SDA
3030
#define VARIANT_Wire1_SCL I2C1_SCL
3131

32+
// UART
33+
extern UART Serial1;
34+
3235
// temporary patch to support Arduino SD library
3336
#define SS SPI_CS
3437
#define MOSI SPI_SDO

0 commit comments

Comments
 (0)