Getting started with XR808 and XR872-setting up the environment and the problem of not being able to burn

XR808 & XR872 development environment construction and precautions

SDK download link

  [SDK](https://github.com/XradioTech/xradio-skylark-sdk)

Set up a linux development environment

Download the SDK in the virtual machine
              git clone https://github.com/XradioTech/xradio-skylark-sdk.git
Install cross compilation tool chain
              [GCC](https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q2-update/+download/gcc-arm-none-eabi-4_9-2015q2-2%200150609-linux.tar.bz2)

The installation position of the cross tool can be customized

Configure compilation parameters
        1、配置工具链路径
              gcc.mk 中:
                CC_DIR = ~/tools/gcc-arm-none-eabi-4_9-2015q2/bin  修改为自己的工具链路径

          2、编译
                 $ cd project/demo/hello_demo/gcc   # 切换到工程编译目录
                 $ make config  #选择芯片类型以及晶振频率
                 $ make build # 编译代码并生成镜像文件
          清理编译:make clean   make build_clean
Precautions
            若出现编译工具链已安装、路径设置正确但是仍然报找不到工具链路径,此时一般为未安装32位依赖库
            解决方法:sudo apt-get install ia32-libs

            若出现烧录不了,一般为未进入下载模式,同时按下PB2、PB3,不松开,再按复位,松开复位,再松开PB2、PB3。注意先后顺序。

Get development reference materials

Pay attention to the official account, send 808 or 872 to get software and hardware reference materialsInsert picture description here

Guess you like

Origin blog.csdn.net/tulongyongshi/article/details/104383987