ansible/roles/pi-knxd/flash-firmware.sh

9 lines
167 B
Bash

#!/bin/bash
apt-get -y install dfu-programmer
dfu-programmer atmega32u4 erase
dfu-programmer atmega32u4 flash TPUARTtransparent.hex
dfu-programmer atmega32u4 reset