URL:
  <http://savannah.nongnu.org/bugs/?35186>

                 Summary: inverting pins with "~" doesn't work for pin lists
(i.e. vcc)
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Wed 28 Dec 2011 11:47:52 AM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Tibor Palinkas
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

for my current parport programmer I need to apply vcc inverted. After
looking around in svn trunk, I figured there are two reasons it can't
do it at the moment:

 - grammar doesn't allow it
 - par_setmany truncates any attribute from pin numbers

The attached patch attempts to fix both problems. It's been tested.

The syntax may be a bit odd, as with the current infrastructure pins
can be inverted only in an "all or none" basis. With the patch if
the pin list is prefixed with ~, all pins are assumed to be inverted
(that should be the most common use case anyway).

regards,

Tibor





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 28 Dec 2011 11:47:52 AM UTC  Name: pinlist-inversion.patch  Size:
2kB   By: None

<http://savannah.nongnu.org/bugs/download.php?file_id=24704>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?35186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to