Using Rust

Started by markus2330, December 30, 2021, 04:06:13 PM

Previous topic - Next topic

markus2330

Dear Olimex Community,

is anyone here using Rust on A20-OLinuXino-LIME2? Rust/cargo was easy to install and non-hardware-related programs immediately worked.

But when trying to do GPIO, i2c etc. there seems to be a lack of libraries, e.g.:
https://reposhub.com/rust/embedded-development/rust-embedded-cortex-a.html doesn't support AArch32,
I couldn't find a binding for libgpiod2 (https://docs.rs/gpio/0.4.1/gpio/ only supports sysfs)
etc.

Which experience do you have? Better to stick for hardware-related parts with C?

best regards,
Markus