Skip to content

Commit 0739044

Browse files
authored
psu_seq: refactor ereports to use microcbor (#2284)
PR #2246 introduced the `microcbor` crate for derivable CBOR serialization with a fixed max length. That branch changed the ereports in `drv_gimlet_seq_server` to use the new derives. The intent at the time was to update other existing ereports, such as those in `drv_psc_seq_server`, separately. This branch does that.
1 parent a4bfab9 commit 0739044

File tree

4 files changed

+97
-126
lines changed

4 files changed

+97
-126
lines changed

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

drv/psc-seq-server/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ drv-stm32xx-sys-api = { path = "../../drv/stm32xx-sys-api", features = ["family-
1010
drv-i2c-api = { path ="../../drv/i2c-api", features = ["component-id"] }
1111
drv-i2c-devices.path = "../../drv/i2c-devices"
1212
task-jefe-api.path = "../../task/jefe-api"
13-
task-packrat-api = { path = "../../task/packrat-api", features = ["serde"] }
13+
task-packrat-api = { path = "../../task/packrat-api", features = ["microcbor"] }
1414
userlib = { path = "../../sys/userlib", features = ["panic-messages"] }
1515
ringbuf = { path = "../../lib/ringbuf", features = ["counters"] }
1616
counters = { path = "../../lib/counters" }
1717
static-cell = { path = "../../lib/static-cell" }
18-
serde.workspace = true
18+
microcbor.path = "../../lib/microcbor"
19+
fixedstr = { path = "../../lib/fixedstr", features = ["microcbor"] }
1920

2021
[build-dependencies]
2122
idol.workspace = true

0 commit comments

Comments
 (0)