+1
−0
+12
−0
+1
−0
samples/rust/rust_i2c_client.rs
0 → 100644
+147
−0
Loading
Add a new `rust_i2c_client` sample, showing how to create a new i2c client using `i2c::Registration` Acked-by:Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Igor Korotin <igor.korotin.linux@gmail.com> Link: https://patch.msgid.link/20251116162210.171542-1-igor.korotin.linux@gmail.com [ * Remove dependency to I2C_CHARDEV, depend on I2C=y. * Remove unnecessary impl Drop for SampleDriver. * Rename i2c::Registration, import Devres. * Fixup module description. * Add new source file to MAINTAINERS. - Danilo ] Signed-off-by:
Danilo Krummrich <dakr@kernel.org>