Cargo Features
[dependencies]
lunasoc-hal = { version = "0.1.8", default-features = false, features = ["minerva", "vexriscv", "nightly", "usb"] }
- features ------------------------------------------------------------------
- default = vexriscv
-
The
vexriscv
feature is set by default wheneverlunasoc-hal
is added without
somewhere in the dependency tree.default-features = false - minerva dev
-
select softcore
Enables minerva of moondancer-pac
- vexriscv dev default
-
Enables vexriscv of moondancer-pac
- nightly
-
use nightly features
- usb = log, smolusb
-
build smolusb hal driver
Affects
lunasoc-hal::usb
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- dependencies --------------------------------------------------------------
- log usb?
-
Enables log =0.4.17
- smolusb usb?