Skip to content

IDF5.5.1下在master分钟的chinese_tts例程编译会报错 (AIS-2140) #165

@caidamao

Description

@caidamao

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

目前在最新版本的IDF5.5.1下不能编译成功,期望可以编译成功.

Actual behavior (suspected bug)

问题1:
提示隐式声明 esp_vfs_dev_uart_use_driver
问题1解决方法:在tts.urat.c文件内添加#include "esp_vfs_dev.h"

Image

问题2:main第58行报错,提示指针类型不符
问题2解决方法:第55行由 void* voicedata; 修改为 const void* voicedata;

Image

问题3:bsp_board内第394行的指针类型错误报错,这个函数我还没研究明白,不知道怎么修改合适

Image

Error logs or terminal output

Steps to reproduce the behavior

1.切换IDF为5.5.1
2.目标芯片选择S3|
3.BSP选择ESP BOX3
4.编译
5.报错

Project release version

IDF5.5.1 搭配最新的例程

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

WIN11

Shell

PowerShell

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions