Skip to content

git clone main 分支,idf.py build报错。 #14

@apachexc

Description

@apachexc

git clone main 分支,idf.py build报错 ,用 ESP-IDF v5.5.1。 编译 ESP32 项目失败,有多个错误:引导程序过大、I2S API 不兼容、LEDC 函数不存在、V4L2 宏未定义等。版本不兼容(项目代码适配旧 IDF?????????)+ 引导程序尺寸超限。

引导程序大小超限:0x7730 > 0x7000,需要调整分区表偏移。
I2S 错误:ext_clk_freq_hz、i2s_tdm_config_t、left_align 都是 IDF5 移除的旧 API,IDF5 I2S 重构了。
LEDC 错误:ledc_fade_stop 在 IDF5 中被移除 / 重命名。
其他:V4L2_PIX_FMT_RGB565、image_to_jpeg_cb 未定义。

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