Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用idf编译完最新代码之后,固件烧录进去用不了 #223

Open
3 tasks done
sbb520 opened this issue Feb 23, 2025 · 3 comments
Open
3 tasks done

用idf编译完最新代码之后,固件烧录进去用不了 #223

sbb520 opened this issue Feb 23, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@sbb520
Copy link

sbb520 commented Feb 23, 2025

Answers checklist.

  • I have read the documentation XiaoZhi AI Programming Guide and the issue is not addressed there.
  • I have updated my branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

XiaoZhi AI version.

v1.2.1-14-g20d52de

Operating System used.

Windows

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

根据教程:https://icnynnzcwou8.feishu.cn/wiki/JEYDwTTALi5s2zkGlFGcDiRknXf
使用最新版本的代码,在idf编译器去到目录下面,依次使用 idf.py set-target esp32s3,idf.py build,成功编译出来xiaozhi.bin文件,希望成功烧录进去面包板并可以进入到初始的配网模式。

What is the actual behavior?

烧录出来的固件只有2.6mb大小,烧录进去面包板没有任何的反应和屏幕显示,但是如果用最新固件release:https://github.com/78/xiaozhi-esp32/releases,烧录进去面包板是可以正常使用的(下载release的固件有3.6mb大小)。怀疑是初始代码配置有问题,或者可能是小弟我的配置不对?希望能多增加一点编译代码或者修改配置的详细教程。

Steps to reproduce.

  1. git clone最新代码
  2. idf.py set-target esp32s3
  3. idf.py build
  4. 烧录进去面包板esp32 S3
    ...

Build or installation Logs.


More Information.

No response

@sbb520 sbb520 added the bug Something isn't working label Feb 23, 2025
@xufengnian
Copy link

你可以参考我的issue #222 ,配置里选对xiaozhi Assistant的Board Type的类型(咱们固件不一定一样,按需选你的),再烧录固件

Image

@KeysPAN0114
Copy link

这...好歹看一下ESP-IDF的入门教程吧。编译的固件要用idf.py -p COMX flash烧录(COMX的X在设备管理器看),编译完的xiaozhi.bin只是软件包,其他包都没烧录,要做成一个包用官方工具合并成一个。

@Rx782-Fss
Copy link

要不 就直接idf.py flash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants