Summary: Linux GPIO broken
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Sun 27 Mar 2016 07:24:40 PM UTC
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Assigned to: None
Originator Name: Valentin Milea
Originator Email: [hidden email] Open/Closed: Open
Discussion Lock: Any
snprintf() is being used in linuxgpio.c to convert unsigned GPIO numbers. A
recent commit has changed the format from "%d" to "%ud". "%u" is a valid
conversion specifier, while the trailing 'd' ends up being printed (e.g. '17d'
instead of '17').
This causes GPIO setup to fail:
Can't export GPIO 17, already exported/busy?: Invalid argument
I cannot help but notice that the latest release of avrdude (6.3) still has
Is there a reason no update was ever put out?
I'd really like to see this work for linuxgpio to work correctly out of the
At this moment I'm trying to resurrect a arduino nano that has no bootloader,
and I got it to work using this information, but still...