9个版本 (5个重大更改)
0.5.1 | 2022年9月23日 |
---|---|
0.4.2 | 2021年8月1日 |
0.4.1 | 2021年4月27日 |
0.3.0 | 2021年3月24日 |
0.1.0 | 2020年11月28日 |
#507 在 嵌入式开发
每月26次下载
52KB
967 代码行
daisy_bsp
Rust no_std
, embedded_hal
的Electro-Smith Daisy Seed板级支持包。
入门指南
cargo install cargo-generate
cargo generate \
--git https://github.com/antoinevg/hello-daisy \
--name hello-daisy
讨论
https://forum.electro-smith.com/t/rust-starter-for-daisy-seed/
状态
进行中。
示例
示例可以通过以下方式运行
cargo run --example <example_name>
音频示例中的回调可以采用函数指针或闭包的形式。
要使用闭包,您需要启用 alloc
功能,并使用rust nightly进行编译。
例如
cargo +nightly run --example audio_midi --features="alloc, uses_num"
lib.rs
:
Daisy硬件的板级支持crate
使用 - 请参阅 examples/
依赖项
~93MB
~2.5M SLoC