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: NonePriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: Hannes Weisbach <hweisbach>Open/Closed: Open

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


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 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
  • -unavailable- added by hweisbach (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to 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
    Fri 20 Jul 2012 10:00:20 PM UTChweisbachStatusNone=>Ready For Test
      Assigned toNone=>hweisbach
    Fri 29 Jun 2012 01:37:32 PM UTChweisbachAttached File-=>Added pin_names.patch, #26119

    Back to the top

    Powered by Savane 3.1-cleanup1