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
相关推荐
GeW6 小时前
超详细!RHCE10版通用备考策略,内含评分细则解读
linux
用户041328465137 小时前
Linux 服务开机自启动怎么配置?systemctl enable 原理详解
linux
草莓熊Lotso15 小时前
【Redis 初阶】Set 类型深度解析:去重集合的运算能力与实战场景
linux·网络·数据库·windows·redis·tcp/ip·缓存
张文君16 小时前
ubuntu26.04坏道坏块分区隔离急速版260831-V0.12
linux·python
IT大白鼠16 小时前
Docker 实战 ELKF 日志监控:容器日志全栈收集分析方案
运维·docker·容器
贝锐1 天前
从国产化信创设备到商用安卓终端,向日葵如何帮助企业实现统一运维管理?
linux·运维·远程控制
Julien20041 天前
调查和解决 SELinux 问题
linux·运维·服务器·网络·学习方法
天远Date Lab1 天前
零信任架构实战:基于天远双人婚姻评估查询构建自动化房产按揭联合审查网关
运维·人工智能·架构·自动化
2601_962074681 天前
自己编译RustDesk,并将自建ID服务器和key信息写入客户端
运维·服务器
小张同学a.1 天前
Docker 容器实战 1—— docker 基础与镜像构建
linux·运维·docker·容器