Go to file
Joerg Wunsch 6f183d427c patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors
Submitted by Alex Sverdlin:
* linuxspi.c (linuxspi_open): Report ioctl error




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1493 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 15:46:10 +00:00
atmel-docs Just to make sure this won't get lost over time, make a copy of 2015-11-02 21:13:28 +00:00
doc patch #8719: Support Over-the-Air bootloading with XBeeBoot 2021-11-22 21:35:26 +00:00
tools Submitted by Jan Egil Ruud: 2021-11-06 22:13:51 +00:00
windows patch #9819: Address several leaks in SVN rev 1429 2020-03-14 22:34:45 +00:00
.cvsignore So finally, also ignore the Makefile. 2006-08-23 15:02:07 +00:00
AUTHORS Add David Mosberger's email address (with permission) 2021-11-25 18:51:54 +00:00
BUILD-FROM-SVN Submitted by Philip: 2011-08-16 10:37:09 +00:00
COPYING Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
ChangeLog patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors 2021-11-27 15:46:10 +00:00
ChangeLog-2001 Use my other e-mail. 2003-03-12 01:25:43 +00:00
ChangeLog-2002 Use my other e-mail. 2003-03-12 01:25:43 +00:00
ChangeLog-2003 * ChangeLog: Minor formatting cleanups. 2004-01-26 06:27:41 +00:00
ChangeLog-2004-2006 Fix author name in some files. 2018-03-15 22:03:36 +00:00
ChangeLog-2007 ChangeLog rotation for 2007->2008 transition. 2008-01-26 07:59:07 +00:00
ChangeLog-2008 Annual changelog rotation. 2009-02-05 16:17:57 +00:00
ChangeLog-2009 Annual changelog rotation. 2010-01-08 10:41:27 +00:00
ChangeLog-2010 Delete unneeded svn:executable property. 2011-08-12 15:37:44 +00:00
ChangeLog-2011 bug #21663 AT90PWM efuse incorrect 2012-01-02 15:20:18 +00:00
ChangeLog-2012 Annual ChangeLog rotation time. 2013-01-02 10:12:41 +00:00
ChangeLog-2013 Annual changelog rotation. 2014-01-15 13:16:34 +00:00
ChangeLog-2014 Annual ChangeLog rotation (quite late this year). 2015-04-09 19:48:01 +00:00
ChangeLog-2015 Annual changelog rotation. 2016-02-09 14:23:03 +00:00
ChangeLog-2016 Annual changelog rotation. 2017-03-05 18:21:08 +00:00
ChangeLog-2017 Annual ChangeLog rotation. 2018-01-09 23:17:54 +00:00
ChangeLog-2018 Annual ChangeLog rotation. 2019-01-05 22:59:06 +00:00
ChangeLog-2019 Annual ChangeLog rotation 2020-03-11 09:42:02 +00:00
ChangeLog-2020 ChangeLog rotation 2021-06-27 20:24:30 +00:00
Makefile.am patch #8719: Support Over-the-Air bootloading with XBeeBoot 2021-11-22 21:35:26 +00:00
NEWS patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors 2021-11-27 15:46:10 +00:00
README Give some more installation/building hints. 2013-09-17 20:50:30 +00:00
arduino.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
arduino.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
avr.c Submitted by Martino Facchin: 2021-11-12 22:02:29 +00:00
avr910.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
avr910.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
avrdude.1 patch #8719: Support Over-the-Air bootloading with XBeeBoot 2021-11-22 21:35:26 +00:00
avrdude.conf.in patch #9327: ft245r.c: add TPI support (patches 1-4) 2021-11-24 21:25:45 +00:00
avrdude.h added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
avrdude.spec.in Submitted by Galen Seitz: 2005-11-29 20:28:51 +00:00
avrftdi.c Submitted by Martin Thierer: 2021-11-07 16:00:16 +00:00
avrftdi.h bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:38:52 +00:00
avrftdi_private.h avrftdi_private.h: added missing msg level for avrdude_message in E/E_VOID macros 2014-06-17 20:27:37 +00:00
avrftdi_tpi.c Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
avrftdi_tpi.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
avrpart.c Ensure page_size is always at least 1 2020-09-10 21:37:34 +00:00
bitbang.c Submitted by David Mosberger-Tang: 2021-11-14 13:17:44 +00:00
bitbang.h Fix author name in some files. 2018-03-15 22:03:36 +00:00
bootstrap bootstrap: Detect whether libtoolize is named `glibtoolize' (MacOS) 2017-12-29 22:23:06 +00:00
buspirate.c Submitted by Andrew D'Addesio: 2021-11-06 22:34:29 +00:00
buspirate.h patch #7724 Add TPI support for Bus Pirate using bitbang mode 2013-01-30 21:15:39 +00:00
butterfly.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
butterfly.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
config.c patch #9819: Address several leaks in SVN rev 1429 2020-03-14 22:34:45 +00:00
config.h Removing exit calls from config parser 2014-06-17 20:08:28 +00:00
config_gram.y Enforce correct length of target string constraints in strncpy(). 2020-09-10 21:43:23 +00:00
configure.ac patch #9816: Implement new programmer type: linuxspi 2020-09-19 21:32:38 +00:00
confwin.c Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
crc16.c Major code cleanup. 2007-01-24 22:43:46 +00:00
crc16.h Major code cleanup. 2007-01-24 22:43:46 +00:00
dfu.c bug #42662 clang warnings under FreeBSD 10.x 2014-07-16 20:02:01 +00:00
dfu.h * flip2.c (flip2_page_erase): Remove unimplemented function. 2014-01-17 14:00:01 +00:00
fileio.c Fix various typos. 2020-09-16 21:31:19 +00:00
flip1.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
flip1.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
flip2.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
flip2.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
freebsd_ppi.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
ft245r.c patch #9328: ft245r.c: add TPI support (patches 5-7) 2021-11-25 09:17:11 +00:00
ft245r.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
jtag3.c * jtag3.c (jtag3_edbg_recv_frame): Better handling for 2021-11-24 21:04:47 +00:00
jtag3.h Submitted by Jan Egil Ruud <janegil.ruud@microchip.com> 2017-11-29 23:09:51 +00:00
jtag3_private.h Submitted by Jan Egil Ruud: 2021-11-06 22:13:51 +00:00
jtagmkI.c bug #43137: Writing and reading incorrect pages when using jtagicemkI 2014-11-23 20:57:17 +00:00
jtagmkI.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
jtagmkII.c Fix various typos. 2020-09-16 21:31:19 +00:00
jtagmkII.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
jtagmkII_private.h Fix byte-wise EEPROM and flash writes on Xmega 2013-09-08 19:57:58 +00:00
jtagmkI_private.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
lexer.l Submitted by Jan Egil Ruud <janegil.ruud@microchip.com> 2018-01-09 23:29:31 +00:00
libavrdude.h Submitted by Martino Facchin: 2021-11-12 22:02:29 +00:00
linux_ppdev.h * linux_ppdev.h: added missing msg level for avrdude_message in ppi_claim/ppi_release macros 2014-06-23 20:20:38 +00:00
linuxgpio.c bug #47550: Linux GPIO broken 2016-03-28 17:29:30 +00:00
linuxgpio.h patch #7165 Add support for bitbanging GPIO lines using the Linux sysf GPIO interface 2013-01-09 19:23:30 +00:00
linuxspi.c patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors 2021-11-27 15:46:10 +00:00
linuxspi.h patch #9816: Implement new programmer type: linuxspi 2020-09-19 21:32:38 +00:00
lists.c Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
main.c Submitted by Martino Facchin: 2021-11-12 22:02:29 +00:00
my_ddk_hidsdi.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
par.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
par.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
pgm.c Removing exit calls from config parser 2014-06-17 20:08:28 +00:00
pgm_type.c patch #8719: Support Over-the-Air bootloading with XBeeBoot 2021-11-22 21:35:26 +00:00
pickit2.c Use correct pmg->type field in WIN32 implementation 2020-09-16 21:13:24 +00:00
pickit2.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
pindefs.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
ppi.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
ppi.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
ppiwin.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
safemode.c Reported by Roger A. Krupski: 2017-03-05 18:23:18 +00:00
ser_avrdoper.c Submitted by Axel Simon: 2018-01-14 23:12:06 +00:00
ser_posix.c Submitted by Reinhard Max 2018-01-17 07:39:29 +00:00
ser_win32.c Properly declare arg #2 of net_send() (in ser_win32.c) as being a pointer 2014-11-26 09:38:15 +00:00
serbb.h Fix author name in some files. 2018-03-15 22:03:36 +00:00
serbb_posix.c Fix author name in some files. 2018-03-15 22:03:36 +00:00
serbb_win32.c Fix author name in some files. 2018-03-15 22:03:36 +00:00
solaris_ecpp.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
stk500.c Submitted by gerardoallende: 2021-06-27 20:42:06 +00:00
stk500.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
stk500_private.h Add support for displaying and changing the various STK500 operational 2003-07-24 21:26:28 +00:00
stk500generic.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
stk500generic.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
stk500v2.c Submitted by Joseph Coffland: 2021-11-11 20:59:25 +00:00
stk500v2.h * pgm_type.c: Add "jtagice3_isp" programmer hook 2012-12-03 15:52:38 +00:00
stk500v2_private.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
term.c Submitted by Jon Thacker: 2021-11-12 22:11:49 +00:00
term.h Join the former "public" header files (avr.h avrpart.h pindefs.h 2014-05-19 10:01:59 +00:00
tpi.h avr.c: Adds avr_tpi_program_enable 2013-05-06 12:49:26 +00:00
update.c bug #50517: Reading fails if "immediate mode" for output file format 2021-11-07 16:22:00 +00:00
usb_hidapi.c In usbhid_open(), correctly calculate the 2016-04-18 14:47:53 +00:00
usb_libusb.c patch #8435: Implementing mEDBG CMSIS-DAP protocol 2016-02-15 19:58:45 +00:00
usbasp.c Submitted by Martin Thierer: 2021-11-07 20:10:24 +00:00
usbasp.h patch #9963: UsbAsp 3 MHz patch for UsbAsp-flash firmware 2020-09-18 21:52:12 +00:00
usbdevs.h Submitted by Jan Egil Ruud: 2021-11-06 22:13:51 +00:00
usbtiny.c bug #55734: USBtiny programming of ATmega328p broken by Patch #9278 2021-11-07 15:44:18 +00:00
usbtiny.h Fix various typos. 2020-09-16 21:31:19 +00:00
wiring.c added verbose level in avrdude_message() 2014-06-13 20:07:40 +00:00
wiring.h Replace outdated FSF postal address by a reference to 2012-11-20 14:03:50 +00:00
xbee.c patch #8719: Support Over-the-Air bootloading with XBeeBoot 2021-11-22 21:35:26 +00:00
xbee.h patch #8719: Support Over-the-Air bootloading with XBeeBoot 2021-11-22 21:35:26 +00:00

README

See the documentation file for the details.

The latest version of AVRDUDE is always available here:

  http://savannah.nongnu.org/projects/avrdude


Important environment variables for ./configure:
================================================

CPPFLAGS: C preprocessor flags (*not* "C++")

This is the place to put additional (non-standard) -I options into.
For example, if your Windows system has LibUSB-Win32 installed into
\\WINDOWS\ProgramFiles\LibUSB-Win32, use

CPPFLAGS=-I/WINDOWS/ProgramFiles/LibUSB-Win32/include

to tell configure where to search for the header files.  (The use of
forward slashes rather than backslashes can often simplify things.
Note that the Windows system services internally treat both the same.
It's only cmd.exe which requires backslashes as the directory
separator.)

LDFLAGS: Linker options

This is the place to make additional library locations known to the
linker.  To continue the above example, use

LDFLAGS=-L/WINDOWS/ProgramFiles/LibUSB-Win32/lib/gcc

to make the linker search for "libusb.a" in that directory.


Linux users: make sure the header files are installed
=====================================================

While many Linux distributions install the libraries needed by AVRDUDE
(libusb, libelf) by default, they leave out the corresponding header
files.  Consequently, the configure script won't find them, so these
libraries could not be used.

Usually, the packages with the header files (and static libraries) are
derived from the regular package name by appending "-devel".  Thus,
make sure you have "libusb-devel" and "libelf-devel" installed before
running the configure script.  (Same goes for libftdi.)