【板子申请】Ai-M61-32S开发环境搭建过程

[复制链接]
查看1656 | 回复19 | 2023-11-14 23:30:14 | 显示全部楼层 |阅读模式
由于我有用过git 和vscode的经验所以直接看 简单版本的教程完成了搭建    这段比较简略    详细的时候真小白搭建 包括了git的安装及其注意事项

下面是我出错的过程  可能有问题 请大家谅解
回复

使用道具 举报

car | 2023-11-14 23:34:21 | 显示全部楼层
C:\Users\carter\Pictures\按可信搭建  这是图片 报错了卡在 简略教程的 make 这一步 其他的我应该都是正确的  
如果图片不行 我把log 也发帖出来
以下是log

[ 99%] Building C object build_out/components/graphics/lvgl/CMakeFiles/lvgl.dir/widgets/lv_slider.c.obj
[ 99%] Building C object build_out/components/graphics/lvgl/CMakeFiles/lvgl.dir/widgets/lv_switch.c.obj
[ 99%] Building C object build_out/components/graphics/lvgl/CMakeFiles/lvgl.dir/widgets/lv_table.c.obj
[100%] Building C object build_out/components/graphics/lvgl/CMakeFiles/lvgl.dir/widgets/lv_textarea.c.obj
[100%] Linking C static library ..\..\..\lib\liblvgl.a
[100%] Built target lvgl
[100%] Building C object CMakeFiles/Eyes_bl616.elf.dir/main.c.obj
In file included from D:\code_code\temp\AiPi-Open-Kits\aithinker_Ai-M6X_SDK\components\net\lwip\lwip\src\include/lwip/opt.h:52,
                 from D:\code_code\temp\AiPi-Open-Kits\aithinker_Ai-M6X_SDK\components\net\lwip\lwip\src\include/lwip/tcpip.h:40,
                 from D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\main.c:28:
d:\code_code\temp\aipi-open-kits\aipi-eyes_weather\lwipopts_user.h:35: warning: "CONFIG_MAC_TXQ_DEPTH" redefined
   35 | #define CONFIG_MAC_TXQ_DEPTH 32
      |
<command-line>: note: this is the location of the previous definition
D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\main.c: In function 'wifi_connect':
D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\main.c:246:9: warning: unused variable 'ret' [-Wunused-variable]      
  246 |     int ret = 255;
      |         ^~~
At top level:
D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\main.c:83:30: warning: 'uart0' defined but not used [-Wunused-variabl
]
   83 | static struct bflb_device_s* uart0;
      |                              ^~~~~
[100%] Linking C executable build_out\Eyes_bl616.elf
Generate D:/code_code/temp/AiPi-Open-Kits/AiPi-Eyes_weather/build/build_out/Eyes_bl616.bin
[100%] Built target Eyes_bl616.elf
make -C build combine
[23:26:24.207] - bflb firmware post process : V1.2.0
[23:26:24.207] - Chipname: bl616
[23:26:24.207] - Board config dir: ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config
[23:26:24.208] - Create partition using partition_cfg_4M.toml
[23:26:24.219] - Create dts for D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin
[23:26:24.219] - Create dts using bl_factory_params_IoTKitA_auto.dts
[23:26:24.228] - 4K header found,append dts file
[23:26:24.230] - Copy boot2_bl616_release_v8.0.8.bin
[23:26:24.231] - Copy mfg_bl616_gu_af8b0946f_v2.26.bin
[23:26:24.234] - Create dts for D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\mfg_bl616_gu_af8b0946f_v2.26.bin
[23:26:24.234] - Create dts using bl_factory_params_IoTKitA_auto.dts
[23:26:24.237] - 4K header found,append dts file
[23:26:24.238] -
Process D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin
[23:26:24.239] - ========= sp image create =========
[23:26:24.240] - Flash config crc: b'b5fec518'
[23:26:24.240] - Clock config crc: b'4a05f490'
[23:26:24.240] - Image Offset:0x1000
[23:26:24.247] - Image hash is b'cf58997bf1368617c18c040078de237eeac684cda7fa674b2680ee64d9db2a1e'
[23:26:24.247] - Encrypt efuse data
[23:26:24.251] - Image Offset:0x1000
[23:26:24.251] - Image hash ignore,not calculate
[23:26:24.251] - Bootheader config crc: b'de51a2ac'
[23:26:24.252] -
Process D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\boot2_bl616_release_v8.0.8.bin
[23:26:24.252] - ========= sp image create =========
[23:26:24.253] - Flash config crc: b'b5fec518'
[23:26:24.253] - Clock config crc: b'4a05f490'
[23:26:24.253] - Image Offset:0x2000
[23:26:24.253] - Image hash is b'4f4eecaddc6e597708f626253879f5560534d2e3baff848f4d96fabbce4b020f'
[23:26:24.254] - Encrypt efuse data
[23:26:24.254] - Image Offset:0x2000
[23:26:24.255] - Image hash ignore,not calculate
[23:26:24.255] - Bootheader config crc: b'ccbfa125'
[23:26:24.255] -
Process D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\mfg_bl616_gu_af8b0946f_v2.26.bin
[23:26:24.256] - ========= sp image create =========
[23:26:24.256] - Flash config crc: b'4fb1fe70'
[23:26:24.257] - Clock config crc: b'0b34ef89'
[23:26:24.257] - Image Offset:0x1000
[23:26:24.259] - Image hash is b'69de5b7af45fea2e456fb6864612126bbdad58e69294d1466a2f892e010d1f3d'
[23:26:24.259] - Encrypt efuse data
[23:26:24.260] - Image Offset:0x1000
[23:26:24.261] - Bootheader config crc: b'f9cf01e0'
[23:26:24.263] - create OTA file:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.bin.ota   
[23:26:24.406] - create XZ file:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.xz
[23:26:24.960] - create XZ OTA file:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather\build\build_out\Eyes_bl616.xz.ota
Built target combine
cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out
process_begin: CreateProcess(NULL, cp ./../aithinker_Ai-M6X_SDK/bsp/board/bl616dk/config/edata.bin build/build_out, ...)
failed.
make (e=2): ϵͳҲָļ
make: *** [../aithinker_Ai-M6X_SDK/project.build:75: build] Error 2
PS D:\code_code\temp\AiPi-Open-Kits\AiPi-Eyes_weather>
回复 支持 反对

使用道具 举报

car | 2023-11-14 23:39:01 | 显示全部楼层
直接找 发现 一个解决措施 大佬的  
我来试试
回复 支持 反对

使用道具 举报

car | 2023-11-14 23:40:56 | 显示全部楼层
C:\Users\carter\Pictures\按可信搭建\make错误.png  图片之前的没成功 现在应该成功了 园长 看我看我
回复 支持 反对

使用道具 举报

WangChong | 2023-11-15 17:45:18 | 显示全部楼层
你这个是完成了,但是你缺乏安装步骤以及截图展示. 插眼给园长看(3)
回复 支持 反对

使用道具 举报

car | 2023-11-15 19:37:17 | 显示全部楼层
WangChong 发表于 2023-11-15 17:45
你这个是完成了,但是你缺乏安装步骤以及截图展示. 插眼给园长看(3)

还没研究明白怎么截图上传 不好意思啊 其他的软件我一开始就安装了
回复 支持 反对

使用道具 举报

car | 2023-11-15 19:42:02 | 显示全部楼层
WangChong 发表于 2023-11-15 17:45
你这个是完成了,但是你缺乏安装步骤以及截图展示. 插眼给园长看(3)

谢谢你
回复 支持 反对

使用道具 举报

爱笑 | 2023-11-16 16:07:27 | 显示全部楼层
用心做好保姆工作
回复 支持 反对

使用道具 举报

car | 2023-11-20 22:14:56 | 显示全部楼层
测试图片能否上传 vscode版本

vscode版本

vscode版本
回复 支持 反对

使用道具 举报

car | 2023-11-20 22:16:50 | 显示全部楼层
我 的确搭建好了开发环境  
目前vscode版本是zip版本的

版本: 1.80.2
提交: 2ccd690cbff1569e4a83d7c43d45101f817401dc
日期: 2023-07-27T20:40:28.909Z (3 个月前)
浏览器: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.80.2 Chrome/108.0.5359.215 Electron/22.3.14 Safari/537.36
git版本
git version 2.33.1.windows.1
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则