mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
samd/machine_uart: Add the machine.UART class.
All board pins that have UART's assigned can be used. Baud rate range is 75 Baud to ~2 MBaud. No flow control yet, and only RX is buffered. TX buffer and flow control may be added later for SAMD51 with its larger RAM and Flash.
This commit is contained in:
@@ -93,6 +93,7 @@ SRC_C = \
|
||||
machine_adc.c \
|
||||
machine_led.c \
|
||||
machine_pin.c \
|
||||
machine_uart.c \
|
||||
main.c \
|
||||
modutime.c \
|
||||
modmachine.c \
|
||||
@@ -144,6 +145,7 @@ SRC_QSTR += \
|
||||
machine_led.c \
|
||||
machine_pin.c \
|
||||
machine_pwm.c \
|
||||
machine_uart.c \
|
||||
modutime.c \
|
||||
modmachine.c \
|
||||
modsamd.c \
|
||||
|
||||
Reference in New Issue
Block a user