Skip to content

Commit 29e672f

Browse files
authored
Merge pull request #4071 from tannewt/rp2040_uart_error
Raise an error on UART use
2 parents a9227e1 + b42e94e commit 29e672f

File tree

1 file changed

+1
-0
lines changed
  • ports/raspberrypi/common-hal/busio

1 file changed

+1
-0
lines changed

ports/raspberrypi/common-hal/busio/UART.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
5454
uint32_t baudrate, uint8_t bits, busio_uart_parity_t parity, uint8_t stop,
5555
mp_float_t timeout, uint16_t receiver_buffer_size, byte* receiver_buffer,
5656
bool sigint_enabled) {
57+
mp_raise_NotImplementedError(translate("UART not yet supported"));
5758

5859
// Sercom* sercom = NULL;
5960
// uint8_t sercom_index = 255; // Unset index

0 commit comments

Comments
 (0)