[En-Nut-Discussion] Linux typo troubles + fix (patch)

Edwin van den Oetelaar edwin at oetelaar.com
Sat Dec 17 15:36:16 CET 2005


a symbolic link is missing : (my programmer is on ttyS0)
#  ln -s /dev/ttyS0 /dev/avr

a patch for nutsetup so my programmer can work

--- nutsetup.old        2005-12-17 14:18:36.000000000 +0100
+++ nutsetup    2005-12-17 15:29:40.000000000 +0100
@@ -132,7 +132,7 @@
         read answ

         case "$answ" in
-        1) PROGRAMMER=usip ; BURNFLAGS="-dprog=$UISP_PROG --erase 
--upload --verify if=\$(TARG)" ;;
+        1) PROGRAMMER=uisp ; BURNFLAGS="-dprog=$UISP_PROG -dpart=$DEV 
-dspeed=115200 --erase --upload --verify if=\$(TARG)" ;;
         2) PROGRAMMER=avrdude ; BURNFLAGS="-p $CPU -c $UISP_PROG -U 
flash:w:\$(TARG) -E noreset" ;;
         *)
             echo "invalid choice" ;;





More information about the En-Nut-Discussion mailing list