Skip to content

Commit 3874930

Browse files
jfrey-xxdlech
authored andcommitted
bricks/primehub: Restore access to LWP3 and UART classes.
Commit 1ccc277 introduced discrepancies between Essential and Prime hubs. Add back access to LWP3Device and UARTDevice classes.
1 parent 162b97c commit 3874930

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
## [Unreleased]
66

7+
### Fixed
8+
- Fix missing classes in `pybricks.iodevices` on SPIKE Prime (regression in
9+
4.0.0b2) ([pybricks-micropython#456]).
10+
11+
[pybricks-micropython#456]: https://github.com/pybricks/pybricks-micropython/pull/456
12+
713
## [4.0.0b4] - 2026-01-22
814

915
### Added

bricks/primehub/mpconfigport.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@
3232
#define PYBRICKS_PY_EXPERIMENTAL (1)
3333
#define PYBRICKS_PY_HUBS (1)
3434
#define PYBRICKS_PY_IODEVICES (1)
35-
#define PYBRICKS_PY_IODEVICES_PUP_DEVICE (1)
35+
#define PYBRICKS_PY_IODEVICES_ANALOG_SENSOR (0)
36+
#define PYBRICKS_PY_IODEVICES_DC_MOTOR (0)
37+
#define PYBRICKS_PY_IODEVICES_I2C_DEVICE (0)
38+
#define PYBRICKS_PY_IODEVICES_LUMP_DEVICE (0)
39+
#define PYBRICKS_PY_IODEVICES_LWP3_DEVICE (1)
40+
#define PYBRICKS_PY_IODEVICES_PUP_DEVICE (1)
41+
#define PYBRICKS_PY_IODEVICES_UART_DEVICE (1)
3642
#define PYBRICKS_PY_IODEVICES_XBOX_CONTROLLER (1)
3743
#define PYBRICKS_PY_MEDIA_IMAGE (0)
3844
#define PYBRICKS_PY_MESSAGING (1)

0 commit comments

Comments
 (0)