add more features to the loader for the cramium target

this *shouldn't* break other builds because the loader has
its arguments set by xtask for every target explicitly.
This commit is contained in:
bunnie 2024-01-21 01:14:51 +08:00
parent 48a839b7e8
commit d981bbe550

View file

@ -20,6 +20,17 @@ sha2-loader = { path = "./sha2-loader", default-features = false, optional = tru
cramium-hal = { path = "../libs/cramium-hal", optional = true, features = [ cramium-hal = { path = "../libs/cramium-hal", optional = true, features = [
"baremetal", "baremetal",
] } ] }
xous-pl230 = { path = "../libs/xous-pl230", optional = true, features = [
"tests",
"pio",
"cramium-soc",
"baremetal",
] }
xous-pio = { path = "../libs/xous-pio", optional = true, features = [
"tests",
"cramium-soc",
"baremetal",
] }
[dependencies.com_rs] [dependencies.com_rs]
git = "https://github.com/betrusted-io/com_rs" git = "https://github.com/betrusted-io/com_rs"
@ -50,6 +61,8 @@ cramium-soc = [
"debug-print", "debug-print",
"simulation-only", "simulation-only",
"cramium-hal", "cramium-hal",
"xous-pio",
"xous-pl230",
] ]
cramium-fpga = [ cramium-fpga = [
"utralib/cramium-fpga", "utralib/cramium-fpga",
@ -66,5 +79,5 @@ secboot = []
simulation-only = [] simulation-only = []
board-bringup = [] board-bringup = []
#default = ["debug-print"] #default = ["debug-print"]
resume = [] # suspend/resume pathway code resume = [] # suspend/resume pathway code
default = ["debug-print"] default = ["debug-print", "board-bringup"]