From e2f5892e2970bcc13b0f7d3d7d0cb949e2a8d584 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 6 May 2025 19:09:37 +0800 Subject: [PATCH] add a target for the kernel specifically on the boards this allows us to map the spinor values in for the swapper without having to break other abstractions --- kernel/Cargo.toml | 2 +- kernel/test/hello | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 kernel/test/hello diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 12e3510e0..573cef03f 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -52,7 +52,7 @@ cramium-soc = [ ] verilator-only = [] cramium-fpga = ["utralib/cramium-fpga", "rand_chacha"] -board-baosec = [] +board-baosec = ["cramium-hal/kernel-baosec"] board-baosor = [] board-dabao = [] diff --git a/kernel/test/hello b/kernel/test/hello new file mode 100644 index 000000000..191028156 --- /dev/null +++ b/kernel/test/hello @@ -0,0 +1 @@ +foo \ No newline at end of file