AI WB2 SDK Ubuntu 环境搭建

安装依赖

shell 复制代码
sudo apt install build-essential python3 python3-pip git screen

下载SDK

shell 复制代码
git clone --recursive https://gitee.com/Ai-Thinker-Open/Ai-Thinker-WB2

修改权限

在toolchain文件夹有三个平台的编译工具,我们使用Linux平台

进入Linux,执行shell脚本

  • Darwin
shell 复制代码
 cd toolchain/riscv/Darwin/
 . chmod755.sh 
  • Linux
shell 复制代码
 cd toolchain/riscv/Linux/
 . chmod755.sh 
  • MSYS
shell 复制代码
 cd toolchain/riscv/MSYS/
 . chmod755.sh 

编译Hello Word 工程

进入Helloword文件夹

shell 复制代码
make -j8

烧录

请连接您的Ai-WB2串口开发板,并根据提示按下EN按钮。

shell 复制代码
make flash p=/dev/ttyUSB0 b=921600

帮助

此外,您还可以使用此命令查看帮助信息。

shell 复制代码
make help

您的配置芯片型号为Ai-Thinker Ai-WB2 Wi-Fi与BLE模块

欢迎使用Ai-WB2 SDK构建系统。可用的make目标:

  • "make all" - Build app, components
  • "make clean" - Remove all app components output
  • "make flash" - Build and download firmware
  • "make flash-only" - Only download firmware
  • "make eflash" - Use the flash after erasing it
  • "make erase_flash" - Erase all internal contents of flash
  • "make list-components" - List all components in the project
  • "make [component name]" - build a component as a library
相关推荐
志栋智能2 小时前
超自动化巡检:实现运维“事前预防”的关键拼图
大数据·运维·网络·人工智能·机器学习·自动化
Robot_Nav2 小时前
双系统Linux死机解决方法
linux·运维·服务器
七夜zippoe2 小时前
OpenClaw 技能开发实战:从零到一
运维·服务器·网络·openclaw·技能开发
bloglin999992 小时前
docker logs 如何一直监听日志输出
运维·docker·容器
TMT星球2 小时前
智元A3发布即进租赁平台,擎天租成为机器人的“首发应用市场”
运维·机器人
加勒比之杰克2 小时前
从阻塞 IO 到 epoll:把 Linux 网络 IO 一次讲透
linux·网络·windows·select·多路转接·epoll·poll
开开心心_Every3 小时前
文字转语音无字数限,对接微软接口比付费爽
运维·服务器·人工智能·edge·pdf·paddle·segmentfault
龙卷风卷云3 小时前
【BUG】Nginx使用upstream后端接口报 400
运维·nginx·bug
书到用时方恨少!3 小时前
Linux 常用指令使用指南:从入门到“救命”
linux·运维·服务器