Add SPI and merge zephyr_(serial|i2c) into busio · MicroPythonNexus/circuitpython@cf9f4a5 · GitHub
Skip to content

Commit cf9f4a5

Browse files
committed
Add SPI and merge zephyr_(serial|i2c) into busio
Also: * Add enabling modules based on other available modules. (Such as displayio when busio is available.) * Implement ticks for display refreshes. * Be more rigorous finding flash and RAM regions. Add tests.
1 parent 97b8343 commit cf9f4a5

50 files changed

Lines changed: 1852 additions & 1632 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/run-tests.yml

Lines changed: 54 additions & 30 deletions

locale/circuitpython.pot

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,9 +1117,8 @@ msgid ""
11171117
"Frequency must be 24, 150, 396, 450, 528, 600, 720, 816, 912, 960 or 1008 Mhz"
11181118
msgstr ""
11191119

1120-
#: ports/zephyr-cp/bindings/zephyr_i2c/I2C.c shared-bindings/bitbangio/I2C.c
1121-
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/I2C.c
1122-
#: shared-bindings/busio/SPI.c
1120+
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
1121+
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
11231122
msgid "Function requires lock"
11241123
msgstr ""
11251124

@@ -1462,8 +1461,7 @@ msgstr ""
14621461
msgid "Mount point directory missing"
14631462
msgstr ""
14641463

1465-
#: ports/zephyr-cp/bindings/zephyr_serial/UART.c shared-bindings/busio/UART.c
1466-
#: shared-bindings/displayio/Group.c
1464+
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
14671465
msgid "Must be a %q subclass."
14681466
msgstr ""
14691467

@@ -2396,6 +2394,12 @@ msgstr ""
23962394
msgid "Update failed"
23972395
msgstr ""
23982396

2397+
#: ports/zephyr-cp/common-hal/busio/I2C.c
2398+
#: ports/zephyr-cp/common-hal/busio/SPI.c
2399+
#: ports/zephyr-cp/common-hal/busio/UART.c
2400+
msgid "Use device tree to define %q devices"
2401+
msgstr ""
2402+
23992403
#: ports/espressif/common-hal/_bleio/Characteristic.c
24002404
#: ports/nordic/common-hal/_bleio/Characteristic.c
24012405
#: ports/nordic/common-hal/_bleio/Descriptor.c

ports/zephyr-cp/Makefile

Lines changed: 12 additions & 1 deletion

0 commit comments

Comments
 (0)