Using the BMI160 with an arduino uno.
- Install prerequisites as described in the
avr-hal
README (avr-gcc
,avr-libc
,avrdude
,ravedude
). - Run
cargo build
to build the firmware. - Run
cargo run
to flash the firmware to a connected board.
If using wsl use usbipd
to forward the device to wsl.
Run usbipd list
to get the busid of the device.
Run usbipd wsl attach --busid 5-2
to attach the device.