btw for a quick hacked version you can do this with a script:

(code)

char lfuse __attribute__ ((section (".lfuse"))) = 0xf3;
...

(compile, etc)

% avr-objdump -s -j .lfuse --start-address=0 --stop-address=1 -z <elf file> | sed '/^ 0000 \([0-9a-z]\{2\}\).*/ {s//0x\1/;q;};d'

(returns 0xf3)

you can of course then currently script avrdude's terminal mode.

--

"Do not doubt that a small group of dedicated individuals can change
the world. Indeed, that is all that ever has." -- Margaret Mead


_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to