Commit from zer0 on branch b_zer0 (2009-04-25 11:06 CEST) =================================
Add baudrate and signature check in config for avrdude. Signed-off: Antoine albertelli <antoinea...@gmail.com> aversive config/generate_aversive_config 1.23.4.16 aversive config/config.in 1.42.4.29 aversive config/Configure.help 1.13.4.19 ======================================== aversive/config/generate_aversive_config (1.23.4.15 -> 1.23.4.16) ======================================== @@ -141,6 +141,16 @@ echo -n "AVRDUDE_PORT = " >> $2 echo `grep "CONFIG_AVRDUDE_PORT" $1 | sed s,CONFIG_AVRDUDE_PORT=,,` >> $2 +echo -n "AVRDUDE_BAUDRATE = " >> $2 +echo `grep "CONFIG_AVRDUDE_BAUDRATE" $1 | sed s,CONFIG_AVRDUDE_BAUDRATE=,,` >> $2 + +if grep "CONFIG_AVRDUDE_CHECK_SIGNATURE=y" $1 > /dev/null 2> /dev/null + then + echo "AVRDUDE_FLAGS_SIGNATURE_CHECK =" >> $2 +else + echo "AVRDUDE_FLAGS_SIGNATURE_CHECK = -F" >> $2 +fi + if grep "CONFIG_AVARICE=y" $1 > /dev/null 2> /dev/null then ========================= aversive/config/config.in (1.42.4.28 -> 1.42.4.29) ========================= @@ -519,6 +519,8 @@ string 'Port device' CONFIG_AVRDUDE_PORT '/dev/parport0' +int 'Programmer baudrate' CONFIG_AVRDUDE_BAUDRATE '19200' + endmenu mainmenu_option next_comment @@ -534,6 +536,7 @@ endmenu +bool 'Check device signature' CONFIG_AVRDUDE_CHECK_SIGNATURE endmenu ============================== aversive/config/Configure.help (1.13.4.18 -> 1.13.4.19) ============================== @@ -350,6 +350,15 @@ '/dev/ttyS0', depending on the programmer type. Under win32, it can look like 'com1' for instance. +CONFIG_AVRDUDE_BAUDRATE + Choose the baudrate. This can be very useful if you are using a stk500 + bootloader, and you want to speed it up. + +CONFIG_AVRDUDE_CHECK_SIGNATURE + Avrdude normally checks the device signature, but some bootloaders doesn't + implement this, or your device may not communicate with Avrdude. This option + allows you to bypass this check. + CONFIG_AVRDUDE_FUSE If you enable this option, a script will be launched just after this saving the configuration. This script uses avrdude to program the _______________________________________________ Avr-list mailing list Avr-list@droids-corp.org CVSWEB : http://cvsweb.droids-corp.org/cgi-bin/viewcvs.cgi/aversive WIKI : http://wiki.droids-corp.org/index.php/Aversive DOXYGEN : http://zer0.droids-corp.org/doxygen_aversive/html/ BUGZILLA : http://bugzilla.droids-corp.org COMMIT LOGS : http://zer0.droids-corp.org/aversive_commitlog