[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] How to set usb port as default?
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] How to set usb port as default? |
Date: |
Sun, 19 Jan 2014 13:02:04 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
As László Monda wrote:
> Instead of supplying "-P usb" in the command line every time I'd like
> to set it as a default. The following directives in the configuration
> file didn't do the trick:
Vor which programmer type?
The default connection type is part of the programmer definition in
avrdude.conf. Depending on that, the following switch statement then
decides about the portname to use in absence of a -P option:
if (port == NULL) {
switch (pgm->conntype)
{
case CONNTYPE_PARALLEL:
port = default_parallel;
break;
case CONNTYPE_SERIAL:
port = default_serial;
break;
case CONNTYPE_USB:
port = DEFAULT_USB;
break;
}
}
--
cheers, Joerg .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)
- [avrdude-dev] How to set usb port as default?, László Monda, 2014/01/18
- Re: [avrdude-dev] How to set usb port as default?,
Joerg Wunsch <=
- Re: [avrdude-dev] How to set usb port as default?, László Monda, 2014/01/19
- Re: [avrdude-dev] How to set usb port as default?, Joerg Wunsch, 2014/01/19
- Re: [avrdude-dev] How to set usb port as default?, René Liebscher, 2014/01/19
- Re: [avrdude-dev] How to set usb port as default?, Joerg Wunsch, 2014/01/20
- Re: [avrdude-dev] How to set usb port as default?, Jon Schneider, 2014/01/20
- Re: [avrdude-dev] How to set usb port as default?, Joerg Wunsch, 2014/01/20
- Re: [avrdude-dev] How to set usb port as default?, László Monda, 2014/01/20
- Re: [avrdude-dev] How to set usb port as default?, Joerg Wunsch, 2014/01/20
- Re: [avrdude-dev] How to set usb port as default?, Joerg Wunsch, 2014/01/20
- Re: [avrdude-dev] How to set usb port as default?, László Monda, 2014/01/20