Skip to content

Commit

Permalink
add hw-latest switch to the required crates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Rocha authored and jhand2 committed Mar 21, 2024
1 parent 0ddb6f3 commit 54cef2f
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ zerocopy.workspace = true

[features]
slow_tests = []
hw-latest = []

[[bin]]
name = "image"
Expand Down
1 change: 1 addition & 0 deletions drivers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ fpga_realtime = ["caliptra-hw-model/fpga_realtime"]
itrng = ["caliptra-hw-model/itrng"]
verilator = ["caliptra-hw-model/verilator"]
no-cfi = []
hw-latest = ["caliptra-registers/hw-latest"]

[dev-dependencies]
caliptra-builder.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions drivers/test-fw/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ caliptra-cfi-lib = { workspace = true, default-features = false, features = ["cf
[features]
emu = ["caliptra-test-harness/emu"]
fpga_realtime = []
hw-latest = ["caliptra-drivers/hw-latest", "caliptra-registers/hw-latest"]


# This feature is used to filter all these binary targets during normal builds
# (targets must be built with cargo arguments:
Expand Down
1 change: 1 addition & 0 deletions fmc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ fpga_realtime = ["caliptra-hw-model/fpga_realtime"]
itrng = ["caliptra-hw-model/itrng"]
verilator = ["caliptra-hw-model/verilator"]
fake-fmc = []
hw-latest = ["caliptra-registers/hw-latest", "caliptra-drivers/hw-latest"]
3 changes: 3 additions & 0 deletions kat/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ caliptra-drivers.workspace = true
caliptra-lms-types.workspace = true
zerocopy.workspace = true
ufmt.workspace = true

[features]
hw-latest = ["caliptra-drivers/hw-latest"]
1 change: 1 addition & 0 deletions rom/dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ no-fmc = []
fake-rom = []
no-cfi = ["caliptra-image-verify/no-cfi", "caliptra-drivers/no-cfi"]
slow_tests = []
hw-latest = ["caliptra-registers/hw-latest", "caliptra-drivers/hw-latest"]

[[bin]]
name = "asm_tests"
Expand Down
1 change: 1 addition & 0 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ verilator = ["caliptra-hw-model/verilator"]
fips_self_test=[]
no-cfi = ["caliptra-image-verify/no-cfi", "caliptra-drivers/no-cfi"]
fpga_realtime = ["caliptra-drivers/fpga_realtime"]
hw-latest = ["caliptra-drivers/hw-latest"]

0 comments on commit 54cef2f

Please sign in to comment.