From 105f3f893c6cd636e895c1da2d5efbe525a49b42 Mon Sep 17 00:00:00 2001 From: vin Date: Mon, 15 Jan 2024 15:18:03 -0500 Subject: [PATCH] add flashing script dfu-programmer and my initial attempt at using avrdude failed on OpenBSD due to some timing issues. --- flash.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 flash.sh diff --git a/flash.sh b/flash.sh new file mode 100644 index 0000000000..e66e9b2d09 --- /dev/null +++ b/flash.sh @@ -0,0 +1,3 @@ +#!/bin/sh +[ -z "$1" ] && exit 1 +doas avrdude -p atmega32u4 -c avr109 -U flash:w:"$1"