|
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 |
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: address@hidden 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/
[Prev in Thread] | Current Thread | [Next in Thread] |