Skip to content

Commit b42e94e

Browse files
committed
Raise an error on UART use
1 parent 4241fd4 commit b42e94e

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy