From dd144b9446a7421dba110d5204428f0becff30e8 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 31 Oct 2025 12:12:52 +0800 Subject: [PATCH] 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 --- apps-dabao/dabao-console/Cargo.toml | 2 +- xtask/src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps-dabao/dabao-console/Cargo.toml b/apps-dabao/dabao-console/Cargo.toml index a6ee3ffc5..3adc665a6 100644 --- a/apps-dabao/dabao-console/Cargo.toml +++ b/apps-dabao/dabao-console/Cargo.toml @@ -38,4 +38,4 @@ board-dabao = [ ctap-bringup = [] usb = [] aestests = ["aes"] -default = [] +default = ["usb"] diff --git a/xtask/src/main.rs b/xtask/src/main.rs index ae29cca4e..0e78416f0 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -791,7 +791,6 @@ fn main() -> Result<(), Box> { 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"),