Skip to content

Commit 507cd23

Browse files
committed
[rom_ext] Add dice_mldsa_usbdfu rom_ext variant
This variant produces a binary that is more similar to the production configuration, which is useful for analyzing code size and coverage. Signed-off-by: Yi-Hsuan Deng <yhdeng@google.com> Change-Id: I1eb88b1b6c28306295daea3aa4ca0e296a6a6964
1 parent 5e73526 commit 507cd23

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • sw/device/silicon_creator/rom_ext/sival

sw/device/silicon_creator/rom_ext/sival/BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ ROM_EXT_CONFIGS = {
124124
"dice": "dice_x509",
125125
"deps": ["//sw/device/silicon_creator/lib/rescue:rescue_usbdfu"],
126126
},
127+
"dice_mldsa_usbdfu": {
128+
"dice": "dice_mldsa",
129+
"deps": ["//sw/device/silicon_creator/lib/rescue:rescue_usbdfu"],
130+
},
127131
}
128132

129133
[
@@ -142,6 +146,7 @@ ROM_EXT_CONFIGS = {
142146
"$(location //sw/device/silicon_creator/rom_ext:rom_ext_{})".format(config["dice"]),
143147
"$(location //sw/device/lib/crt)",
144148
],
149+
slot_spec = ROM_EXT_VARIATIONS[config["dice"]].slot_spec,
145150
spx_key = {"//sw/device/silicon_creator/rom/keys/fake/spx:spx_keyset": "prod_key_0"},
146151
deps = [
147152
# The sival_owner C library is excluded from the real ROM_EXT,

0 commit comments

Comments
 (0)