avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] [patch #7811] Adds avr_pin_name()


From: Hannes Weisbach
Subject: [avrdude-dev] [patch #7811] Adds avr_pin_name()
Date: Fri, 29 Jun 2012 13:37:33 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5

URL:
  <http://savannah.nongnu.org/patch/?7811>

                 Summary: Adds avr_pin_name()
                 Project: AVR Downloader/UploaDEr
            Submitted by: hweisbach
            Submitted on: Fr 29 Jun 2012 13:37:32 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hello,

as discussed on the list, this patch renames the pin_name() function in
avrpart.c to avr_pin_name() and exports it via avrpart.h. Additionally, all
pins known to avrdude are added (pin_name() only knew 4).
By passing a value from the enum defined in pindefs.h (i.e. PIN_LED_ERR) a
constant string is returned with a human-readable pin name (i.e. "ERRLED").
The returned string matches the pin names used in avrdude.conf.

The patch applies against revision 1092.

Best Regards,
Hannes



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fr 29 Jun 2012 13:37:32 GMT  Name: pin_names.patch  Size: 2kB   By:
hweisbach

<http://savannah.nongnu.org/patch/download.php?file_id=26119>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7811>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]