Skip to content

Commit

Permalink
Update flash.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Feb 23, 2025
1 parent 4dfd0db commit 4f9359c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions flash.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

# hold reset button while pluggin your MCU
# into USB to enter bootloader mode
# hold reset button while pluggin your Leonardo ATmega32U4
# into USB until 3 yellow lights flash
# to enter bootloader mode

avrdude -p m32u4 -c avr109 -P /dev/ttyACM0 -U flash:w:./I2CUSB.hex

avrdude -p m32u4 -c avr109 -P /dev/ttyACM0 -U flash:w:/path/to/your/firmware.hex

0 comments on commit 4f9359c

Please sign in to comment.