configENABLE_BACKWARD_COMPATIBILITY 与 CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY

13302657252
Posts: 10
Joined: Thu Jun 01, 2023 10:58 am

configENABLE_BACKWARD_COMPATIBILITY 与 CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY

Postby 13302657252 » Tue Jun 27, 2023 3:42 am

我把esp-idf4.3.1下写的软件升级到esp-idf5.1.0遇到个问题,编译老是提示 identifier "xQueueHandle" is undefined,找到xQueueHandle有定义在文件freertos.h但是有个configENABLE_BACKWARD_COMPATIBILITY要设置1才有它的定义,这个在menuconfig设置后还是找不到,发现sdkconfig文件里面的是CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY,不是configENABLE_BACKWARD_COMPATIBILITY,这个怎么搞?

ESP_Zombie
Posts: 20
Joined: Tue Mar 15, 2022 6:15 am

Re: configENABLE_BACKWARD_COMPATIBILITY 与 CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY

Postby ESP_Zombie » Tue Jul 18, 2023 9:38 am

您好,

您可以参考 官方 的迁移指南 https://docs.espressif.com/projects/esp ... m.html#api, 里面提到了您的这部分兼容性改动。
Attachments
Selection_037.png
Selection_037.png (72.22 KiB) Viewed 1043 times

Who is online

Users browsing this forum: No registered users and 129 guests