PrusaSlicer-NonPlainar/src/avrdude
2019-03-01 13:15:20 +01:00
..
atmel-docs WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
doc WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
tools WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
windows avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
ac_cfg.h Firmware Updater: Log avrdude arguments 2019-02-22 16:11:13 +01:00
ac_cfg.h.in WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
arduino.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
arduino.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
AUTHORS WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avr910.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avr910.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avr.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrdude-slic3r.conf avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
avrdude-slic3r.conf.h avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
avrdude-slic3r.cpp avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
avrdude-slic3r.hpp avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
avrdude.1 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrdude.conf WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrdude.conf.in WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrdude.conf.tmp WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrdude.h avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
avrdude.spec.in WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrftdi_private.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrftdi_tpi.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrftdi_tpi.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrftdi.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrftdi.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
avrpart.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
bitbang.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
bitbang.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
bootstrap WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
BUILD-FROM-SVN WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
buspirate.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
buspirate.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
butterfly.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
butterfly.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2001 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2002 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2003 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2004-2006 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2007 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2008 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2009 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2010 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2011 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2012 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2013 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2014 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ChangeLog-2015 WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
CMakeLists.txt avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
conf-generate.cpp avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
config_gram.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
config_gram.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
config_gram.y WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
config.c avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
config.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
configure.ac WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
confwin.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
COPYING WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
crc16.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
crc16.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
dfu.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
dfu.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
fileio.c avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
flip1.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
flip1.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
flip2.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
flip2.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
freebsd_ppi.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ft245r.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ft245r.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtag3_private.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtag3.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtag3.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtagmkI_private.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtagmkI.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtagmkI.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtagmkII_private.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
jtagmkII.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
jtagmkII.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
lexer.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
lexer.l WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
libavrdude.h avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
linux_ppdev.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
linuxgpio.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
linuxgpio.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
lists.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
main-standalone.cpp avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
main.c avrdude: Fix string encoding handling on Windows 2019-03-01 13:15:20 +01:00
Makefile.am WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
Makefile.standalone WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
my_ddk_hidsdi.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
NEWS WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
par.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
par.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
pgm_type.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
pgm.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
pickit2.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
pickit2.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
pindefs.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ppi.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ppi.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ppiwin.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
README WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
safemode.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ser_avrdoper.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
ser_posix.c avrdude: ser_posix: Add timeout in ser_send(), refactoring 2019-03-01 13:15:20 +01:00
ser_win32.c avrdude: Fix serial timeout on Windows 2019-03-01 13:15:20 +01:00
serbb_posix.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
serbb_win32.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
serbb.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
solaris_ecpp.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
stk500_private.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
stk500.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
stk500.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
stk500generic.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
stk500generic.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
stk500v2_private.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
stk500v2.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
stk500v2.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
term.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
term.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
tpi.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
update.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usb_hidapi.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usb_libusb.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usbasp.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usbasp.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usbdevs.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usbtiny.c WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
usbtiny.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00
wiring.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
wiring.h WIP: Moved sources int src/, separated most of the source code from Perl. 2018-09-19 11:02:24 +02:00

THIS IS A PRUSA3D BRANCH, WORKING AROUND A SPECIFIC PROBLEM 
IN THE EARLY I3 MK2 USB COMMUNICATION CHIPS.

Some of the early Prusa3D i3 MK2 printers were shipped with a buggy
USB communication controller firmware. This fork of avrdude contains
a workaround inside the stk500v2 protocol implementation. 

The workaround depends on a specific behavior of the Arduino AVR 2560
bootloader, which is installed on the i3 MK2 printers:

https://github.com/arduino/Arduino-stk500v2-bootloader

The avrdude binary modified by Prusa3D could replace the avrdude bianary
of arduino to program the RAMBo board. In that case the modified binary
is identified by a "-prusa3d" suffix to the version information.

-------------------------------------------------------------------

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.)