diff --git a/builder/Cargo.toml b/builder/Cargo.toml index 31e9d81089..4c124c1a84 100644 --- a/builder/Cargo.toml +++ b/builder/Cargo.toml @@ -24,6 +24,7 @@ zerocopy.workspace = true [features] slow_tests = [] +hw-latest = [] [[bin]] name = "image" diff --git a/drivers/Cargo.toml b/drivers/Cargo.toml index 2c2a3d70fd..c18ea5a487 100644 --- a/drivers/Cargo.toml +++ b/drivers/Cargo.toml @@ -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 diff --git a/drivers/test-fw/Cargo.toml b/drivers/test-fw/Cargo.toml index bc47f424ba..06bf1c63f9 100644 --- a/drivers/test-fw/Cargo.toml +++ b/drivers/test-fw/Cargo.toml @@ -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: diff --git a/fmc/Cargo.toml b/fmc/Cargo.toml index a2e4fd245f..49ed0eeaf2 100644 --- a/fmc/Cargo.toml +++ b/fmc/Cargo.toml @@ -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"] diff --git a/kat/Cargo.toml b/kat/Cargo.toml index b5d513e5d7..274e97cdc9 100644 --- a/kat/Cargo.toml +++ b/kat/Cargo.toml @@ -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"] diff --git a/rom/dev/Cargo.toml b/rom/dev/Cargo.toml index 70768d1585..6a682a7857 100644 --- a/rom/dev/Cargo.toml +++ b/rom/dev/Cargo.toml @@ -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" diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index b67d288e59..a1ce73a2a6 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -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"]