PrusaSlicer-NonPlainar/src/avrdude
bubnikv 9406b50447 Const correctness improvements:
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +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 avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +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 more clang warnings enabled, performance measuring 2019-08-16 16:17:37 +02:00
ac_cfg.h Changed references to renamed github project 2019-05-14 19:46:01 +02: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: warnings cleanup 2019-06-25 18:16:49 +02: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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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.cpp Const correctness improvements: 2020-01-03 16:33:04 +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 avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +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: warnings cleanup 2019-06-25 18:16:49 +02: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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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 avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +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 Officially move to C++17 for the whole PrusaSlicer source tree; 2019-12-18 11:53:28 +01:00
conf-generate.cpp avrdude: Fix: Generate the embedded conf in the bin dir, remove from repo 2019-08-20 15:15:30 +02:00
config_gram.c avrdude: warnings cleanup 2019-06-25 18:16:49 +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 avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
config.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02: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 avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +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: warnings cleanup 2019-06-25 18:16:49 +02: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 more clang warnings enabled, performance measuring 2019-08-16 16:17:37 +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 avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
main-standalone.cpp more clang warnings enabled, performance measuring 2019-08-16 16:17:37 +02:00
main.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02: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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +02:00
ser_win32.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02: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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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: warnings cleanup 2019-06-25 18:16:49 +02: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: warnings cleanup 2019-06-25 18:16:49 +02: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 avrdude: warnings cleanup 2019-06-25 18:16:49 +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.)