Skip to content

Commit

Permalink
Deprecate FMC's test-fw crate.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Rocha authored and jhand2 committed Mar 12, 2024
1 parent cddb376 commit 2dfcf87
Show file tree
Hide file tree
Showing 12 changed files with 188 additions and 377 deletions.
16 changes: 0 additions & 16 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ members = [
"drivers/test-fw",
"drivers/test-fw/scripts/vector_gen",
"fmc",
"fmc/test-fw/test-rt",
"hw/1.0/registers",
"hw/latest/registers",
"hw/verilated",
Expand Down
23 changes: 6 additions & 17 deletions builder/src/firmware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -339,21 +339,6 @@ pub mod rom_tests {
};
}

pub mod fmc_tests {
use super::*;

pub const MOCK_RT_WITH_UART: FwId = FwId {
crate_name: "caliptra-fmc-mock-rt",
bin_name: "caliptra-fmc-mock-rt",
features: &["emu"],
};
pub const MOCK_RT_INTERACTIVE: FwId = FwId {
crate_name: "caliptra-fmc-mock-rt",
bin_name: "caliptra-fmc-mock-rt",
features: &["emu", "interactive_test"],
};
}

pub mod runtime_tests {
use super::*;

Expand All @@ -377,6 +362,11 @@ pub mod runtime_tests {
bin_name: "persistent_rt",
..RUNTIME_TEST_FWID_BASE
};

pub const MOCK_RT_INTERACTIVE: FwId = FwId {
bin_name: "mock_rt_interact",
..RUNTIME_TEST_FWID_BASE
};
}

pub const REGISTERED_FW: &[&FwId] = &[
Expand Down Expand Up @@ -434,9 +424,8 @@ pub const REGISTERED_FW: &[&FwId] = &[
&rom_tests::TEST_FMC_INTERACTIVE,
&rom_tests::FAKE_TEST_FMC_INTERACTIVE,
&rom_tests::TEST_RT_WITH_UART,
&fmc_tests::MOCK_RT_WITH_UART,
&fmc_tests::MOCK_RT_INTERACTIVE,
&runtime_tests::BOOT,
&runtime_tests::MBOX,
&runtime_tests::PERSISTENT_RT,
&runtime_tests::MOCK_RT_INTERACTIVE,
];
30 changes: 0 additions & 30 deletions fmc/test-fw/test-rt/Cargo.toml

This file was deleted.

26 changes: 0 additions & 26 deletions fmc/test-fw/test-rt/build.rs

This file was deleted.

158 changes: 0 additions & 158 deletions fmc/test-fw/test-rt/src/interactive_test.rs

This file was deleted.

Loading

0 comments on commit 2dfcf87

Please sign in to comment.