Skip to content

Commit c08b0ad

Browse files
committed
Add UART support
1 parent ed394f0 commit c08b0ad

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

PortentaBreakoutCarrier.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,17 @@ class BreakoutCarrierClass {
192192
MbedI2C I2C_0;
193193
MbedI2C I2C_1;
194194
MbedI2C I2C_2;
195+
UART UART0;
196+
UART UART1;
197+
UART UART2;
198+
UART UART3;
195199
BreakoutCarrierClass() : I2C_0(PH_8,PH_7),
196200
I2C_1(PB_7,PB_6),
197-
I2C_2(PH_12,PH_11)
201+
I2C_2(PH_12,PH_11),
202+
UART0(PA_0, PI_9, PI_10, PI_13),
203+
UART1(PA_9, PA_10, PI_14, PI_15),
204+
UART2(PI_0, PG_9, NC, NC),
205+
UART3(PJ_8, PJ_9, NC, NC)
198206
{
199207
}
200208
};

0 commit comments

Comments
 (0)