Cargo Features

[dependencies]
lunasoc-hal = { version = "0.1.7", default-features = false, features = ["minerva", "vexriscv", "nightly", "usb"] }

- features ------------------------------------------------------------------

default = vexriscv

The vexriscv feature is set by default whenever lunasoc-hal is added without default-features = false somewhere in the dependency tree.

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?