patchAVR Downloader/UploaDEr - Patches: patch #7811, Adds avr_pin_name()

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7811: Adds avr_pin_name()

Submitted by:  Hannes Weisbach <hweisbach>
Submitted on:  Fri 29 Jun 2012 01:37:32 PM UTC  
 
Category:  None Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  Hannes Weisbach <hweisbach> Open/Closed:  Open

Fri 29 Jun 2012 01:37:32 PM UTC, original submission:

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

Hannes Weisbach <hweisbach>
Project MemberIn charge of this item.

 

Attached Files
file #26119:  pin_names.patch added by hweisbach (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hweisbach (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    07/20/2012 hweisbach StatusNone => Ready For Test
        Assigned toNone => hweisbach
    06/29/2012 hweisbach Attached File- => Added pin_names.patch, #26119

    Back to the top


    Powered by Savane 3.3