MCUdude / avrdude-test-script

Bash script for testing various hardware with Avrdude
2 stars 0 forks source link

Avrdude test script

This is a simple bash script for testing various hardware with Avrdude:

$ test-avrdude -h

Syntax: test-avrdude {<opts>}
Function: test AVRDUDE for certain programmer and part combinations
Options:
    -c <configuration spec>     additional configuration options used for all runs
    -d <sec>                    delay between test commands (default 4 seconds)
    -e <avrdude path>           set path of AVRDUDE executable (default avrdude)
    -l                          list test commands but do not execute them
    -p <programmer/part specs>  can be used multiple times, overrides default tests
    -s                          skip EEPROM tests for bootloaders
    -v                          verbose: show AVRDUDE error and warning messages
    -? or -h                    show this help text
Example:
    $ test-avrdude -d 0 -p "-c dryrun -p t13" -p "-c dryrun -p m4809"

Calling the test script without options runs a series of pre-set tests for which you may or may not have programmers and parts.