Page 1 of 1

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

Posted: Thu Jul 16, 2020 3:53 pm
by Jr.Lee
见下图,不知怎么解决?
DA843A6B-CDF4-47fd-8E71-D2F265E0EEFE.png
DA843A6B-CDF4-47fd-8E71-D2F265E0EEFE.png (68.63 KiB) Viewed 13610 times

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

Posted: Fri Jul 17, 2020 2:54 pm
by Jr.Lee
esp-adf\examples\get-started目录下工程编译没有问题,但\esp-adf\examples\advanced_examples目录下好几个工程编译都有问题

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

Posted: Fri Jul 17, 2020 3:16 pm
by Jr.Lee
idf版本:esp-idf-v4.0.1;
adf版本:esp-adf-v2.0

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

Posted: Wed Jul 22, 2020 7:21 am
by Jr.Lee
问题已解决,下载下来的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
后,编译下载,运行成功。