fix dabao target dependencies

This commit is contained in:
bunnie 2025-12-02 02:27:01 +08:00
parent 988570d6a6
commit 9b54fdb64f
2 changed files with 10 additions and 3 deletions

View file

@ -105,9 +105,14 @@ board-baosec = [
"sha2-bao1x",
"digest",
"ux-api/loader-baosec",
"aes/loader-baosec",
]
board-baosor = ["bao1x-hal/loader-baosor"]
board-dabao = ["bao1x-hal/loader-dabao", "bao1x-hal/board-dabao"]
board-dabao = [
"bao1x-hal/loader-dabao",
"bao1x-hal/board-dabao",
"aes/loader-dabao",
]
atsama5d27 = ["utralib/atsama5d27", "armv7", "dep:atsama5d27"]
# precursor flags

View file

@ -21,10 +21,12 @@ level = "warn"
check-cfg = ["cfg(aes_compact)", "cfg(aes_force_soft)"]
[features]
hazmat = [] # Expose cryptographically hazardous APIs
hazmat = [] # Expose cryptographically hazardous APIs
bao1x = []
vexii-test = []
precursor = []
renode = []
chaffing = ["rand_chacha", "hex", "utralib/bao1x", "bao1x-hal/loader-baosec"]
chaffing = ["rand_chacha", "hex"]
loader-baosec = ["utralib/bao1x", "bao1x-hal/loader-baosec"]
loader-dabao = ["utralib/bao1x", "bao1x-hal/loader-dabao"]
default = []