PrusaSlicer-NonPlainar/src/avrdude
tamasmeszaros 85a7a3d5c5 Use prusaslicer_add_cmake_project on each cmake deps project
replace avrdude conf generation from C to CMake code
2021-01-26 10:17:51 +01:00
..
atmel-docs
doc avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +02:00
tools
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
arduino.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
arduino.h
AUTHORS
avr.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
avr910.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
avr910.h
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
avrdude.conf.in
avrdude.conf.tmp
avrdude.h avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
avrdude.spec.in
avrftdi.c
avrftdi.h
avrftdi_private.h
avrftdi_tpi.c
avrftdi_tpi.h
avrpart.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
bitbang.c
bitbang.h
bootstrap
BUILD-FROM-SVN
buspirate.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
buspirate.h
butterfly.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
butterfly.h
ChangeLog avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +02:00
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
CMakeLists.txt Use prusaslicer_add_cmake_project on each cmake deps project 2021-01-26 10:17:51 +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.c Use prusaslicer_add_cmake_project on each cmake deps project 2021-01-26 10:17:51 +01:00
config.h
config_gram.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
config_gram.h
config_gram.y avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
configure.ac avrdude: Cherry-pick rev 1421 from upstream: 2019-09-20 17:17:07 +02:00
confwin.c
COPYING
crc16.c
crc16.h
dfu.c
dfu.h
fileio.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
flip1.c
flip1.h
flip2.c
flip2.h
freebsd_ppi.h
ft245r.c
ft245r.h
jtag3.c
jtag3.h
jtag3_private.h
jtagmkI.c
jtagmkI.h
jtagmkI_private.h
jtagmkII.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
jtagmkII.h
jtagmkII_private.h
lexer.c more clang warnings enabled, performance measuring 2019-08-16 16:17:37 +02:00
lexer.l
libavrdude.h avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
linux_ppdev.h
linuxgpio.c
linuxgpio.h
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
Makefile.standalone
my_ddk_hidsdi.h
NEWS
par.c
par.h
pgm.c
pgm_type.c
pickit2.c
pickit2.h
pindefs.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
ppi.c
ppi.h
ppiwin.c
README
safemode.c
ser_avrdoper.c
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.h
serbb_posix.c
serbb_win32.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
solaris_ecpp.h
stk500.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
stk500.h
stk500_private.h
stk500generic.c
stk500generic.h
stk500v2.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
stk500v2.h
stk500v2_private.h
term.c avrdude: warnings cleanup 2019-06-25 18:16:49 +02:00
term.h
tpi.h
update.c
usb_hidapi.c
usb_libusb.c
usbasp.c
usbasp.h
usbdevs.h
usbtiny.c
usbtiny.h
wiring.c avrdude: Fix serial port handle leak in many places 2019-03-01 13:15:20 +01:00
wiring.h

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