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
相关推荐
蜡台1 天前
Python包管理工具pip完全指南-----2
linux·windows·python
^—app5668661 天前
游戏运存小启动不起来临时解决方法
运维·服务器
Ujimatsu1 天前
虚拟机安装Debian 13.x及其常用软件(2026.4)
linux·运维·ubuntu
千百元1 天前
zookeeper启不来了
linux·zookeeper·debian
志栋智能1 天前
超自动化安全:构建智能安全运营的核心引擎
大数据·运维·服务器·数据库·安全·自动化·产品运营
AnalogElectronic1 天前
linux 测试网络和端口是否连通的命令详解
linux·网络·php
Edward111111111 天前
4月28日防火墙问题
linux·运维·服务器
拾贰_C1 天前
【Agent | openai | Streaming | 】流式输出Streaming
ubuntu·面试·prompt
想学后端的前端工程师1 天前
【补充内外网突然不通的情况】
运维·服务器
面汤放盐1 天前
何时使用以及何时不应使用微服务:没有银弹
java·运维·云计算