Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【XR806开发板试用】编译FreeRTOS系统

    Wireless & Analog Series
    2
    2
    1662
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tlled LV 2 last edited by

      编译FreeRTOS系统,测试串口输出。

      一、下载源码

      1.1、获取源码

      下载源码:
      root@ubuntu:/home# wget https://bbs.aw-ol.com/assets/uploads/files/1693988430633-xr806_sdk.tar.gz
      解压文件
      root@ubuntu:/home# tar xvf 1693988430633-xr806_sdk.tar.gz

      1.2、获取ToolChain

      下载工具
      root@ubuntu:/home# wget https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2

      解压文件到~/tools
      root@ubuntu:/home# tar xvf gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2 -C ~/tools/

      二、编译源码

      2.1、修改编译工具路径
      修改源码目录下的/xr806_sdk# vi gcc.mk
      201.png

      root@ubuntu:/home/xr806_sdk# cp project/demo/hello_demo/gcc/defconfig .config
      root@ubuntu:/home/xr806_sdk# make menuconfig
      root@ubuntu:/home/xr806_sdk# make build_clean
      root@ubuntu:/home/xr806_sdk# make build

      编译完成后,在out文件下生成镜像文件
      300.png

      烧写镜像
      301.png
      烧写完成
      302.png

      三、串口运行
      重新上电开发板,串口输出如下:
      303.png

      1 Reply Last reply Reply Quote Share 2
      • T
        Tristan_C LV 4 last edited by

        这个可以哦,学习了

        1 Reply Last reply Reply Quote Share 0
        • Referenced by  G guan_corey 
        • Referenced by  G guan_corey 
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策