标签:io ar on bs ad linux tt c++ br
(1)安装开发工具链
yum install avr-*
会安装以下的工具
avr-gcc-4.7.2-1.fc17.i686
avr-libc-1.8.0-2.fc17.noarch
avr-binutils-2.23.1-1.fc17.i686
avr-gcc-c++-4.7.2-1.fc17.i686
avr-gdb-7.1-4.fc17.i686
avr-libc-doc-1.8.0-2.fc17.noarch
(2)安装(usbkey boot loader)
yum install dfu-programmer
(3)安装(avrdude)
yum install avrdude
(4)安装调试工具硬件驱动()
yum install avarice
(5)这一节没看懂.
Allow usb access to nonroot users (fedora12):
# add udev rules
cat > /etc/udev/rules.d/90-dragon.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", ATTR{idProduct}=="2107", MODE:="666"
# reload rules
udevadm control --reload-rules
(6)安装simavr,安装simavr过程中会要求要libelf.h和glut3.h
要先安装libelf和freeglut
yum install freeglut-devel
yum install elfutils-libelf-devel*
simavr不能用yum 安装,先下载源码包
git clone git://gitorious.org/simavr/simavr.git
cd simavr
make
make install
安装完成.
标签:io ar on bs ad linux tt c++ br
原文地址:http://www.cnblogs.com/huangxinzhen/p/4159829.html