Skip to content

Commit 1a182df

Browse files
Michael SchwarczOren Cohen
authored andcommitted
Add serial_tx_pinmap() and serial_rx_pinmap() to serial_api.c
1 parent c83ef8a commit 1a182df

File tree

1 file changed

+10
-0
lines changed
  • targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/TARGET_MUSCA_A1_NS

1 file changed

+10
-0
lines changed

targets/TARGET_ARM_SSG/TARGET_MUSCA_A1/TARGET_MUSCA_A1_NS/serial_api.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,13 @@ void serial_set_flow_control(serial_t *obj, FlowControl type, PinName rxflow,
310310
{
311311
error("serial_set_flow_control: Flow control is not supported in MUSCA");
312312
}
313+
314+
const PinMap *serial_tx_pinmap()
315+
{
316+
return PinMap_UART_TX;
317+
}
318+
319+
const PinMap *serial_rx_pinmap()
320+
{
321+
return PinMap_UART_RX;
322+
}

0 commit comments

Comments
 (0)