Ubuntu 10.04 嵌入式开发环境配置
1.解压相应文件
sudo tar xjvf gcc-arm-none-eabi-4_7-2012q4-20121208-linux.tar.bz2 -C/usr/local/arm
sudo tar xzvf jdk-7u17-linux-i586.tar.gz -C/usr/local
2.修改bash配置文件.bashrc
export JAVA_HOME=/usr/local/jdk1.7.0_17
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATH:/usr/local/arm/gcc-arm-none-eabi-4_7-2012q4/bin
3.minicom
sudo apt-get install minicom
4.设置minicom
sudo minicom -s
A,B,K
5.配置生效
source .bashrc
6.Ubuntu 下的串口大师cutecom
sudo apt-get install cutecom
添加到主菜单
首选项->主菜单
7.串口终端kermit
sudo apt-get install ckermit
配置文件
==========================
set line /dev/ttyUSB0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
set protocol xmodem
set protocol zmodem
set session-log TIMESTAMPED-TEXT #输出中添加时间戳
==========================
保存日志
C-Kermit>log session
sudo apt-get install libqt3-mt
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2