Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MCTP control command tests #46

Merged
merged 24 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d2f1766
Add MCTP mux component and instantiate it in the board configuration
Dec 4, 2024
9782964
Merge branch 'main' of https://github.com/chipsalliance/caliptra-mcu-…
Dec 5, 2024
163e095
Add interrupts support for I3C target
swenson Dec 6, 2024
2a37cdf
Merge remote-tracking branch 'origin/i3c-irq' into pbhogaraju/mctp_ca…
Dec 6, 2024
94a5197
add i3c peripheral and driver fixes (#51)
parvathib Dec 6, 2024
5c423ba
Merge branch 'i3c-irq' of https://github.com/chipsalliance/caliptra-m…
Dec 6, 2024
0bf8cf3
emulator: route IBIs from the TTI register to the I3C controller
swenson Dec 6, 2024
9613341
Merge branch 'i3c-irq' of https://github.com/chipsalliance/caliptra-m…
Dec 6, 2024
491b4b0
Merge branch 'main' of https://github.com/chipsalliance/caliptra-mcu-…
Dec 6, 2024
91180f3
Get the 5th byte correctly
swenson Dec 6, 2024
93eb398
Send an interrupt immediately when a new I3C command is sent to a target
swenson Dec 7, 2024
084de78
Merge branch 'i3c-irq' of https://github.com/chipsalliance/caliptra-m…
Dec 7, 2024
bce3a88
test framework draft for mctp control commands
Dec 7, 2024
3dcf202
Set EID command tested
Dec 7, 2024
a1c73a5
resolve merge conflicts with main
Dec 7, 2024
ca8f1b5
basic set EID command test
Dec 9, 2024
7cbc2c3
Merge branch 'main' of https://github.com/chipsalliance/caliptra-mcu-…
Dec 9, 2024
29e2bab
refactor mctp ctrl cmd tests and add more tests
Dec 10, 2024
6756d4f
All tests working
Dec 10, 2024
09e8e58
Merge branch 'main' of https://github.com/chipsalliance/caliptra-mcu-…
Dec 10, 2024
9a881c5
precheckin passing
Dec 10, 2024
6b61294
clean up the code and remove print statements
Dec 10, 2024
633e4cd
Address review comments
Dec 11, 2024
e95ad53
Merge branch 'main' of https://github.com/chipsalliance/caliptra-mcu-…
Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ serde_json = { version = "1.0.127", features = ["alloc"] }
syn = "1.0.107"
tock-registers = { git = "https://github.com/tock/tock.git", rev = "b128ae817b86706c8c4e39d27fae5c54b98659f1" }
zerocopy = { version = "0.8.7", features = ["derive"] }
crc = "3.2.1"

# Always optimize the emulator during tests, as it is a major bottleneck for
# test speed.
Expand Down
7 changes: 6 additions & 1 deletion emulator/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ gdbstub.workspace = true
hex.workspace = true
tock-registers.workspace = true
zerocopy.workspace = true
bitfield.workspace = true
crc.workspace = true
strum = "0.24"
strum_macros = "0.24"

[features]
default = []
test-i3c-simple = []
test-i3c-constant-writes = ["emulator-periph/test-i3c-constant-writes"]
test-flash-ctrl-init = []
test-flash-ctrl-read-write-page = []
test-flash-ctrl-erase-page = []
test-flash-ctrl-erase-page = []
test-mctp-ctrl-cmds = ["emulator-periph/test-mctp-ctrl-cmds"]
Loading