嵌入式驱动开发环境搭建
来源:互联网 发布:nike淘宝店 编辑:程序博客网 时间:2024/05/09 16:18
2、开发环境
2-1 编译工具
安装
sudo tar -zvxf arm-linux-gcc-4.3.2.tgz -C /
配置系统环境变量
sudo vi /etc/profile 或 ~/.bashrc
在文件最后添加交叉编译路径
PATH=$PATH:/usr/local/arm/4.3.2/bin
export PATH
保存,然后执行source /etc/profile或者~/.bashrc 使配置生效
2-2 配置开发工具
2-2-1 安装串口调试工具
sudo apt-get install minicom
使用:
sudo minicom
2-2-2 安装tftp服务 (ubuntu系统)
a、安装软件包
sudo apt-get install tftp tftpd xinetd
b、创建tftp服务目录并设置属性,如创建服务目录/tftphome/
sudo mkdir -p /tftphome
sudo chmod –R 777 /tftphome
sudo chown -R nobody /tftphome
a、安装软件包
sudo apt-get install tftp tftpd xinetd
b、创建tftp服务目录并设置属性,如创建服务目录/tftphome/
sudo mkdir -p /tftphome
sudo chmod –R 777 /tftphome
sudo chown -R nobody /tftphome
c、创建tftp配置文件
sudo gedit /etc/xinetd.d/tftp
输入以下配置信息:
service tftp{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftphome #该地址为上面创建的服务目录
disable = no
}
d、重启tftp服务使配置生效
sudo /etc/init.d/xinetd restart
sudo gedit /etc/xinetd.d/tftp
输入以下配置信息:
service tftp{
protocol = udp
port = 69
socket_type = dgram
wait = yes
user = nobody
server = /usr/sbin/in.tftpd
server_args = /tftphome #该地址为上面创建的服务目录
disable = no
}
d、重启tftp服务使配置生效
sudo /etc/init.d/xinetd restart
2-2-3 安装nfs服务 (ubuntu系统)
安装nfs服务软件包
sudo apt-get install nfs-kernel-server nfs-common portmap
配置nfs
sudo /etc/exports 添加nfs文件系统目录
/home/ *(rw,insecure,no_root_squash,no_subtree_check)
重启nfs服务
sudo /etc/init.d/nfs-kernel-server restart
nfs服务测试:
mount -t nfs -o nolock 192.168.1.10:/home/wxc/work/ /mnt/
2-2-4 编辑器
文本编辑器
vim
emacs
集成开发环境IDE
Netbeans——( Windows, Mac, Linux )
Eclipse——( Windows, Mac, Linux )
0 0
- 嵌入式驱动开发环境搭建
- 嵌入式驱动开发环境搭建
- 嵌入式驱动开发环境搭建
- Linux_Ubuntu_搭建驱动开发环境_/*嵌入式学习*/
- windows上搭建嵌入式linux驱动开发环境
- Linux 嵌入式驱动开发 -- 环境搭建及模块编程初步
- 嵌入式linux驱动开发环境搭建(亲测成功)
- 嵌入式开发环境搭建
- 嵌入式开发环境搭建
- 嵌入式开发环境搭建
- 驱动开发环境搭建
- 驱动开发环境搭建
- ubuntu搭建嵌入式开发环境
- 搭建Linux嵌入式开发环境
- 搭建嵌入式QT开发环境
- 搭建嵌入式QT4开发环境
- 搭建嵌入式QT4开发环境
- 搭建嵌入式QT4开发环境
- context理解
- redis 五种数据类型的使用场景
- 课程设计——学生信息管理系统(顺序表 链表)
- HTML嵌套问题
- android学习_0001_环境搭建与hello world
- 嵌入式驱动开发环境搭建
- python3.5 爬取bing搜索结果页面标题、链接
- HTTP 协议入门
- HDU 5879 Cure 2016 ACM/ICPC Asia Regional Qingdao Online
- hdu 5882
- Android几种数据存储方式的应用场景
- Eclipse使用技巧
- CSDN博客访问量突破10万
- Java4_第3 章_操作符