6 个版本

使用旧的 Rust 2015

0.2.2 2021 年 2 月 13 日
0.2.1 2020 年 10 月 1 日
0.2.0 2020 年 7 月 25 日
0.1.3 2017 年 12 月 9 日

#1112嵌入式开发

每月 29 次下载

MIT 许可证

50MB
2M SLoC

GNU Style Assembly 2M SLoC // 0.0% comments · Rust 包仓库 C 42K SLoC // 0.3% comments · Rust 包仓库 Automake 1.5K SLoC // 0.5% comments · Rust 包仓库 Python 1K SLoC // 0.3% comments · Rust 包仓库 Shell 851 SLoC // 0.1% comments · Rust 包仓库 Perl 572 SLoC // 0.2% comments · Rust 包仓库 Bitbake 310 SLoC // 0.4% comments · Rust 包仓库 Rust 178 SLoC // 0.0% comments · Rust 包仓库 XSL 39 SLoC // 0.6% comments · Rust 包仓库 C++ 11 SLoC // 0.7% comments · Rust 包仓库

包含 (晦涩的 autoconf 代码, 50KB) avr-libc/configure.ac

avr-libc

Crates.io MIT licensed

绑定到 avr-libc.

不要求在系统中安装 avr-libc,但它需要 avr-gcc 编译器来编译 avr-libc 本身。

文档


lib.rs:

Rust 绑定到 avr-libc.

当使用 avr-rust 编译器编译时,此包中的 libc 绑定将自动根据目标规范文件中指定的 CPU 选择正确的 mcu 特定头文件。

这意味着在不同的微控制器上,此包将具有不同的公共 API。一般来说,大多数函数在所有芯片上都是相同的。然而,许多常量是设备特定的。

无运行时依赖