bq24195 i2c
1.0.0
La documentación para esta biblioteca debe cubrir todo lo que necesita saber sobre el chip y sus registros I2C.
Se da un ejemplo de uso en la carpeta de examples .
Esto también debería funcionar en otros tableros SAMD21.
RUSTFLAGS= ' -C link-arg=-Tlink.x ' cargo build --release --target thumbv6m-none-eabi --example arduino_mkrvidor4000
arm-none-eabi-objcopy -O binary target/thumbv6m-none-eabi/release/usbblaster-rs target/usbblaster-rs.bin
# Manual step: push reset button twice in quick succession to enter flash mode
bossac -i -d -U true -i -e -w -v target/usbblaster-rs.bin -R