Cargo Features
[dependencies]
xous-ticktimer = { version = "0.1.31", default-features = false, features = ["precursor", "hosted", "renode", "debug-print", "watchdog", "timestamp"] }
- precursor
-
Enables precursor of xous-api-susres and utralib
utralib:
The SVD gitrev as specified above is only invoked to track fine-grained changes between target revisions. Below is the overall target switch,
which is the preferred mechanism for isolating target-specific code.
These features are mutually exclusive. Maintainers should update the checks inside build.rs to ensure consistency. - hosted
-
Enables hosted of xous-api-susres and utralib
- renode
-
Enables renode of xous-api-susres and utralib
- debug-print
- watchdog default
- timestamp
- default = watchdog
-
you may want to remove the watchdog feature if you're debugging a crash, as it will force the system to reboot automatically
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.
Dependency versions enforced by Cargo.lock.