Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: markus2330 on December 30, 2021, 04:06:13 PM

Title: Using Rust
Post by: markus2330 on December 30, 2021, 04:06:13 PM
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