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
相关推荐
2601_9494999410 小时前
硬件工程师实操:芯瑞科技两款 400G 高速互联方案参数、场景、选型全解析
大数据·运维·人工智能·科技·光模块
雾时之林10 小时前
Linux--介绍及管理
linux·运维·服务器
盐焗鹌鹑蛋10 小时前
【Linux】重定向
linux
啦啦啦啦啦zzzz10 小时前
5种IO模型
运维·服务器·网络·c++
FreeTinker10 小时前
企业存储服务器NAS的选型逻辑与补充路径
运维·服务器
呱呱巨基10 小时前
Docker 基础概念学习
linux·c++·学习·docker
acrel710 小时前
算力机房供电不间断,智能电力运维保驾护航
运维·安全·机房电力运维·机房配电·列头柜监测
Dlrb121111 小时前
Linux驱动---Linux 中断系统及其上与下半部的介绍与阻塞IO实现按键检测
linux·嵌入式硬件·imx6ull·中断·阻塞io
mengpp_12345611 小时前
物联网云平台可以离线使用吗?摒弃云端依赖,工业现场离线自动化解决方案
运维·物联网·自动化·华为云
老王IT11 小时前
VMware虚拟机安装的ubuntu忘记用户密码怎么办
ubuntu