01 clone SDK
git clone -b dev https://github.com/ambiot/ambd_sdk.git 克隆DEV分支
文件有点大,如果克隆失败,下载压缩包并解压
![01.jpg 01.jpg](data/attachment/forum/202404/04/184452ml867kk57aww7auw.jpg)
![解压.jpg 解压.jpg](data/attachment/forum/202404/04/184510dci8asc4efcpcsjt.jpg)
最后目录
![解压目录.jpg 解压目录.jpg](data/attachment/forum/202404/04/184525af7tnddgn18nyfyo.jpg)
02 增加权限
chmod -R 777 ./project/realtek_amebaD_va0_example/GCC-RELEASE/
官方写的是777,自己开发,省事
03 安装依赖
sudo apt-get install git wget libc6-i386 lib32ncurses5 make bc gawk ncurses-dev
ubuntu22 版本有些依赖木有了,本次搭建使用ubuntu18版本,成功搭建
04 编译project_lp
cd ./project/realtek_amebaD_va0_example/GCC-RELEASE/project_lp/
make all
make完成
![lp烧录完成.jpg lp烧录完成.jpg](data/attachment/forum/202404/04/184549atbqgsbqb652bsta.jpg)
镜像文件
![lp镜像文件.jpg lp镜像文件.jpg](data/attachment/forum/202404/04/184632w0pypwvdxg0tvuxp.jpg)
04 编译project_hp
cd ../project_hp/ 切换到hp目录
make all
![hpmake完成.jpg hpmake完成.jpg](data/attachment/forum/202404/04/184653r59o098te9b55eol.jpg)
镜像文件
![hp镜像文件.jpg hp镜像文件.jpg](data/attachment/forum/202404/04/184705vyx9fncsky9w9pyf.jpg)
至此,编译完成
烧录
烧录部分linux无法烧录,需要复制镜像文件到windows进行烧录
复制3个文件:km0_boot_all.bin,km0_km4_image2.bin,km4_boot_all.bin
烧录教程请看我AT指令篇章,有详细介绍
|