mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 17:34:56 +00:00
* avrdude.conf.in: Add avr910 and pavr programmers.
* config_gram.y: Add parsing of avr910 programmer. * lexer.l: Add avr910 token. * avr910.c: [this is still work in progress] Add some debug output. Add probe for programmer presense. * main.c: Set port to default_serial if programmer type is avr910. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@292 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -610,7 +610,8 @@ int main(int argc, char * argv [])
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (strcmp(pgm->type, "STK500") == 0) {
|
||||
if ((strcmp(pgm->type, "STK500") == 0)
|
||||
|| (strcmp(pgm->type, "avr910") == 0)){
|
||||
if (port == default_parallel) {
|
||||
port = default_serial;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user