mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-02-05 01:40:07 +00:00
49e5f2451c7e2d295aa4fefc6dd38c1833f5247d
Submitted by David Mosberger-Tang: * ft245r.c (ft245r_set_bitclock): add workaround for FT245 hardware bugs in bitclock setting Correct baud rate calculation (multiplying with factor of 2 was wrong) and add compile-time workaround for FTDI chips suffering for the variable pulse-width errata. The workaround entails always running the chip at 3MHz and stuffing the channel with repeated bytes to achieve the desired baudrate. This has no effect on programming speed. Note, however, that now a baudrate option -b750000 has to be used to achieve maximum speed. (Option enabled by default now.) git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1488 81a1dc3b-b13d-400b-aceb-764788c761c2
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.)
Description
Languages
HTML
67.7%
C
25.4%
JavaScript
4%
Roff
0.6%
Yacc
0.5%
Other
1.6%