2010.07.27 16:15 Arduino
리눅스에서 AVRDUDE 5.8 패치
1.If you’re on Ubuntu or Debian, install the prerequisites with:
sudo apt-get build-dep avrdude avrdude-doc
- 위 라이브러리를 설치하고 빌드한다. 인스톨 전에 필요한 작업이다.
2. Start by grabbing a copy of AVRDUDE 5.8, untarring it in the directory, and switching to
that directory:
tar xzf avrdude-5.8.tar.gz
cd avrdude-5.8
- 아두이노 5.8을 다운로드하고 압축해제한다.
3. Now get a copy of the FTDI bitbang patch files:
>>> 결과
patching file Makefile.in
patching file avrdude.conf.in
patching file avr910.c
patching file config_gram.y
patching file lexer.l
patching file ft245r.c
patching file ft245r.h
patching file serjtag.h
patching file serjtag.c
4.Apply the patches:
5. Also get a copy of the FTDI driver.
For 32-bit:
For 64-bit:
6. Extract the FTDI driver and copy over the needed files:
cp ../libftd2xx0.4.16/ftd2xx.h ./
cp ../libftd2xx0.4.16_x86_64/WinTypes.h
cp ../libftd2xx0.4.16_x86_64/static_lib/libftd2xx.a.0.4.16 ./
7. Paste in avrdude-5.8 directory
8. Generate your makefile:
9. Open Makefile in a text editor and perform the following operations:
Find the line LIBS = -lreadline -lncurses -ltermcap and replace it with LIBS = -lreadline -lncurses -ltermcap ./libftd2xx.a.0.4.16 -lrt
9. Now to actually compile it:
------------------------------------------------------------------------------------------------------------