1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2024-12-26 07:39:33 +02:00
ben-blinkenlights/avrdude
Werner Almesberger 0c2b98274f avrdude/patches/nanonote.patch: added clock output with -x clk=#MHz
- nanonote.c (nanonote_open): increased register window to include clock
  and MMC controller registers
- nanonote.c (gpio_function): set a pin to function or GPIO
- nanonote.c (nanonote_initpgm, nanonote_parseextparams): accept the
  extended option clk=N where N is the clock frequency in (whole) MHz
- nanonote.c (nanonote_enable): if the clock option is set, switch CLK
  to function and output the specified clock
2011-03-07 17:07:44 -03:00
..
patches avrdude/patches/nanonote.patch: added clock output with -x clk=#MHz 2011-03-07 17:07:44 -03:00
README uart/avrdude: renamed to ./avrdude (i.e., moved to the top-level) 2011-03-07 13:49:28 -03:00

# --- build instructions common for OpenWRT and Jlime -------------------------

wget http://download.savannah.gnu.org/releases/avrdude/avrdude-5.10.tar.gz
tar xfz avrdude-5.10.tar.gz
cd avrdude-5.10

quilt push -a

aclocal
automake

# --- build instructions for OpenWRT ------------------------------------------

./configure --prefix=/ --host=mipsel-openwrt-linux
make
# the joy of autocrap (we need this to generate avrdude.conf)
./configure --prefix=/ --host=mipsel-openwrt-linux

scp avrdude.conf ben:/etc/
scp avrdude ben:/usr/bin/

# --- build instructions for Jlime --------------------------------------------

./configure --prefix=/ --host=mipsel-linux
make </dev/null
# the joy of autocrap (we need this to generate avrdude.conf)
./configure --prefix=/ --host=mipsel-linux

scp avrdude.conf jlime:/etc/
scp avrdude jlime:/usr/bin/