fix feature tree for dabao build

"usb" is now default for dabao-console, should not be passed
as a universal feature to all apps as not all apps have that
feature
This commit is contained in:
bunnie 2025-10-31 12:12:52 +08:00
parent 770c986e72
commit dd144b9446
2 changed files with 1 additions and 2 deletions

View file

@ -38,4 +38,4 @@ board-dabao = [
ctap-bringup = []
usb = []
aestests = ["aes"]
default = []
default = ["usb"]

View file

@ -791,7 +791,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
builder.add_loader_feature("debug-print");
builder.add_kernel_feature("v2p");
builder.add_detached_app_feature("usb");
match task.as_deref() {
Some("dabao") => builder.target_bao1x_soc(),
_ => panic!("should be unreachable"),