xr871-开始编译环境

setup the Build Environment

Aaron-Ye edited this page on Feb 28 · 5 revisions


Content


On Windows

1. Install Cygwin / 安装Cygwin工具

  • Download Cygwin terminal tools from https://cygwin.com/install.html
    从Cygwin官方网站下载Cygwin终端setup-x86.exe
  • Run setup-x86.exe or setup-x86_64.exe(for Windows 64-bit OS) to install the Cygwin packages
    运行setup-x86.exe安装Cygwin工具包(注意:安装路径不要包含中文路径或者空格
  • Select packages we want to install(make, git, wget, binutils, vim,etc.)
    选择想要安装的工具包(make, git, wget, binutils, vim等)
    cygwin-select-tools

2. Download the toolchain / 下载安装工具链

3. Setup the Build Environment / 设置编译环境

  • Download the XR871SDK Repository from github (git clone https://github.com/XradioTech/XR871.git)
    从github上下载XR871SDK仓库
  • modify the 03_SDK/xr871sdk/gcc.mk and set the variable CC_DIR to config the toolchain path
    修改gcc.mk中的CC_DIR变量设置工具链的安装路径
  CC_DIR := ~/tools/gcc-arm-none-eabi-4_9-2015q2/bin

On Linux

1. Select a Linux Platfrom / 选择Linux开发平台

  • Ubuntu is recommended
    推荐使用Ubuntu平台

2. Download the toolchain / 下载安装工具链

3. Setup the Build Environment / 设置编译环境

  • Download the XR871SDK Repository from github (git clone https://github.com/XradioTech/XR871.git)
    从github上下载XR871SDK仓库
  • modify the 03_SDK/xr871sdk/gcc.mk and set the variable CC_DIR to config the toolchain path
    修改gcc.mk中的CC_DIR变量设置工具链的安装路径
  CC_DIR := ~/tools/gcc-arm-none-eabi-4_9-2015q2/bin
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值