#17943: Enable linuxgpio in avrdude package
-------------------------+-----------------------------------
Reporter: ranma | Owner: developers
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: packages | Version: Barrier Breaker 14.07
Keywords: avrdude |
-------------------------+-----------------------------------
Missing "--enable-linuxgpio" in configure options?
# grep RELEASE /etc/openwrt_release
DISTRIB_RELEASE="14.07-rc3"
# opkg list avrdude
avrdude - 6.0.1-1 - AVRDUDE is a full featured program for programming
Atmel's AVR CPU's.
# avrdude -c linuxgpio
avrdude: Linux sysfs GPIO support not available in this configuration
[...]
Excerpt from /etc/avrdude.conf (with manual linuxgpio settings)
#This programmer bitbangs GPIO lines using the Linux sysfs GPIO interface
#
#To enable it set the configuration below to match the GPIO lines
connected to the
#relevant ISP header pins and uncomment the entry definition. In case you
don't
#have the required permissions to edit this system wide config file put
the
#entry in a separate <your name>.conf file and use it with -C+<your
name>.conf
#on the command line.
#
#To check if your avrdude build has support for the linuxgpio programmer
compiled in,
#use -c?type on the command line and look for linuxgpio in the list. If
it's not available
#you need pass the --enable-linuxgpio=yes option to configure and
recompile avrdude.
#
programmer
id = "linuxgpio";
desc = "Use the Linux sysfs interface to bitbang GPIO lines";
type = "linuxgpio";
reset = 0;
sck = 1;
mosi = 10;
miso = 9;
;
--
Ticket URL: <https://dev.openwrt.org/ticket/17943>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets