[bug #49450] Does not write integer to /sys/class/gpio/export

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[bug #49450] Does not write integer to /sys/class/gpio/export

Joerg Wunsch-6
URL:
  <http://savannah.nongnu.org/bugs/?49450>

                 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: [hidden email]
             Open/Closed: Open
                 Release: 6.3
         Discussion Lock: Any
     Programmer hardware: Beagle Bone
             Device type: linuxgpio

    _______________________________________________________

Details:

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:

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

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


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