Skip to content

Commit 59503b6

Browse files
committed
Add MCTP over USB embassy device
This provides a MCTP over USB device sending/receiving MCTP packets. It also provides run() to integrate it with a mctp_estack::Router. This is not part of the workspace because of conflicts between serde std feature and ssmarshall, pulled in by embassy-usb. https://gitlab.com/robigalia/ssmarshal/-/issues/5 Signed-off-by: Matt Johnston <[email protected]>
1 parent c689680 commit 59503b6

File tree

6 files changed

+879
-1
lines changed

6 files changed

+879
-1
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[workspace]
2-
members = [ "mctp", "mctp-linux", "mctp-estack", "pldm", "pldm-fw", "pldm-fw-cli", "standalone"]
2+
members = [ "pldm-fw-cli", "standalone" ]
3+
exclude = [ "mctp-usb-embassy" ]
34
resolver = "2"
45

56
[workspace.dependencies]

ci/runtests.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ cargo build --target thumbv7em-none-eabihf --features defmt --no-default-feature
3333
cargo build --features log
3434
)
3535

36+
# not a workspace
37+
(
38+
cd mctp-usb-embassy
39+
cargo build --target thumbv7em-none-eabihf --features defmt --no-default-features
40+
cargo build --features log
41+
cargo doc
42+
)
43+
3644
cargo doc --features mctp-estack/log
3745

3846
echo success

0 commit comments

Comments
 (0)