Korov_du1906最新版IDF编译不成功

sagesiot
Posts: 12
Joined: Thu Feb 18, 2021 2:35 pm

Korov_du1906最新版IDF编译不成功

Postby sagesiot » Thu Feb 18, 2021 2:57 pm

年前刚拿到板子,这几天测试之后发现没办法正确编译对应的例子,报错如下
/home/gfzou/esp/esp-adf/components/audio_stream/http_stream.c: In function '_http_read':
/home/gfzou/esp/esp-adf/components/audio_stream/http_stream.c:536:24: error: implicit declaration of function 'esp_http_client_get_errno'; did you mean 'esp_http_client_get_url'? [-Werror=implicit-function-declaration]
http->_errno = esp_http_client_get_errno(http->client);
^~~~~~~~~~~~~~~~~~~~~~~~~
esp_http_client_get_url
cc1: some warnings being treated as errors
[1371/1411] Building C object esp-idf/audio_stream/CMakeFiles/__idf_audio_stream.dir/algorithm_stream.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

其中仔细研究了说明文档后按下面的方法采用了特定版本的IDF 分支之后,发现其他基本的idf案例也没办法编译了
IDF branch

For now, we need to select audio IDF branch as follow.

cd $IDF_PATH
git checkout master
git pull
git checkout audio/stack_on_psram_v3.3
git submodule update --init --recursive

The latest commit ID is 0c1859a5a5a5eded5af1b9423c290781e3973915

另外以下这第一个补丁也没办法正确正确打上
ADF Patches

For now, we need an ADF patch as follow.

cd $IDF_PATH
git apply $ADF_PATH/examples/korvo_du1906/patches/transport_ssl.patch
cd $ADF_PATH
git apply ./idf_patches/adf_http_stream.patch
git apply ./examples/korvo_du1906/patches/a2dp_stream_du1906.patch

另外该板子配置后百度后台,拿到ak,pk等设置了profiles.bin,刷了板子后,也配置了网络,但是没有听到网络连接成功的语音提示,而且没办法使用语音,是板子有问题还是固件有问题?想编译app又有问题,还恳请技术人员尽快解答,谢谢。

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: Korov_du1906最新版IDF编译不成功

Postby jason.mao » Fri Feb 19, 2021 3:21 am

Hi sagesiot,

是的,要根据该example的使用说明,配置指定IDF版本和对应的patches。
你说的问题,我们核实后回复你。

sagesiot
Posts: 12
Joined: Thu Feb 18, 2021 2:35 pm

Re: Korov_du1906最新版IDF编译不成功

Postby sagesiot » Fri Feb 19, 2021 4:01 am

好的,谢谢。另外有一个疑问,是要ADF里面的ESP-IDF进行编译吗?我也测试过该文件夹的IDF,同样的结果。

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: Korov_du1906最新版IDF编译不成功

Postby jason.mao » Sat Feb 20, 2021 2:23 am

为了简化流程,我们做了一点修改,https://github.com/espressif/esp-adf/co ... dc7883259c,你拉到上面这个版本按步骤再进行编译。推荐使用ADF下的IDF,这个IDF的commit ID 是ADF 通用的版本,不是的最新的IDF版本。编译Korov du1906时,注意编译器也需要用 IDF v3.3 推荐的版本。

sagesiot
Posts: 12
Joined: Thu Feb 18, 2021 2:35 pm

Re: Korov_du1906最新版IDF编译不成功

Postby sagesiot » Sat Feb 20, 2021 5:20 am

Hi Jason,以下是我重新拉的结果,是我执行的方法有误吗?

gf@Workstation:~/esp$ git clone https://github.com/espressif/esp-adf.git
正克隆到 'esp-adf'...
remote: Enumerating objects: 142, done.
remote: Counting objects: 100% (142/142), done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 9807 (delta 54), reused 71 (delta 40), pack-reused 9665
接收对象中: 100% (9807/9807), 56.43 MiB | 2.00 MiB/s, 完成.
处理 delta 中: 100% (6446/6446), 完成.
gf@Workstation:~/esp$ cd esp-adf
gf@Workstation:~/esp/esp-adf$ ls
CMakeLists.txt components docs esp-idf examples idf_patches LICENSE micropython_adf project.mk README.md tools
gf@Workstation:~/esp/esp-adf$ cd esp-idf
gf@Workstation:~/esp/esp-adf/esp-idf$ git checkout master
已经位于 'master'
您的分支与上游分支 'origin/master' 一致。
gf@Workstation:~/esp/esp-adf/esp-idf$ git pull
已经是最新的。
gf@Workstation:~/esp/esp-adf/esp-idf$ git checkout audio/stack_on_psram_v3.3
error: 路径规格 'audio/stack_on_psram_v3.3' 未匹配任何 git 已知文件
gf@Workstation:~/esp/esp-adf/esp-idf$

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: Korov_du1906最新版IDF编译不成功

Postby jason.mao » Sat Feb 20, 2021 10:31 am

你在执行完,
之后需要再执行这句话

Code: Select all

git submodule update --init --recursive
,因为前面的clone 只下载了adf,其实ADF还包含比较多的submoudule。

sagesiot
Posts: 12
Joined: Thu Feb 18, 2021 2:35 pm

Re: Korov_du1906最新版IDF编译不成功

Postby sagesiot » Sat Feb 20, 2021 11:17 am

Hi,jason,感谢你的耐心回复,我会另外一个楼主发现了同样的问题,估计应该是一致的问题,我把执行过程完整post出来,麻烦你看看问题出在哪里,系统Unbutun 20.4 ,python3.8.5,谢谢:
gfzou@Workstation:~/esp/esp-gitee-tools$ ./submodule-update.sh ~/esp/esp-adf
正克隆到 '/home/gfzou/esp/esp-adf/components/esp-adf-libs'...
remote: Enumerating objects: 1659, done.
remote: Counting objects: 100% (1659/1659), done.
remote: Compressing objects: 100% (851/851), done.
remote: Total 1659 (delta 773), reused 1446 (delta 682), pack-reused 0
接收对象中: 100% (1659/1659), 66.57 MiB | 4.63 MiB/s, 完成.
处理 delta 中: 100% (773/773), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/components/esp-sr'...
remote: Enumerating objects: 635, done.
remote: Counting objects: 100% (635/635), done.
remote: Compressing objects: 100% (291/291), done.
remote: Total 635 (delta 386), reused 518 (delta 336), pack-reused 0
接收对象中: 100% (635/635), 30.34 MiB | 3.15 MiB/s, 完成.
处理 delta 中: 100% (386/386), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf'...
remote: Enumerating objects: 219545, done.
remote: Counting objects: 100% (219545/219545), done.
remote: Compressing objects: 100% (56723/56723), done.
remote: Total 219545 (delta 164064), reused 212179 (delta 156991), pack-reused 0
接收对象中: 100% (219545/219545), 123.88 MiB | 7.77 MiB/s, 完成.
处理 delta 中: 100% (164064/164064), 完成.
子模组路径 'components/esp-adf-libs':检出 '59f531061f492eeb17894c100ac044afc554a4ab'
子模组路径 'components/esp-sr':检出 'c5896943ea278195968c93c8b3466c720e641ebc'
子模组路径 'esp-idf':检出 '722043f734fa556d66d57473ac266fb1d0ec5ad2'
进入 'components/esp-adf-libs'
进入 'components/esp-sr'
进入 'esp-idf'
子模组 'components/asio/asio'(https://github.com/espressif/asio.git)已对路径 'components/asio/asio' 注册
子模组 'components/aws_iot/aws-iot-device-sdk-embedded-C'(https://github.com/espressif/aws-iot-de ... dded-C.git)已对路径 'components/aws_iot/aws-iot-device-sdk-embedded-C' 注册
子模组 'components/bt/lib'(https://github.com/espressif/esp32-bt-lib.git)已对路径 'components/bt/lib' 注册
子模组 'components/coap/libcoap'(https://github.com/obgm/libcoap.git)已对路径 'components/coap/libcoap' 注册
子模组 'components/esp32/lib'(https://github.com/espressif/esp32-wifi-lib.git)已对路径 'components/esp32/lib' 注册
子模组 'components/esptool_py/esptool'(https://github.com/espressif/esptool.git)已对路径 'components/esptool_py/esptool' 注册
子模组 'components/expat/expat'(https://github.com/libexpat/libexpat.git)已对路径 'components/expat/expat' 注册
子模组 'components/json/cJSON'(https://github.com/DaveGamble/cJSON.git)已对路径 'components/json/cJSON' 注册
子模组 'components/libsodium/libsodium'(https://github.com/jedisct1/libsodium.git)已对路径 'components/libsodium/libsodium' 注册
子模组 'components/lwip/lwip'(https://github.com/espressif/esp-lwip.git)已对路径 'components/lwip/lwip' 注册
子模组 'components/mbedtls/mbedtls'(https://github.com/espressif/mbedtls.git)已对路径 'components/mbedtls/mbedtls' 注册
子模组 'components/micro-ecc/micro-ecc'(https://github.com/kmackay/micro-ecc.git)已对路径 'components/micro-ecc/micro-ecc' 注册
子模组 'components/mqtt/esp-mqtt'(https://github.com/espressif/esp-mqtt.git)已对路径 'components/mqtt/esp-mqtt' 注册
子模组 'components/nghttp/nghttp2'(https://github.com/nghttp2/nghttp2.git)已对路径 'components/nghttp/nghttp2' 注册
子模组 'components/nimble/nimble'(https://github.com/espressif/esp-nimble.git)已对路径 'components/nimble/nimble' 注册
子模组 'components/protobuf-c/protobuf-c'(https://github.com/protobuf-c/protobuf-c)已对路径 'components/protobuf-c/protobuf-c' 注册
子模组 'components/spiffs/spiffs'(https://github.com/pellepl/spiffs.git)已对路径 'components/spiffs/spiffs' 注册
子模组 'components/unity/unity'(https://github.com/ThrowTheSwitch/Unity)已对路径 'components/unity/unity' 注册
子模组 'examples/build_system/cmake/import_lib/main/lib/tinyxml2'(https://github.com/leethomason/tinyxml2)已对路径 'examples/build_system/cmake/import_lib/main/lib/tinyxml2' 注册
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/asio/asio'...
remote: Enumerating objects: 48394, done.
remote: Counting objects: 100% (48394/48394), done.
remote: Compressing objects: 100% (12038/12038), done.
remote: Total 48394 (delta 33826), reused 48394 (delta 33826), pack-reused 0
接收对象中: 100% (48394/48394), 15.55 MiB | 1.98 MiB/s, 完成.
处理 delta 中: 100% (33826/33826), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'...
remote: Enumerating objects: 1538, done.
remote: Counting objects: 100% (1538/1538), done.
remote: Compressing objects: 100% (628/628), done.
remote: Total 1538 (delta 868), reused 1538 (delta 868), pack-reused 0
接收对象中: 100% (1538/1538), 968.30 KiB | 539.00 KiB/s, 完成.
处理 delta 中: 100% (868/868), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/bt/lib'...
remote: Enumerating objects: 1390, done.
remote: Counting objects: 100% (1390/1390), done.
remote: Compressing objects: 100% (651/651), done.
remote: Total 1390 (delta 927), reused 1079 (delta 737), pack-reused 0
接收对象中: 100% (1390/1390), 6.32 MiB | 1.09 MiB/s, 完成.
处理 delta 中: 100% (927/927), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/coap/libcoap'...
remote: Enumerating objects: 10393, done.
remote: Counting objects: 100% (10393/10393), done.
remote: Compressing objects: 100% (3066/3066), done.
remote: Total 10393 (delta 7410), reused 9737 (delta 6944), pack-reused 0
接收对象中: 100% (10393/10393), 4.07 MiB | 874.00 KiB/s, 完成.
处理 delta 中: 100% (7410/7410), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/esp32/lib'...
remote: Enumerating objects: 12004, done.
remote: Counting objects: 100% (12004/12004), done.
remote: Compressing objects: 100% (3969/3969), done.
remote: Total 12004 (delta 9804), reused 9777 (delta 8031), pack-reused 0
接收对象中: 100% (12004/12004), 118.41 MiB | 6.56 MiB/s, 完成.
处理 delta 中: 100% (9804/9804), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/esptool_py/esptool'...
remote: Enumerating objects: 2971, done.
remote: Counting objects: 100% (2971/2971), done.
remote: Compressing objects: 100% (1477/1477), done.
remote: Total 2971 (delta 1922), reused 2306 (delta 1472), pack-reused 0
接收对象中: 100% (2971/2971), 9.54 MiB | 1.39 MiB/s, 完成.
处理 delta 中: 100% (1922/1922), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/expat/expat'...
remote: Enumerating objects: 16511, done.
remote: Counting objects: 100% (16511/16511), done.
remote: Compressing objects: 100% (4223/4223), done.
remote: Total 16511 (delta 12350), reused 16276 (delta 12199), pack-reused 0
接收对象中: 100% (16511/16511), 13.79 MiB | 1.78 MiB/s, 完成.
处理 delta 中: 100% (12350/12350), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/json/cJSON'...
remote: Enumerating objects: 4482, done.
remote: Counting objects: 100% (4482/4482), done.
remote: Compressing objects: 100% (1516/1516), done.
remote: Total 4482 (delta 2988), reused 4402 (delta 2944), pack-reused 0
接收对象中: 100% (4482/4482), 2.37 MiB | 686.00 KiB/s, 完成.
处理 delta 中: 100% (2988/2988), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/libsodium/libsodium'...
remote: Enumerating objects: 32378, done.
remote: Counting objects: 100% (32378/32378), done.
remote: Compressing objects: 100% (12918/12918), done.
remote: Total 32378 (delta 19317), reused 31531 (delta 18805), pack-reused 0
接收对象中: 100% (32378/32378), 8.12 MiB | 1.31 MiB/s, 完成.
处理 delta 中: 100% (19317/19317), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/lwip/lwip'...
remote: Enumerating objects: 50039, done.
remote: Counting objects: 100% (50039/50039), done.
remote: Compressing objects: 100% (11822/11822), done.
remote: Total 50039 (delta 37805), reused 49778 (delta 37618), pack-reused 0
接收对象中: 100% (50039/50039), 9.84 MiB | 1.30 MiB/s, 完成.
处理 delta 中: 100% (37805/37805), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/mbedtls/mbedtls'...
remote: Enumerating objects: 75989, done.
remote: Counting objects: 100% (75989/75989), done.
remote: Compressing objects: 100% (17286/17286), done.
remote: Total 75989 (delta 58974), reused 75561 (delta 58549), pack-reused 0
接收对象中: 100% (75989/75989), 32.97 MiB | 3.18 MiB/s, 完成.
处理 delta 中: 100% (58974/58974), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/micro-ecc/micro-ecc'...
remote: Enumerating objects: 1143, done.
remote: Counting objects: 100% (1143/1143), done.
remote: Compressing objects: 100% (480/480), done.
remote: Total 1143 (delta 673), reused 1079 (delta 637), pack-reused 0
接收对象中: 100% (1143/1143), 665.32 KiB | 440.00 KiB/s, 完成.
处理 delta 中: 100% (673/673), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/mqtt/esp-mqtt'...
remote: Enumerating objects: 2421, done.
remote: Counting objects: 100% (2421/2421), done.
remote: Compressing objects: 100% (955/955), done.
remote: Total 2421 (delta 1309), reused 2207 (delta 1185), pack-reused 0
接收对象中: 100% (2421/2421), 1.48 MiB | 628.00 KiB/s, 完成.
处理 delta 中: 100% (1309/1309), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/nghttp/nghttp2'...
remote: Enumerating objects: 40866, done.
remote: Counting objects: 100% (40866/40866), done.
remote: Compressing objects: 100% (10516/10516), done.
remote: Total 40866 (delta 30481), reused 40460 (delta 30209), pack-reused 0
接收对象中: 100% (40866/40866), 33.56 MiB | 3.11 MiB/s, 完成.
处理 delta 中: 100% (30481/30481), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/nimble/nimble'...
remote: Enumerating objects: 40395, done.
remote: Counting objects: 100% (40395/40395), done.
remote: Compressing objects: 100% (10579/10579), done.
remote: Total 40395 (delta 24813), reused 40133 (delta 24601), pack-reused 0
接收对象中: 100% (40395/40395), 11.23 MiB | 1.55 MiB/s, 完成.
处理 delta 中: 100% (24813/24813), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/protobuf-c/protobuf-c'...
remote: Enumerating objects: 3480, done.
remote: Counting objects: 100% (3480/3480), done.
remote: Compressing objects: 100% (1223/1223), done.
remote: Total 3480 (delta 2243), reused 3380 (delta 2170), pack-reused 0
接收对象中: 100% (3480/3480), 1.36 MiB | 565.00 KiB/s, 完成.
处理 delta 中: 100% (2243/2243), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/spiffs/spiffs'...
remote: Enumerating objects: 1488, done.
remote: Counting objects: 100% (1488/1488), done.
remote: Compressing objects: 100% (419/419), done.
remote: Total 1488 (delta 1038), reused 1480 (delta 1035), pack-reused 0
接收对象中: 100% (1488/1488), 1.02 MiB | 568.00 KiB/s, 完成.
处理 delta 中: 100% (1038/1038), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/unity/unity'...
remote: Enumerating objects: 5787, done.
remote: Counting objects: 100% (5787/5787), done.
remote: Compressing objects: 100% (2185/2185), done.
remote: Total 5787 (delta 3597), reused 5670 (delta 3528), pack-reused 0
接收对象中: 100% (5787/5787), 6.49 MiB | 982.00 KiB/s, 完成.
处理 delta 中: 100% (3597/3597), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/examples/build_system/cmake/import_lib/main/lib/tinyxml2'...
remote: Enumerating objects: 4141, done.
remote: Counting objects: 100% (4141/4141), done.
remote: Compressing objects: 100% (1465/1465), done.
remote: Total 4141 (delta 2706), reused 4054 (delta 2653), pack-reused 0
接收对象中: 100% (4141/4141), 3.01 MiB | 784.00 KiB/s, 完成.
处理 delta 中: 100% (2706/2706), 完成.
子模组路径 'components/asio/asio':检出 '55efc179b76139c8f9b44bf22a4aba4803f7a7bd'
子模组路径 'components/aws_iot/aws-iot-device-sdk-embedded-C':检出 '299183238ffe7a3e6a5ca0af9db19c10eaca62cf'
子模组路径 'components/bt/lib':检出 '4d64d12dde72113f2fcbb3c2a4045c55fa477237'
子模组路径 'components/coap/libcoap':检出 '6468887a12666f88b8704d797fc176cd4f40ee4c'
子模组路径 'components/esp32/lib':检出 '0274e09d48723be1eaef64a13cc8c7aa83020211'
子模组路径 'components/esptool_py/esptool':检出 'de30f21a222ec62f5a023dd955439b4f57702768'
子模组路径 'components/expat/expat':检出 'a7bc26b69768f7fb24f0c7976fae24b157b85b13'
子模组路径 'components/json/cJSON':检出 '3c8935676a97c7c97bf006db8312875b4f292f6c'
子模组路径 'components/libsodium/libsodium':检出 '70170c28c844a4786e75efc626e1aeebc93caebc'
子模组路径 'components/lwip/lwip':检出 '453b291c4c0752e05b585a62d32d8bb23e1538d7'
子模组路径 'components/mbedtls/mbedtls':检出 '9ef92c551eb8d92677034c3ec8078a8076febf41'
子模组路径 'components/micro-ecc/micro-ecc':检出 'd037ec89546fad14b5c4d5456c2e23a71e554966'
子模组路径 'components/mqtt/esp-mqtt':检出 '6bc94add892437d0fd50f26bfabe78c646648c13'
子模组路径 'components/nghttp/nghttp2':检出 '3bcc416e13cc790e2fb45fcfe9111d38609c5032'
子模组路径 'components/nimble/nimble':检出 '5364a96f6685821d62b6cdff7536bd2539ae98e9'
子模组路径 'components/protobuf-c/protobuf-c':检出 'dac1a65feac4ad72f612aab99f487056fbcf5c1a'
子模组路径 'components/spiffs/spiffs':检出 'f5e26c4e933189593a71c6b82cda381a7b21e41c'
子模组路径 'components/unity/unity':检出 '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25'
子模组路径 'examples/build_system/cmake/import_lib/main/lib/tinyxml2':检出 '7e8e249990ec491ec15990cf95b6d871a66cf64a'
进入 'components/asio/asio'
进入 'components/aws_iot/aws-iot-device-sdk-embedded-C'
进入 'components/bt/lib'
进入 'components/coap/libcoap'
进入 'components/esp32/lib'
进入 'components/esptool_py/esptool'
进入 'components/expat/expat'
进入 'components/json/cJSON'
进入 'components/libsodium/libsodium'
进入 'components/lwip/lwip'
进入 'components/mbedtls/mbedtls'
进入 'components/micro-ecc/micro-ecc'
进入 'components/mqtt/esp-mqtt'
进入 'components/nghttp/nghttp2'
子模组 'third-party/mruby'(https://github.com/mruby/mruby)已对路径 'third-party/mruby' 注册
子模组 'third-party/neverbleed'(https://github.com/h2o/neverbleed.git)已对路径 'third-party/neverbleed' 注册
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/nghttp/nghttp2/third-party/mruby'...
remote: Enumerating objects: 61605, done.
remote: Counting objects: 100% (61605/61605), done.
remote: Compressing objects: 100% (21822/21822), done.
remote: Total 61605 (delta 39053), reused 58172 (delta 36762), pack-reused 0
接收对象中: 100% (61605/61605), 15.16 MiB | 1.92 MiB/s, 完成.
处理 delta 中: 100% (39053/39053), 完成.
正克隆到 '/home/gfzou/esp/esp-adf/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'...
remote: Enumerating objects: 234, done.
remote: Counting objects: 100% (234/234), done.
remote: Compressing objects: 100% (88/88), done.
remote: Total 234 (delta 146), reused 234 (delta 146), pack-reused 0
接收对象中: 100% (234/234), 54.68 KiB | 213.00 KiB/s, 完成.
处理 delta 中: 100% (146/146), 完成.
子模组路径 'third-party/mruby':检出 '22464fe5a0a10f2b077eaba109ce1e912e4a77de'
子模组路径 'third-party/neverbleed':检出 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134'
进入 'third-party/mruby'
进入 'third-party/neverbleed'
进入 'components/nimble/nimble'
进入 'components/protobuf-c/protobuf-c'
进入 'components/spiffs/spiffs'
进入 'components/unity/unity'
进入 'examples/build_system/cmake/import_lib/main/lib/tinyxml2'
gfzou@Workstation:~/esp/esp-gitee-tools$ export ADF_PATH=~/esp/esp-adf
gfzou@Workstation:~/esp/esp-gitee-tools$ export IDF_PATH=~/esp/esp-adf/esp-idf
gfzou@Workstation:~/esp/esp-gitee-tools$ cd $IDF_PATH
gfzou@Workstation:~/esp/esp-adf/esp-idf$ git checkout master

warning: unable to rmdir 'components/aws_iot/aws-iot-device-sdk-embedded-C': 目录非空
warning: unable to rmdir 'components/bt/lib': 目录非空
warning: unable to rmdir 'components/esp32/lib': 目录非空
warning: unable to rmdir 'components/micro-ecc/micro-ecc': 目录非空
warning: unable to rmdir 'components/nimble/nimble': 目录非空
正在更新文件: 100% (9171/9171), 完成.
M components/asio/asio
M components/coap/libcoap
M components/esptool_py/esptool
M components/expat/expat
M components/json/cJSON
M components/lwip/lwip
M components/mbedtls/mbedtls
M components/mqtt/esp-mqtt
M components/nghttp/nghttp2
之前的 HEAD 位置是 722043f73 Merge branch 'feature/config_mqtt_task_prio_v3.3' into 'release/v3.3'
切换到分支 'master'
您的分支与上游分支 'origin/master' 一致。
gfzou@Workstation:~/esp/esp-adf/esp-idf$ git pull
已经是最新的。
gfzou@Workstation:~/esp/esp-adf/esp-idf$ git checkout audio/stack_on_psram_v3.3
M components/bt/lib
M components/esp32/lib
M components/lwip/lwip
M components/mbedtls/mbedtls
M components/mqtt/esp-mqtt
M components/nimble/nimble
分支 'audio/stack_on_psram_v3.3' 设置为跟踪来自 'origin' 的远程分支 'audio/stack_on_psram_v3.3'。
切换到一个新分支 'audio/stack_on_psram_v3.3'
gfzou@Workstation:~/esp/esp-adf/esp-idf$ git submodule update --init --recursive
子模组路径 'components/bt/lib':检出 '5209a938967548e8846dfdcce04be400a9e5150b'
子模组路径 'components/esp32/lib':检出 'c9623afc1cb984e57442e6fbc9506c342891eebd'
子模组路径 'components/lwip/lwip':检出 'a381a585e3f77f7c99baf48d56a74744262fa2d6'
子模组路径 'components/mbedtls/mbedtls':检出 'f5f2e5926cd294ae7cb579ff6a12ad9303caeb6e'
子模组路径 'components/mqtt/esp-mqtt':检出 'e3b013e2db58124ea68cf7c8f44a8cba6e1572b7'
子模组路径 'components/nimble/nimble':检出 '8326807c5e580c3bb8ad13d1e80819aa0029004e'

gfzou@Workstation:~/esp/esp-adf/esp-idf$ cd $ADF_PATH
gfzou@Workstation:~/esp/esp-adf$ git apply ./idf_patches/adf_http_stream.patch
gfzou@Workstation:~/esp/esp-adf$ git apply ./examples/korvo_du1906/patches/a2dp_stream_du1906.patch
gfzou@Workstation:~/esp/esp-adf$ cd $ADF_PATH/examples/korvo_du1906

gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ idf.py fullclean
idf.py:未找到命令
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ idf.py menuconfig
idf.py:未找到命令
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ idf.py build
idf.py:未找到命令
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ . $HOME/esp/esp-adf/esp-idf/export.sh
Adding ESP-IDF tools to PATH...
ERROR: tool xtensa-esp32-elf has no installed versions. Please run '/home/gfzou/esp/esp-adf/esp-idf/install.sh' to install it.
ERROR: tool esp32ulp-elf has no installed versions. Please run '/home/gfzou/esp/esp-adf/esp-idf/install.sh' to install it.
ERROR: tool openocd-esp32 has no installed versions. Please run '/home/gfzou/esp/esp-adf/esp-idf/install.sh' to install it.
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ ^C
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ /home/gfzou/esp/esp-adf/esp-idf/install.sh
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, esp32ulp-elf, openocd-esp32
Installing xtensa-esp32-elf@1.22.0-80-g6c4433a-5.2.0
Downloading xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz to /home/gfzou/.espressif/dist/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz.tmp
Done
Extracting /home/gfzou/.espressif/dist/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz to /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0
Installing esp32ulp-elf@2.28.51.20170517
Downloading binutils-esp32ulp-linux64-2.28.51-esp32ulp-20180809.tar.gz to /home/gfzou/.espressif/dist/binutils-esp32ulp-linux64-2.28.51-esp32ulp-20180809.tar.gz.tmp
Done
Extracting /home/gfzou/.espressif/dist/binutils-esp32ulp-linux64-2.28.51-esp32ulp-20180809.tar.gz to /home/gfzou/.espressif/tools/esp32ulp-elf/2.28.51.20170517
Installing openocd-esp32@v0.10.0-esp32-20190313
Downloading openocd-esp32-linux64-0.10.0-esp32-20190313.tar.gz to /home/gfzou/.espressif/dist/openocd-esp32-linux64-0.10.0-esp32-20190313.tar.gz.tmp
Done
Extracting /home/gfzou/.espressif/dist/openocd-esp32-linux64-0.10.0-esp32-20190313.tar.gz to /home/gfzou/.espressif/tools/openocd-esp32/v0.10.0-esp32-20190313
Installing Python environment and packages
Creating a new Python environment in /home/gfzou/.espressif/python_env/idf3.3_py3.8_env
Using base prefix '/usr'
New python executable in /home/gfzou/.espressif/python_env/idf3.3_py3.8_env/bin/python
Installing setuptools, pip, wheel...
done.
Installing Python packages from /home/gfzou/esp/esp-adf/esp-idf/requirements.txt
Requirement already satisfied: setuptools in /home/gfzou/.espressif/python_env/idf3.3_py3.8_env/lib/python3.8/site-packages (from -r /home/gfzou/esp/esp-adf/esp-idf/requirements.txt (line 4)) (53.0.0)
Collecting pyserial>=3.0
Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting future>=0.15.2
Using cached future-0.18.2-py3-none-any.whl
Collecting cryptography>=2.1.4
Using cached cryptography-3.4.6-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)
Collecting pyparsing<2.4.0,>=2.0.3
Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)
Collecting cffi>=1.12
Using cached cffi-1.14.5-cp38-cp38-manylinux1_x86_64.whl (411 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: pycparser, cffi, pyserial, pyparsing, future, cryptography
Successfully installed cffi-1.14.5 cryptography-3.4.6 future-0.18.2 pycparser-2.20 pyparsing-2.3.1 pyserial-3.5
All done! You can now run:

. /home/gfzou/esp/esp-adf/esp-idf/export.sh

gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ . /home/gfzou/esp/esp-adf/esp-idf/export.sh
Adding ESP-IDF tools to PATH...
Checking if Python packages are up to date...
Python requirements from /home/gfzou/esp/esp-adf/esp-idf/requirements.txt are satisfied.
Added the following directories to PATH:
/home/gfzou/esp/esp-adf/esp-idf/components/esptool_py/esptool
/home/gfzou/esp/esp-adf/esp-idf/components/espcoredump
/home/gfzou/esp/esp-adf/esp-idf/components/partition_table/
/home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin
/home/gfzou/.espressif/tools/esp32ulp-elf/2.28.51.20170517/esp32ulp-elf-binutils/bin
/home/gfzou/.espressif/tools/openocd-esp32/v0.10.0-esp32-20190313/openocd-esp32/bin
/home/gfzou/.espressif/python_env/idf3.3_py3.8_env/bin
/home/gfzou/esp/esp-adf/esp-idf/tools
Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

idf.py build

gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ idf.py fullclean
Note: You are using Python 3.8.5. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7.
Checking Python dependencies...
Python requirements from /home/gfzou/esp/esp-adf/esp-idf/requirements.txt are satisfied.
Build directory '/home/gfzou/esp/esp-adf/examples/korvo_du1906/build' not found. Nothing to clean.
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ idf.py menuconfig
Note: You are using Python 3.8.5. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7.
Checking Python dependencies...
Python requirements from /home/gfzou/esp/esp-adf/esp-idf/requirements.txt are satisfied.
Running cmake in directory /home/gfzou/esp/esp-adf/examples/korvo_du1906/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized /home/gfzou/esp/esp-adf/examples/korvo_du1906"...
Warn about uninitialized values.
-- Found Git: /bin/git (found version "2.25.1")
-- IDF_TARGET not set, using default target: esp32
-- Building for target esp32
-- ccache will be used for faster builds
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building empty aws_iot component due to configuration
-- Component names: soc log heap xtensa-debug-module app_trace freertos vfs newlib esp_ringbuf driver esp_event ethernet mbedtls micro-ecc efuse bootloader_support partition_table app_update spi_flash nvs_flash lwip tcpip_adapter esp_debug pthread smartconfig_ack wpa_supplicant espcoredump esp32 cxx nghttp esp-tls tcp_transport esp_http_client jsmn audio_sal adf_utils display_service esp_dispatcher audio_hal esp_adc_cal wear_levelling sdmmc fatfs console esp-sr esp-adf-libs audio_pipeline spiffs nimble bt esp_peripherals audio_board wifi_service clouds dueros_service esp_actions tone_partition audio_stream battery_service bluetooth_service coredump_upload_service esp_event_cast input_key_service esp_https_ota ota_service playlist audio_flash_tone audio_player bds_light bds_private mqtt json bdsc_engine main asio aws_iot bootloader coap esp_http_server openssl esp_https_server esp_websocket_client esptool_py expat freemodbus idf_test libsodium mdns protobuf-c protocomm ulp unity wifi_provisioning
-- Component paths: /home/gfzou/esp/esp-adf/esp-idf/components/soc;/home/gfzou/esp/esp-adf/esp-idf/components/log;/home/gfzou/esp/esp-adf/esp-idf/components/heap;/home/gfzou/esp/esp-adf/esp-idf/components/xtensa-debug-module;/home/gfzou/esp/esp-adf/esp-idf/components/app_trace;/home/gfzou/esp/esp-adf/esp-idf/components/freertos;/home/gfzou/esp/esp-adf/esp-idf/components/vfs;/home/gfzou/esp/esp-adf/esp-idf/components/newlib;/home/gfzou/esp/esp-adf/esp-idf/components/esp_ringbuf;/home/gfzou/esp/esp-adf/esp-idf/components/driver;/home/gfzou/esp/esp-adf/esp-idf/components/esp_event;/home/gfzou/esp/esp-adf/esp-idf/components/ethernet;/home/gfzou/esp/esp-adf/esp-idf/components/mbedtls;/home/gfzou/esp/esp-adf/esp-idf/components/micro-ecc;/home/gfzou/esp/esp-adf/esp-idf/components/efuse;/home/gfzou/esp/esp-adf/esp-idf/components/bootloader_support;/home/gfzou/esp/esp-adf/esp-idf/components/partition_table;/home/gfzou/esp/esp-adf/esp-idf/components/app_update;/home/gfzou/esp/esp-adf/esp-idf/components/spi_flash;/home/gfzou/esp/esp-adf/esp-idf/components/nvs_flash;/home/gfzou/esp/esp-adf/esp-idf/components/lwip;/home/gfzou/esp/esp-adf/esp-idf/components/tcpip_adapter;/home/gfzou/esp/esp-adf/esp-idf/components/esp_debug;/home/gfzou/esp/esp-adf/esp-idf/components/pthread;/home/gfzou/esp/esp-adf/esp-idf/components/smartconfig_ack;/home/gfzou/esp/esp-adf/esp-idf/components/wpa_supplicant;/home/gfzou/esp/esp-adf/esp-idf/components/espcoredump;/home/gfzou/esp/esp-adf/esp-idf/components/esp32;/home/gfzou/esp/esp-adf/esp-idf/components/cxx;/home/gfzou/esp/esp-adf/esp-idf/components/nghttp;/home/gfzou/esp/esp-adf/esp-idf/components/esp-tls;/home/gfzou/esp/esp-adf/esp-idf/components/tcp_transport;/home/gfzou/esp/esp-adf/esp-idf/components/esp_http_client;/home/gfzou/esp/esp-adf/esp-idf/components/jsmn;/home/gfzou/esp/esp-adf/components/audio_sal;/home/gfzou/esp/esp-adf/components/adf_utils;/home/gfzou/esp/esp-adf/components/display_service;/home/gfzou/esp/esp-adf/components/esp_dispatcher;/home/gfzou/esp/esp-adf/components/audio_hal;/home/gfzou/esp/esp-adf/esp-idf/components/esp_adc_cal;/home/gfzou/esp/esp-adf/esp-idf/components/wear_levelling;/home/gfzou/esp/esp-adf/esp-idf/components/sdmmc;/home/gfzou/esp/esp-adf/esp-idf/components/fatfs;/home/gfzou/esp/esp-adf/esp-idf/components/console;/home/gfzou/esp/esp-adf/components/esp-sr;/home/gfzou/esp/esp-adf/components/esp-adf-libs;/home/gfzou/esp/esp-adf/components/audio_pipeline;/home/gfzou/esp/esp-adf/esp-idf/components/spiffs;/home/gfzou/esp/esp-adf/esp-idf/components/nimble;/home/gfzou/esp/esp-adf/esp-idf/components/bt;/home/gfzou/esp/esp-adf/components/esp_peripherals;/home/gfzou/esp/esp-adf/components/audio_board;/home/gfzou/esp/esp-adf/components/wifi_service;/home/gfzou/esp/esp-adf/components/clouds;/home/gfzou/esp/esp-adf/components/dueros_service;/home/gfzou/esp/esp-adf/components/esp_actions;/home/gfzou/esp/esp-adf/components/tone_partition;/home/gfzou/esp/esp-adf/components/audio_stream;/home/gfzou/esp/esp-adf/components/battery_service;/home/gfzou/esp/esp-adf/components/bluetooth_service;/home/gfzou/esp/esp-adf/components/coredump_upload_service;/home/gfzou/esp/esp-adf/components/esp_event_cast;/home/gfzou/esp/esp-adf/components/input_key_service;/home/gfzou/esp/esp-adf/esp-idf/components/esp_https_ota;/home/gfzou/esp/esp-adf/components/ota_service;/home/gfzou/esp/esp-adf/components/playlist;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/audio_flash_tone;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/audio_player;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/bds_light;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/bds_private;/home/gfzou/esp/esp-adf/esp-idf/components/mqtt;/home/gfzou/esp/esp-adf/esp-idf/components/json;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/bdsc_engine;/home/gfzou/esp/esp-adf/examples/korvo_du1906/main;/home/gfzou/esp/esp-adf/esp-idf/components/asio;/home/gfzou/esp/esp-adf/esp-idf/components/aws_iot;/home/gfzou/esp/esp-adf/esp-idf/components/bootloader;/home/gfzou/esp/esp-adf/esp-idf/components/coap;/home/gfzou/esp/esp-adf/esp-idf/components/esp_http_server;/home/gfzou/esp/esp-adf/esp-idf/components/openssl;/home/gfzou/esp/esp-adf/esp-idf/components/esp_https_server;/home/gfzou/esp/esp-adf/esp-idf/components/esp_websocket_client;/home/gfzou/esp/esp-adf/esp-idf/components/esptool_py;/home/gfzou/esp/esp-adf/esp-idf/components/expat;/home/gfzou/esp/esp-adf/esp-idf/components/freemodbus;/home/gfzou/esp/esp-adf/esp-idf/components/idf_test;/home/gfzou/esp/esp-adf/esp-idf/components/libsodium;/home/gfzou/esp/esp-adf/esp-idf/components/mdns;/home/gfzou/esp/esp-adf/esp-idf/components/protobuf-c;/home/gfzou/esp/esp-adf/esp-idf/components/protocomm;/home/gfzou/esp/esp-adf/esp-idf/components/ulp;/home/gfzou/esp/esp-adf/esp-idf/components/unity;/home/gfzou/esp/esp-adf/esp-idf/components/wifi_provisioning
Loading defaults file /home/gfzou/esp/esp-adf/examples/korvo_du1906/sdkconfig.defaults...
-- IDF_VER: v3.3.1-276-g606dd2b62
-- Project version: v1.3.0
-- Found PythonInterp: /home/gfzou/.espressif/python_env/idf3.3_py3.8_env/bin/python (found version "3.8.5")
-- Found Perl: /bin/perl (found version "5.30.0")
-- Adding linker script /home/gfzou/esp/esp-adf/examples/korvo_du1906/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.extram.bss.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
-- /home/gfzou/esp/esp-adf/components/esp-adf-libs, Chip is esp32
-- Current board name is CONFIG_ESP32_KORVO_DU1906_BOARD
CMake Error at components/bdsc_engine/CMakeLists.txt:9 (add_prebuilt_library):
Unknown CMake command "add_prebuilt_library".


-- Configuring incomplete, errors occurred!
See also "/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/CMakeFiles/CMakeOutput.log".
See also "/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ idf.py build
Note: You are using Python 3.8.5. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7.
Checking Python dependencies...
Python requirements from /home/gfzou/esp/esp-adf/esp-idf/requirements.txt are satisfied.
Running cmake in directory /home/gfzou/esp/esp-adf/examples/korvo_du1906/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized /home/gfzou/esp/esp-adf/examples/korvo_du1906"...
Warn about uninitialized values.
-- Found Git: /bin/git (found version "2.25.1")
-- IDF_TARGET not set, using default target: esp32
-- Building for target esp32
-- ccache will be used for faster builds
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
-- Check for working CXX compiler: /home/gfzou/.espressif/tools/xtensa-esp32-elf/1.22.0-80-g6c4433a-5.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building empty aws_iot component due to configuration
-- Component names: soc log heap xtensa-debug-module app_trace freertos vfs newlib esp_ringbuf driver esp_event ethernet mbedtls micro-ecc efuse bootloader_support partition_table app_update spi_flash nvs_flash lwip tcpip_adapter esp_debug pthread smartconfig_ack wpa_supplicant espcoredump esp32 cxx nghttp esp-tls tcp_transport esp_http_client jsmn audio_sal adf_utils display_service esp_dispatcher audio_hal esp_adc_cal wear_levelling sdmmc fatfs console esp-sr esp-adf-libs audio_pipeline spiffs nimble bt esp_peripherals audio_board wifi_service clouds dueros_service esp_actions tone_partition audio_stream battery_service bluetooth_service coredump_upload_service esp_event_cast input_key_service esp_https_ota ota_service playlist audio_flash_tone audio_player bds_light bds_private mqtt json bdsc_engine main asio aws_iot bootloader coap esp_http_server openssl esp_https_server esp_websocket_client esptool_py expat freemodbus idf_test libsodium mdns protobuf-c protocomm ulp unity wifi_provisioning
-- Component paths: /home/gfzou/esp/esp-adf/esp-idf/components/soc;/home/gfzou/esp/esp-adf/esp-idf/components/log;/home/gfzou/esp/esp-adf/esp-idf/components/heap;/home/gfzou/esp/esp-adf/esp-idf/components/xtensa-debug-module;/home/gfzou/esp/esp-adf/esp-idf/components/app_trace;/home/gfzou/esp/esp-adf/esp-idf/components/freertos;/home/gfzou/esp/esp-adf/esp-idf/components/vfs;/home/gfzou/esp/esp-adf/esp-idf/components/newlib;/home/gfzou/esp/esp-adf/esp-idf/components/esp_ringbuf;/home/gfzou/esp/esp-adf/esp-idf/components/driver;/home/gfzou/esp/esp-adf/esp-idf/components/esp_event;/home/gfzou/esp/esp-adf/esp-idf/components/ethernet;/home/gfzou/esp/esp-adf/esp-idf/components/mbedtls;/home/gfzou/esp/esp-adf/esp-idf/components/micro-ecc;/home/gfzou/esp/esp-adf/esp-idf/components/efuse;/home/gfzou/esp/esp-adf/esp-idf/components/bootloader_support;/home/gfzou/esp/esp-adf/esp-idf/components/partition_table;/home/gfzou/esp/esp-adf/esp-idf/components/app_update;/home/gfzou/esp/esp-adf/esp-idf/components/spi_flash;/home/gfzou/esp/esp-adf/esp-idf/components/nvs_flash;/home/gfzou/esp/esp-adf/esp-idf/components/lwip;/home/gfzou/esp/esp-adf/esp-idf/components/tcpip_adapter;/home/gfzou/esp/esp-adf/esp-idf/components/esp_debug;/home/gfzou/esp/esp-adf/esp-idf/components/pthread;/home/gfzou/esp/esp-adf/esp-idf/components/smartconfig_ack;/home/gfzou/esp/esp-adf/esp-idf/components/wpa_supplicant;/home/gfzou/esp/esp-adf/esp-idf/components/espcoredump;/home/gfzou/esp/esp-adf/esp-idf/components/esp32;/home/gfzou/esp/esp-adf/esp-idf/components/cxx;/home/gfzou/esp/esp-adf/esp-idf/components/nghttp;/home/gfzou/esp/esp-adf/esp-idf/components/esp-tls;/home/gfzou/esp/esp-adf/esp-idf/components/tcp_transport;/home/gfzou/esp/esp-adf/esp-idf/components/esp_http_client;/home/gfzou/esp/esp-adf/esp-idf/components/jsmn;/home/gfzou/esp/esp-adf/components/audio_sal;/home/gfzou/esp/esp-adf/components/adf_utils;/home/gfzou/esp/esp-adf/components/display_service;/home/gfzou/esp/esp-adf/components/esp_dispatcher;/home/gfzou/esp/esp-adf/components/audio_hal;/home/gfzou/esp/esp-adf/esp-idf/components/esp_adc_cal;/home/gfzou/esp/esp-adf/esp-idf/components/wear_levelling;/home/gfzou/esp/esp-adf/esp-idf/components/sdmmc;/home/gfzou/esp/esp-adf/esp-idf/components/fatfs;/home/gfzou/esp/esp-adf/esp-idf/components/console;/home/gfzou/esp/esp-adf/components/esp-sr;/home/gfzou/esp/esp-adf/components/esp-adf-libs;/home/gfzou/esp/esp-adf/components/audio_pipeline;/home/gfzou/esp/esp-adf/esp-idf/components/spiffs;/home/gfzou/esp/esp-adf/esp-idf/components/nimble;/home/gfzou/esp/esp-adf/esp-idf/components/bt;/home/gfzou/esp/esp-adf/components/esp_peripherals;/home/gfzou/esp/esp-adf/components/audio_board;/home/gfzou/esp/esp-adf/components/wifi_service;/home/gfzou/esp/esp-adf/components/clouds;/home/gfzou/esp/esp-adf/components/dueros_service;/home/gfzou/esp/esp-adf/components/esp_actions;/home/gfzou/esp/esp-adf/components/tone_partition;/home/gfzou/esp/esp-adf/components/audio_stream;/home/gfzou/esp/esp-adf/components/battery_service;/home/gfzou/esp/esp-adf/components/bluetooth_service;/home/gfzou/esp/esp-adf/components/coredump_upload_service;/home/gfzou/esp/esp-adf/components/esp_event_cast;/home/gfzou/esp/esp-adf/components/input_key_service;/home/gfzou/esp/esp-adf/esp-idf/components/esp_https_ota;/home/gfzou/esp/esp-adf/components/ota_service;/home/gfzou/esp/esp-adf/components/playlist;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/audio_flash_tone;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/audio_player;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/bds_light;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/bds_private;/home/gfzou/esp/esp-adf/esp-idf/components/mqtt;/home/gfzou/esp/esp-adf/esp-idf/components/json;/home/gfzou/esp/esp-adf/examples/korvo_du1906/components/bdsc_engine;/home/gfzou/esp/esp-adf/examples/korvo_du1906/main;/home/gfzou/esp/esp-adf/esp-idf/components/asio;/home/gfzou/esp/esp-adf/esp-idf/components/aws_iot;/home/gfzou/esp/esp-adf/esp-idf/components/bootloader;/home/gfzou/esp/esp-adf/esp-idf/components/coap;/home/gfzou/esp/esp-adf/esp-idf/components/esp_http_server;/home/gfzou/esp/esp-adf/esp-idf/components/openssl;/home/gfzou/esp/esp-adf/esp-idf/components/esp_https_server;/home/gfzou/esp/esp-adf/esp-idf/components/esp_websocket_client;/home/gfzou/esp/esp-adf/esp-idf/components/esptool_py;/home/gfzou/esp/esp-adf/esp-idf/components/expat;/home/gfzou/esp/esp-adf/esp-idf/components/freemodbus;/home/gfzou/esp/esp-adf/esp-idf/components/idf_test;/home/gfzou/esp/esp-adf/esp-idf/components/libsodium;/home/gfzou/esp/esp-adf/esp-idf/components/mdns;/home/gfzou/esp/esp-adf/esp-idf/components/protobuf-c;/home/gfzou/esp/esp-adf/esp-idf/components/protocomm;/home/gfzou/esp/esp-adf/esp-idf/components/ulp;/home/gfzou/esp/esp-adf/esp-idf/components/unity;/home/gfzou/esp/esp-adf/esp-idf/components/wifi_provisioning
Loading defaults file /home/gfzou/esp/esp-adf/examples/korvo_du1906/sdkconfig.defaults...
-- IDF_VER: v3.3.1-276-g606dd2b62
-- Project version: v1.3.0
-- Found PythonInterp: /home/gfzou/.espressif/python_env/idf3.3_py3.8_env/bin/python (found version "3.8.5")
-- Found Perl: /bin/perl (found version "5.30.0")
-- Adding linker script /home/gfzou/esp/esp-adf/examples/korvo_du1906/build/esp-idf/esp32/esp32_out.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.extram.bss.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.peripherals.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.libgcc.ld
-- Adding linker script /home/gfzou/esp/esp-adf/esp-idf/components/esp32/ld/esp32.rom.spiram_incompatible_fns.ld
-- /home/gfzou/esp/esp-adf/components/esp-adf-libs, Chip is esp32
-- Current board name is CONFIG_ESP32_KORVO_DU1906_BOARD
CMake Error at components/bdsc_engine/CMakeLists.txt:9 (add_prebuilt_library):
Unknown CMake command "add_prebuilt_library".


-- Configuring incomplete, errors occurred!
See also "/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/CMakeFiles/CMakeOutput.log".
See also "/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$

sagesiot
Posts: 12
Joined: Thu Feb 18, 2021 2:35 pm

Re: Korov_du1906最新版IDF编译不成功

Postby sagesiot » Sat Feb 20, 2021 11:24 am

对了,Jason,我无论怎么下载下来,都得不到这个结果:
The latest commit ID is 606dd2b629f264aa37a0d76fe23805d61bc6c712

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: Korov_du1906最新版IDF编译不成功

Postby jason.mao » Mon Feb 22, 2021 4:08 am

The latest commit ID is 606dd2b629f264aa37a0d76fe23805d61bc6c712
你到IDF目录下,先切换分支:
git checkout audio/stack_on_psram_v3.3
然后拉到最新的代码:
git pull origin audio/stack_on_psram_v3.3

Hi,jason,感谢你的耐心回复,我会另外一个楼主发现了同样的问题,估计应该是一致的问题,我把执行过程完整post出来,麻烦你看看问题出在哪里,系统Unbutun 20.4 ,python3.8.5,谢谢:
gfzou@Workstation:~/esp/esp-gitee-tools$ ./submodule-update.sh ~/esp/esp-adf
在执行完export.sh后,用make编译

sagesiot
Posts: 12
Joined: Thu Feb 18, 2021 2:35 pm

Re: Korov_du1906最新版IDF编译不成功

Postby sagesiot » Tue Feb 23, 2021 12:40 am

Hi Jason,

还是不行。是我环境问题还是?我也没看到别的帖子有说这个板子的问题,估计我是买这个板子的那少部分,解决了这个问题可能大家都会买来进行测试了,这次的结果如下,麻烦帮再想想,谢谢。

gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ make clean
make[1]: 进入目录“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig”
cc -c -DCURSES_LOC="<curses.h>" -DLOCALE -MMD -MP /home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/mconf.c -o mconf.o
<command-line>: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
make[1]: *** [Makefile:171:mconf.o] 错误 1
make[1]: 离开目录“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig”
make: *** 没有规则可制作目标“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/conf-idf”,由“/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/include/config/auto.conf” 需求。 停止。
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ make menuconfig
make[1]: 进入目录“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig”
cc -c -DCURSES_LOC="<curses.h>" -DLOCALE -MMD -MP /home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/mconf.c -o mconf.o
<command-line>: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
make[1]: *** [Makefile:171:mconf.o] 错误 1
make[1]: 离开目录“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig”
make: *** 没有规则可制作目标“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/conf-idf”,由“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/mconf-idf” 需求。 停止。
gfzou@Workstation:~/esp/esp-adf/examples/korvo_du1906$ make -j4 all
make[1]: 进入目录“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig”
cc -c -DCURSES_LOC="<curses.h>" -DLOCALE -MMD -MP /home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/mconf.c -o mconf.o
<command-line>: fatal error: curses.h: 没有那个文件或目录
compilation terminated.
make[1]: *** [Makefile:171:mconf.o] 错误 1
make[1]: 离开目录“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig”
make: *** 没有规则可制作目标“/home/gfzou/esp/esp-adf/esp-idf/tools/kconfig/conf-idf”,由“/home/gfzou/esp/esp-adf/examples/korvo_du1906/build/include/config/auto.conf” 需求。 停止。
make: *** 正在等待未完成的任务....

Who is online

Users browsing this forum: No registered users and 27 guests