mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add libraries for math and make usb a feature
This commit is contained in:
parent
6c1b809828
commit
5d49d2dbb7
2 changed files with 6 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ rand_chacha = { version = "0.3.1", optional = true, default-features = false }
|
||||||
pio-proc = { version = "0.2.2", optional = true }
|
pio-proc = { version = "0.2.2", optional = true }
|
||||||
pio = { version = "0.2.1", optional = true }
|
pio = { version = "0.2.1", optional = true }
|
||||||
riscv = { version = "0.5.6", package = "xous-riscv" }
|
riscv = { version = "0.5.6", package = "xous-riscv" }
|
||||||
|
libm = { version = "0.2.8", optional = true }
|
||||||
|
|
||||||
[dependencies.com_rs]
|
[dependencies.com_rs]
|
||||||
git = "https://github.com/betrusted-io/com_rs"
|
git = "https://github.com/betrusted-io/com_rs"
|
||||||
|
|
@ -70,6 +71,7 @@ cramium-soc = [
|
||||||
"xous-pl230",
|
"xous-pl230",
|
||||||
"rand_chacha",
|
"rand_chacha",
|
||||||
"sram-margin",
|
"sram-margin",
|
||||||
|
"libm",
|
||||||
# "boot-delay",
|
# "boot-delay",
|
||||||
]
|
]
|
||||||
board-baosec = ["cramium-hal/board-baosec"]
|
board-baosec = ["cramium-hal/board-baosec"]
|
||||||
|
|
@ -106,6 +108,7 @@ dump-trng = []
|
||||||
fast-fclk = []
|
fast-fclk = []
|
||||||
clock-tests = []
|
clock-tests = []
|
||||||
reset-debug = []
|
reset-debug = []
|
||||||
|
usb = []
|
||||||
|
|
||||||
# general flags
|
# general flags
|
||||||
debug-print = []
|
debug-print = []
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,7 @@ mod update;
|
||||||
pub use update::*;
|
pub use update::*;
|
||||||
mod verifier;
|
mod verifier;
|
||||||
|
|
||||||
|
mod gfx;
|
||||||
|
mod qr;
|
||||||
|
#[cfg(feature = "usb")]
|
||||||
mod usb;
|
mod usb;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue