summaryrefslogtreecommitdiff
path: root/ports/raspberrypi
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2021-01-26 08:48:30 -0800
committerScott Shawcroft <scott@tannewt.org>2021-01-26 08:48:30 -0800
commitb42e94ee2cf9b1d35ddabe36292a980bf0ed0c4f (patch)
treed3d511a57b1bee0a3ea9a58fe47927b28154a757 /ports/raspberrypi
parent4241fd4b18a9057bcd836b81c651cfb363ba8828 (diff)
Raise an error on UART use
Diffstat (limited to 'ports/raspberrypi')
-rw-r--r--ports/raspberrypi/common-hal/busio/UART.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/raspberrypi/common-hal/busio/UART.c b/ports/raspberrypi/common-hal/busio/UART.c
index 71da6cadd..f9a75b499 100644
--- a/ports/raspberrypi/common-hal/busio/UART.c
+++ b/ports/raspberrypi/common-hal/busio/UART.c
@@ -54,6 +54,7 @@ void common_hal_busio_uart_construct(busio_uart_obj_t *self,
uint32_t baudrate, uint8_t bits, busio_uart_parity_t parity, uint8_t stop,
mp_float_t timeout, uint16_t receiver_buffer_size, byte* receiver_buffer,
bool sigint_enabled) {
+ mp_raise_NotImplementedError(translate("UART not yet supported"));
// Sercom* sercom = NULL;
// uint8_t sercom_index = 255; // Unset index