ADF中的DLNA例程编译失败问题

Jr.Lee
Posts: 4
Joined: Thu Jul 16, 2020 3:25 pm

ADF中的DLNA例程编译失败问题

Postby Jr.Lee » Thu Jul 16, 2020 3:53 pm

见下图,不知怎么解决?
DA843A6B-CDF4-47fd-8E71-D2F265E0EEFE.png
DA843A6B-CDF4-47fd-8E71-D2F265E0EEFE.png (68.63 KiB) Viewed 13639 times

Jr.Lee
Posts: 4
Joined: Thu Jul 16, 2020 3:25 pm

Re: ADF中的DLNA例程编译失败问题

Postby Jr.Lee » Fri Jul 17, 2020 2:54 pm

esp-adf\examples\get-started目录下工程编译没有问题,但\esp-adf\examples\advanced_examples目录下好几个工程编译都有问题

Jr.Lee
Posts: 4
Joined: Thu Jul 16, 2020 3:25 pm

Re: ADF中的DLNA例程编译失败问题

Postby Jr.Lee » Fri Jul 17, 2020 3:16 pm

idf版本:esp-idf-v4.0.1;
adf版本:esp-adf-v2.0

Jr.Lee
Posts: 4
Joined: Thu Jul 16, 2020 3:25 pm

Re: ADF中的DLNA例程编译失败问题

Postby Jr.Lee » Wed Jul 22, 2020 7:21 am

问题已解决,下载下来的demo中CMakelists.txt需要添加:
target_add_binary_data(dlna_example.elf "./components/esp_dlna/xml/devicelist.xml" TEXT)
编译可以成功,但运行时,串口监控提示需要安装esp-idf v3.3补丁包:idf_v3.3_freertos.patch
根据提示:
cd %IDF_PATH%
git apply %ADF_PATH%/idf_patchs/idf_v3.3_freertos.patch
安装不成功,查看idf_v3.3_freertos.patch,手工修改:
%ADF_PATH%/components/freertos/task.c
%ADF_PATH%/components/freertos/include/freertos/task.h
后,编译下载,运行成功。

Who is online

Users browsing this forum: No registered users and 12 guests