[Top][All Lists]

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

[avrdude-dev] [bug #49450] Does not write integer to /sys/class/gpio/exp

From: anonymous
Subject: [avrdude-dev] [bug #49450] Does not write integer to /sys/class/gpio/export
Date: Wed, 26 Oct 2016 16:59:30 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36


                 Summary: Does not write integer to /sys/class/gpio/export
                 Project: AVR Downloader/UploaDEr
            Submitted by: None
            Submitted on: Wed 26 Oct 2016 04:59:27 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Maurik
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware: Beagle Bone
             Device type: linuxgpio



In the code linuxgpio.c I believe the format string for the GPIO port is
incorrectly specified as %ud, instead of %u. This causes a "d" to be appended
to the port and some implementations of /sys/class/gpio/export do not allow
for this.

Changing the %ud to %u allows me to run avrdude on the Beagle Bone Black.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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