diff options
| author | Selene ToyKeeper | 2021-04-02 14:34:10 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-04-02 14:34:10 -0600 |
| commit | 7713133fedd51212eee10c8ed855e512820ff5fb (patch) | |
| tree | aca9e6bf2fb078aa50ad71800afeace32be61daa /bin/flash-tiny1616.sh | |
| parent | updated MODELS file with missing K9.3-nofet build target (diff) | |
| parent | re-numbered t1616 builds to reflect manufacturer better (diff) | |
| download | anduril-7713133fedd51212eee10c8ed855e512820ff5fb.tar.gz anduril-7713133fedd51212eee10c8ed855e512820ff5fb.tar.bz2 anduril-7713133fedd51212eee10c8ed855e512820ff5fb.zip | |
merged gchart's Tiny1 series branch for t1616 support
Diffstat (limited to 'bin/flash-tiny1616.sh')
| -rwxr-xr-x | bin/flash-tiny1616.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/flash-tiny1616.sh b/bin/flash-tiny1616.sh new file mode 100755 index 0000000..44d716c --- /dev/null +++ b/bin/flash-tiny1616.sh @@ -0,0 +1,14 @@ +#/bin/sh +FIRMWARE=$1 +if [ -z "$AVRDUDE_TTYUSB" ]; then AVRDUDE_TTYUSB=/dev/ttyUSB0 ; fi + +# In your shell config: +# from https://github.com/ElTangas/jtag2updi ... +# export AVRDUDE_CONF="-C$HOME/path/to/jtag2updi/avrdude.conf" +# export AVRDUDE_TTYUSB="/dev/ttyUSB2" + +avrdude $AVRDUDE_CONF \ + -c jtag2updi \ + -P $AVRDUDE_TTYUSB \ + -p t1616 \ + -u -Uflash:w:$FIRMWARE |
