Skip to content

Commit b12ccef

Browse files
committed
uart implementation for rp2040
1 parent 1cd4e45 commit b12ccef

File tree

4 files changed

+175
-330
lines changed

4 files changed

+175
-330
lines changed

locale/circuitpython.pot

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ msgstr ""
335335
msgid "All UART peripherals are in use"
336336
msgstr ""
337337

338+
#: ports/raspberrypi/common-hal/busio/UART.c
339+
msgid "All UART peripherals in use"
340+
msgstr ""
341+
338342
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
339343
msgid "All event channels in use"
340344
msgstr ""
@@ -1277,6 +1281,7 @@ msgstr ""
12771281
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
12781282
#: ports/raspberrypi/common-hal/busio/I2C.c
12791283
#: ports/raspberrypi/common-hal/busio/SPI.c
1284+
#: ports/raspberrypi/common-hal/busio/UART.c
12801285
msgid "Invalid pins"
12811286
msgstr ""
12821287

@@ -1824,6 +1829,10 @@ msgstr ""
18241829
msgid "RS485 inversion specified when not in RS485 mode"
18251830
msgstr ""
18261831

1832+
#: ports/raspberrypi/common-hal/busio/UART.c
1833+
msgid "RS485 is not supported on this board"
1834+
msgstr ""
1835+
18271836
#: ports/cxd56/common-hal/rtc/RTC.c ports/esp32s2/common-hal/rtc/RTC.c
18281837
#: ports/mimxrt10xx/common-hal/rtc/RTC.c ports/nrf/common-hal/rtc/RTC.c
18291838
#: ports/raspberrypi/common-hal/rtc/RTC.c
@@ -2124,10 +2133,6 @@ msgstr ""
21242133
msgid "UART Re-init error"
21252134
msgstr ""
21262135

2127-
#: ports/raspberrypi/common-hal/busio/UART.c
2128-
msgid "UART not yet supported"
2129-
msgstr ""
2130-
21312136
#: ports/stm/common-hal/busio/UART.c
21322137
msgid "UART write error"
21332138
msgstr ""
@@ -2455,7 +2460,7 @@ msgid "binary op %q not implemented"
24552460
msgstr ""
24562461

24572462
#: shared-bindings/busio/UART.c
2458-
msgid "bits must be 7, 8 or 9"
2463+
msgid "bits must be between 5 and 8"
24592464
msgstr ""
24602465

24612466
#: shared-bindings/audiomixer/Mixer.c

0 commit comments

Comments
 (0)