add more signing targets

This commit is contained in:
bunnie 2025-11-13 22:19:01 +08:00
parent 22cfaafce4
commit 6f65959adb

View file

@ -9,7 +9,7 @@
param(
[Parameter(Mandatory = $true)]
[ValidateSet("baremetal", "dabao", "baosec", "bootloader", "kernel", "loader", "swap", "apps", "boot1")]
[ValidateSet("baremetal", "dabao", "baosec", "bootloader", "kernel", "loader", "swap", "apps", "boot1", "alt-boot1")]
[string]$Config,
[Parameter(Mandatory = $false)]
@ -65,6 +65,9 @@ $configurations = @{
"boot1" = @(
@{ Image = "bao1x-boot1.img"; FunctionCode = "boot1" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" }
)
"alt-boot1" = @(
@{ Image = "bao1x-alt-boot1.img"; FunctionCode = "baremetal" ; TargetDir = "target\riscv32imac-unknown-none-elf\release" }
)
}
# Color output functions for better visibility