最近买的esp32_lyrat v4.3开发板,编译idf里面的helloworld例程可以
Posted: Tue Sep 14, 2021 2:44 am
最近买的esp32_lyrat v4.3开发板,
git克隆这个 https://github.com/espressif/esp-idf.git https://github.com/espressif/esp-adf.git下来的,用windows环境下安装在d盘目录下,确定目录没有空格特殊字符,下载过程太多,少漏没有明显报错,我也不清楚了,只知道下载完了。
编译idf里面例程的helloworld例程可以,eps-idf与esp-adf同一级目录,然后编译adf 例程目录下的play_mp3_control这个也可以,没报编译失败,烧录运行也可以听到声音,为啥换到高级功能点的,esp-adf\examples\player\pipeline_bt_sink这个就报错了,请贵司高手帮忙看下
idf.py fullclean
idf.py all
显示报错日志如下:
77/86] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[78/86] Linking C static library esp-idf\efuse\libefuse.a
[79/86] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[80/86] Linking C static library esp-idf\spi_flash\libspi_flash.a
[81/86] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[82/86] Linking C static library esp-idf\soc\libsoc.a
[83/86] Linking C static library esp-idf\hal\libhal.a
[84/86] Linking C static library esp-idf\main\libmain.a
[85/86] Linking C executable bootloader.elf
[86/86] Generating binary image from built executable
esptool.py v3.1-dev
Merged 1 ELF section
Generated D:/wesp/esp-adf/examples/player/pipeline_bt_sink/build/bootloader/bootloader.bin
[1338/1398] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.objFAILED: esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj
ccache C:\Users\quectel\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER=\"v2.3-53-g501bb40-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -ID:/wesp/esp-adf/components/esp_peripherals/include -ID:/wesp/esp-adf/components/esp_peripherals/lib/adc_button -ID:/wesp/esp-adf/components/esp_peripherals/lib/gpio_isr -ID:/wesp/esp-adf/components/esp_peripherals/lib/sdcard -ID:/wesp/esp-adf/components/esp_peripherals/lib/touch -ID:/wesp/esp-adf/components/esp_peripherals/lib/button -ID:/wesp/esp-adf/components/esp_peripherals/lib/blufi -ID:/wesp/esp-adf/components/esp_peripherals/lib/IS31FL3216 -ID:/wesp/esp-adf/components/esp_peripherals/lib/aw2013 -ID:/wesp/esp-adf/components/esp_peripherals/driver/i2c_bus -ID:/wesp/esp-idf/components/newlib/platform_include -ID:/wesp/esp-idf/components/freertos/include -ID:/wesp/esp-idf/components/freertos/port/xtensa/include -ID:/wesp/esp-idf/components/esp_hw_support/include -ID:/wesp/esp-idf/components/esp_hw_support/port/esp32/. -ID:/wesp/esp-idf/components/heap/include -ID:/wesp/esp-idf/components/log/include -ID:/wesp/esp-idf/components/lwip/include/apps -ID:/wesp/esp-idf/components/lwip/include/apps/sntp -ID:/wesp/esp-idf/components/lwip/lwip/src/include -ID:/wesp/esp-idf/components/lwip/port/esp32/include -ID:/wesp/esp-idf/components/lwip/port/esp32/include/arch -ID:/wesp/esp-idf/components/soc/include -ID:/wesp/esp-idf/components/soc/esp32/. -ID:/wesp/esp-idf/components/soc/esp32/include -ID:/wesp/esp-idf/components/hal/esp32/include -ID:/wesp/esp-idf/components/hal/include -ID:/wesp/esp-idf/components/esp_rom/include -ID:/wesp/esp-idf/components/esp_rom/esp32 -ID:/wesp/esp-idf/components/esp_common/include -ID:/wesp/esp-idf/components/esp_system/include -ID:/wesp/esp-idf/components/esp32/include -ID:/wesp/esp-idf/components/driver/include -ID:/wesp/esp-idf/components/driver/esp32/include -ID:/wesp/esp-idf/components/esp_ringbuf/include -ID:/wesp/esp-idf/components/efuse/include -ID:/wesp/esp-idf/components/efuse/esp32/include -ID:/wesp/esp-idf/components/xtensa/include -ID:/wesp/esp-idf/components/xtensa/esp32/include -ID:/wesp/esp-idf/components/espcoredump/include -ID:/wesp/esp-idf/components/esp_timer/include -ID:/wesp/esp-idf/components/esp_ipc/include -ID:/wesp/esp-idf/components/esp_pm/include -ID:/wesp/esp-idf/components/vfs/include -ID:/wesp/esp-idf/components/esp_wifi/include -ID:/wesp/esp-idf/components/esp_wifi/esp32/include -ID:/wesp/esp-idf/components/esp_event/include -ID:/wesp/esp-idf/components/esp_netif/include -ID:/wesp/esp-idf/components/esp_eth/include -ID:/wesp/esp-idf/components/tcpip_adapter/include -ID:/wesp/esp-idf/components/app_trace/include -ID:/wesp/esp-adf/components/audio_hal/include -ID:/wesp/esp-adf/components/audio_hal/driver/es8388 -ID:/wesp/esp-adf/components/audio_hal/driver/es8374 -ID:/wesp/esp-adf/components/audio_hal/driver/es8311 -ID:/wesp/esp-adf/components/audio_hal/driver/es7243 -ID:/wesp/esp-adf/components/audio_hal/driver/es7148 -ID:/wesp/esp-adf/components/audio_hal/driver/es7210 -ID:/wesp/esp-adf/components/audio_hal/driver/tas5805m -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063 -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063/api_lib -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063/example_apps -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063/firmware -ID:/wesp/esp-adf/components/audio_hal/driver/include -ID:/wesp/esp-idf/components/esp_adc_cal/include -ID:/wesp/esp-adf/components/audio_sal/include -ID:/wesp/esp-idf/components/fatfs/diskio -ID:/wesp/esp-idf/components/fatfs/vfs -ID:/wesp/esp-idf/components/fatfs/src -ID:/wesp/esp-idf/components/wear_levelling/include -ID:/wesp/esp-idf/components/spi_flash/include -ID:/wesp/esp-idf/components/sdmmc/include -ID:/wesp/esp-idf/components/console -ID:/wesp/esp-adf/components/audio_pipeline/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_audio/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_codec/include/codec -ID:/wesp/esp-adf/components/esp-adf-libs/esp_codec/include/processing -ID:/wesp/esp-adf/components/esp-adf-libs/esp_upnp/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_ssdp/include -ID:/wesp/esp-adf/components/esp-adf-libs/recorder_engine/include -ID:/wesp/esp-adf/components/esp-adf-libs/audio_misc/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_sip/include -ID:/wesp/esp-adf/components/esp-sr/lib/include -ID:/wesp/esp-adf/components/esp-sr/wake_word_engine/include -ID:/wesp/esp-adf/components/esp-sr/speech_command_recognition/include -ID:/wesp/esp-adf/components/esp-sr/acoustic_algorithm/include -ID:/wesp/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -ID:/wesp/esp-idf/components/nghttp/port/include -ID:/wesp/esp-idf/components/nghttp/nghttp2/lib/includes -ID:/wesp/esp-idf/components/tcp_transport/include -ID:/wesp/esp-idf/components/esp-tls -ID:/wesp/esp-idf/components/esp-tls/esp-tls-crypto -ID:/wesp/esp-idf/components/mbedtls/port/include -ID:/wesp/esp-idf/components/mbedtls/mbedtls/include -ID:/wesp/esp-idf/components/mbedtls/esp_crt_bundle/include -ID:/wesp/esp-adf/components/audio_board/include -ID:/wesp/esp-adf/components/audio_board/lyrat_v4_3 -ID:/wesp/esp-idf/components/spiffs/include -ID:/wesp/esp-adf/components/display_service/include -ID:/wesp/esp-adf/components/display_service/led_indicator/include -ID:/wesp/esp-adf/components/display_service/led_bar/include -ID:/wesp/esp-adf/components/esp_dispatcher/include -ID:/wesp/esp-idf/components/bt/common/osi/include -ID:/wesp/esp-idf/components/bt/include/esp32/include -ID:/wesp/esp-idf/components/bt/host/bluedroid/api/include/api -ID:/wesp/esp-idf/components/nvs_flash/include -ID:/wesp/esp-idf/components/wpa_supplicant/include -ID:/wesp/esp-idf/components/wpa_supplicant/port/include -ID:/wesp/esp-idf/components/wpa_supplicant/include/esp_supplicant -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.3\" -DESP_PLATFORM -MD -MT esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj -MF esp-idf\esp_peripherals\CMakeFiles\__idf_esp_peripherals.dir\lib\blufi\wifibleconfig.c.obj.d -o esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj -c D:/wesp/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c
D:/wesp/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c:39:10: fatal error: esp_blufi.h: No such file or directory
#include "esp_blufi.h"
^~~~~~~~~~~~~
compilation terminated.
[1342/1398] Building C object esp-idf/playlist/CMakeFiles/__idf_playlist.dir/playlist_operator/sdcard_list.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
换其它几个目录下的
pipeline_a2dp_source_stream
这层的例程都报错,高级点的都编译不了,这个正常吗?
git克隆这个 https://github.com/espressif/esp-idf.git https://github.com/espressif/esp-adf.git下来的,用windows环境下安装在d盘目录下,确定目录没有空格特殊字符,下载过程太多,少漏没有明显报错,我也不清楚了,只知道下载完了。
编译idf里面例程的helloworld例程可以,eps-idf与esp-adf同一级目录,然后编译adf 例程目录下的play_mp3_control这个也可以,没报编译失败,烧录运行也可以听到声音,为啥换到高级功能点的,esp-adf\examples\player\pipeline_bt_sink这个就报错了,请贵司高手帮忙看下
idf.py fullclean
idf.py all
显示报错日志如下:
77/86] Linking C static library esp-idf\esp_hw_support\libesp_hw_support.a
[78/86] Linking C static library esp-idf\efuse\libefuse.a
[79/86] Linking C static library esp-idf\bootloader_support\libbootloader_support.a
[80/86] Linking C static library esp-idf\spi_flash\libspi_flash.a
[81/86] Linking C static library esp-idf\micro-ecc\libmicro-ecc.a
[82/86] Linking C static library esp-idf\soc\libsoc.a
[83/86] Linking C static library esp-idf\hal\libhal.a
[84/86] Linking C static library esp-idf\main\libmain.a
[85/86] Linking C executable bootloader.elf
[86/86] Generating binary image from built executable
esptool.py v3.1-dev
Merged 1 ELF section
Generated D:/wesp/esp-adf/examples/player/pipeline_bt_sink/build/bootloader/bootloader.bin
[1338/1398] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.objFAILED: esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj
ccache C:\Users\quectel\.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-gcc.exe -DADF_VER=\"v2.3-53-g501bb40-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -Iconfig -ID:/wesp/esp-adf/components/esp_peripherals/include -ID:/wesp/esp-adf/components/esp_peripherals/lib/adc_button -ID:/wesp/esp-adf/components/esp_peripherals/lib/gpio_isr -ID:/wesp/esp-adf/components/esp_peripherals/lib/sdcard -ID:/wesp/esp-adf/components/esp_peripherals/lib/touch -ID:/wesp/esp-adf/components/esp_peripherals/lib/button -ID:/wesp/esp-adf/components/esp_peripherals/lib/blufi -ID:/wesp/esp-adf/components/esp_peripherals/lib/IS31FL3216 -ID:/wesp/esp-adf/components/esp_peripherals/lib/aw2013 -ID:/wesp/esp-adf/components/esp_peripherals/driver/i2c_bus -ID:/wesp/esp-idf/components/newlib/platform_include -ID:/wesp/esp-idf/components/freertos/include -ID:/wesp/esp-idf/components/freertos/port/xtensa/include -ID:/wesp/esp-idf/components/esp_hw_support/include -ID:/wesp/esp-idf/components/esp_hw_support/port/esp32/. -ID:/wesp/esp-idf/components/heap/include -ID:/wesp/esp-idf/components/log/include -ID:/wesp/esp-idf/components/lwip/include/apps -ID:/wesp/esp-idf/components/lwip/include/apps/sntp -ID:/wesp/esp-idf/components/lwip/lwip/src/include -ID:/wesp/esp-idf/components/lwip/port/esp32/include -ID:/wesp/esp-idf/components/lwip/port/esp32/include/arch -ID:/wesp/esp-idf/components/soc/include -ID:/wesp/esp-idf/components/soc/esp32/. -ID:/wesp/esp-idf/components/soc/esp32/include -ID:/wesp/esp-idf/components/hal/esp32/include -ID:/wesp/esp-idf/components/hal/include -ID:/wesp/esp-idf/components/esp_rom/include -ID:/wesp/esp-idf/components/esp_rom/esp32 -ID:/wesp/esp-idf/components/esp_common/include -ID:/wesp/esp-idf/components/esp_system/include -ID:/wesp/esp-idf/components/esp32/include -ID:/wesp/esp-idf/components/driver/include -ID:/wesp/esp-idf/components/driver/esp32/include -ID:/wesp/esp-idf/components/esp_ringbuf/include -ID:/wesp/esp-idf/components/efuse/include -ID:/wesp/esp-idf/components/efuse/esp32/include -ID:/wesp/esp-idf/components/xtensa/include -ID:/wesp/esp-idf/components/xtensa/esp32/include -ID:/wesp/esp-idf/components/espcoredump/include -ID:/wesp/esp-idf/components/esp_timer/include -ID:/wesp/esp-idf/components/esp_ipc/include -ID:/wesp/esp-idf/components/esp_pm/include -ID:/wesp/esp-idf/components/vfs/include -ID:/wesp/esp-idf/components/esp_wifi/include -ID:/wesp/esp-idf/components/esp_wifi/esp32/include -ID:/wesp/esp-idf/components/esp_event/include -ID:/wesp/esp-idf/components/esp_netif/include -ID:/wesp/esp-idf/components/esp_eth/include -ID:/wesp/esp-idf/components/tcpip_adapter/include -ID:/wesp/esp-idf/components/app_trace/include -ID:/wesp/esp-adf/components/audio_hal/include -ID:/wesp/esp-adf/components/audio_hal/driver/es8388 -ID:/wesp/esp-adf/components/audio_hal/driver/es8374 -ID:/wesp/esp-adf/components/audio_hal/driver/es8311 -ID:/wesp/esp-adf/components/audio_hal/driver/es7243 -ID:/wesp/esp-adf/components/audio_hal/driver/es7148 -ID:/wesp/esp-adf/components/audio_hal/driver/es7210 -ID:/wesp/esp-adf/components/audio_hal/driver/tas5805m -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063 -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063/api_lib -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063/example_apps -ID:/wesp/esp-adf/components/audio_hal/driver/zl38063/firmware -ID:/wesp/esp-adf/components/audio_hal/driver/include -ID:/wesp/esp-idf/components/esp_adc_cal/include -ID:/wesp/esp-adf/components/audio_sal/include -ID:/wesp/esp-idf/components/fatfs/diskio -ID:/wesp/esp-idf/components/fatfs/vfs -ID:/wesp/esp-idf/components/fatfs/src -ID:/wesp/esp-idf/components/wear_levelling/include -ID:/wesp/esp-idf/components/spi_flash/include -ID:/wesp/esp-idf/components/sdmmc/include -ID:/wesp/esp-idf/components/console -ID:/wesp/esp-adf/components/audio_pipeline/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_audio/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_codec/include/codec -ID:/wesp/esp-adf/components/esp-adf-libs/esp_codec/include/processing -ID:/wesp/esp-adf/components/esp-adf-libs/esp_upnp/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_ssdp/include -ID:/wesp/esp-adf/components/esp-adf-libs/recorder_engine/include -ID:/wesp/esp-adf/components/esp-adf-libs/audio_misc/include -ID:/wesp/esp-adf/components/esp-adf-libs/esp_sip/include -ID:/wesp/esp-adf/components/esp-sr/lib/include -ID:/wesp/esp-adf/components/esp-sr/wake_word_engine/include -ID:/wesp/esp-adf/components/esp-sr/speech_command_recognition/include -ID:/wesp/esp-adf/components/esp-sr/acoustic_algorithm/include -ID:/wesp/esp-adf/components/esp-sr/esp-tts/esp_tts_chinese/include -ID:/wesp/esp-idf/components/nghttp/port/include -ID:/wesp/esp-idf/components/nghttp/nghttp2/lib/includes -ID:/wesp/esp-idf/components/tcp_transport/include -ID:/wesp/esp-idf/components/esp-tls -ID:/wesp/esp-idf/components/esp-tls/esp-tls-crypto -ID:/wesp/esp-idf/components/mbedtls/port/include -ID:/wesp/esp-idf/components/mbedtls/mbedtls/include -ID:/wesp/esp-idf/components/mbedtls/esp_crt_bundle/include -ID:/wesp/esp-adf/components/audio_board/include -ID:/wesp/esp-adf/components/audio_board/lyrat_v4_3 -ID:/wesp/esp-idf/components/spiffs/include -ID:/wesp/esp-adf/components/display_service/include -ID:/wesp/esp-adf/components/display_service/led_indicator/include -ID:/wesp/esp-adf/components/display_service/led_bar/include -ID:/wesp/esp-adf/components/esp_dispatcher/include -ID:/wesp/esp-idf/components/bt/common/osi/include -ID:/wesp/esp-idf/components/bt/include/esp32/include -ID:/wesp/esp-idf/components/bt/host/bluedroid/api/include/api -ID:/wesp/esp-idf/components/nvs_flash/include -ID:/wesp/esp-idf/components/wpa_supplicant/include -ID:/wesp/esp-idf/components/wpa_supplicant/port/include -ID:/wesp/esp-idf/components/wpa_supplicant/include/esp_supplicant -mlongcalls -Wno-frame-address -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -ggdb -Og -fstrict-volatile-bitfields -Wno-error=unused-but-set-variable -std=gnu99 -Wno-old-style-declaration -D_GNU_SOURCE -DIDF_VER=\"v4.3\" -DESP_PLATFORM -MD -MT esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj -MF esp-idf\esp_peripherals\CMakeFiles\__idf_esp_peripherals.dir\lib\blufi\wifibleconfig.c.obj.d -o esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/lib/blufi/wifibleconfig.c.obj -c D:/wesp/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c
D:/wesp/esp-adf/components/esp_peripherals/lib/blufi/wifibleconfig.c:39:10: fatal error: esp_blufi.h: No such file or directory
#include "esp_blufi.h"
^~~~~~~~~~~~~
compilation terminated.
[1342/1398] Building C object esp-idf/playlist/CMakeFiles/__idf_playlist.dir/playlist_operator/sdcard_list.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
换其它几个目录下的
pipeline_a2dp_source_stream
这层的例程都报错,高级点的都编译不了,这个正常吗?