1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-01-25 02:31:05 +02:00
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
..

# --- 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/