6 releases

Uses old Rust 2015

0.2.2 Feb 13, 2021
0.2.1 Oct 1, 2020
0.2.0 Jul 25, 2020
0.1.3 Dec 9, 2017

#1122 in Embedded development

MIT license

50MB
2M SLoC

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

Contains (obscure autoconf code, 50KB) avr-libc/configure.ac

avr-libc

Crates.io MIT licensed

Bindings to avr-libc.

Does not require avr-libc to be installed on the system, but it does require the avr-gcc compiler to compile avr-libc itself.

Documentation


lib.rs:

Rust bindings to avr-libc.

When compiled with the avr-rust compiler, the libc bindings in this crate automatically pick up the right mcu-specific headers depending on what cpu is specified in the target specification file.

This means that on different microcontrollers, this crate will have a different public API. In general, most functions are the same across all chips. Many constants however are device-specific.

No runtime deps