RTT在Ubuntu14.04下开发环境的建立

1获取RTT代码:

   git clone https://github.com/RT-Thread/rt-thread.git

2.安装scon 执行sudo apt-get install scons
3. 下载编译器,使用codesourcery 的编译器arm-2010.09-51-arm-none-eabi-i686-pc-linux-gnu.tar.bz2,官网已经不再提供下载,可自行google其他的源下载安装。

4.安装编译器, 设置PATH环境变量。
5. 使用RTT V2.1.0版:

git reset --hard v2.1.0

6. 进入到 ./bsp/mini2440$目录, 执行scons 开始编译
7. 结束

猜你喜欢

转载自blog.csdn.net/tugouxp/article/details/68951840
今日推荐