Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtsp client in esp32_p4 (AUD-5885) #1321

Open
ManikandanVaradharaj opened this issue Nov 25, 2024 · 20 comments
Open

rtsp client in esp32_p4 (AUD-5885) #1321

ManikandanVaradharaj opened this issue Nov 25, 2024 · 20 comments

Comments

@ManikandanVaradharaj
Copy link

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

the rtsp protocol can implement in esp32_p4 display board can be easy to display the live stream video

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Please give as many details as you can. Include suggestions for useful APIs or interfaces if relevant.

Additional context

Add any other context or screenshots about the feature request here.

@github-actions github-actions bot changed the title rtsp client in esp32_p4 rtsp client in esp32_p4 (AUD-5885) Nov 25, 2024
@ManikandanVaradharaj
Copy link
Author

I'm using esp32_p4 module in esp_brookesia_phone project i added the esp_adf repo and trying to implement rtsp.but I'm not getting proper setup and necessary libraries for the module.could u please suggest me which are the libraries are needed and how the logic will work on esp32_p4 module.

@TempoTian
Copy link
Contributor

Currently RTSP is implemented in esp_media_protocol and it only dependent on media_lib_sal.
These 2 libraries can be found in:
https://github.com/espressif/esp-adf-libs/tree/master/esp_media_protocols
https://github.com/espressif/esp-adf-libs/tree/master/media_lib_sal

If you use IDF and not ADF you can copy these 2 library and add CMakeLists.txt for them.

If you use ADF, you can modify esp_rtsp example add UI related things into it, also you can see the code to check the API usage:
https://github.com/espressif/esp-adf/tree/master/examples/protocols/esp-rtsp

@ManikandanVaradharaj
Copy link
Author

Now,I'm using esp32_p4 for the esp_devkits repo inside esp_brookesia_phone i pasted the two libraries esp_media_protocal and media_lib_sal.but there i can only get esp_rtsp.h file in esp_media_protocol.inside .obj only present couldn't view the source file and I'm not getting idea how to get the example code for rtsp.

@TempoTian
Copy link
Contributor

Example code is https://github.com/espressif/esp-adf/tree/master/examples/protocols/esp-rtsp RTSP protocol is in libesp_media_protocol.a there is no open source for it yet.

@ManikandanVaradharaj
Copy link
Author

I installed adf in idf and i tired with example rtsp code but it shows the error In CMakelist and sdkconfig file is not present for esp32p4.

@TempoTian
Copy link
Contributor

You need export ADF_PATH=XXXXX/esp-adf-internal then retry

@ManikandanVaradharaj
Copy link
Author

which version of idf and adf should i use

@TempoTian
Copy link
Contributor

IDF v5.3 or above to use esp32p4, ADF can use master branch.

@ManikandanVaradharaj
Copy link
Author

while I'm trying to build example code for rtsp it's getting lots error,since i didn't changed anything up to now.

Executing action: all (aliases: build)
Running ninja in directory /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build
Executing "ninja all"...
[4/1328] Move and Pack models...
Recommended model partition size: 1K
[8/1328] Generating ../../partition_table/partition-table.bin
Partition table binary generated. Contents:


ESP-IDF Partition Table

Name, Type, SubType, Offset, Size, Flags

nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,4M,


[389/1328] Performing configure step for 'bootloader'
-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32p4
-- Project sdkconfig file /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/sdkconfig
-- Adding linker script /home/smartbuild/esp/esp-idf/components/riscv/ld/rom.api.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/soc/esp32p4/ld/esp32p4.peripherals.ld
-- Bootloader project name: "bootloader" version: 1
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.api.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.rvfp.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.wdt.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.systimer.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.version.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4/ld/esp32p4.rom.newlib.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/bootloader/subproject/main/ld/esp32p4/bootloader.ld
-- Adding linker script /home/smartbuild/esp/esp-idf/components/bootloader/subproject/main/ld/esp32p4/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_bootloader_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table riscv soc spi_flash
-- Component paths: /home/smartbuild/esp/esp-idf/components/bootloader /home/smartbuild/esp/esp-idf/components/bootloader_support /home/smartbuild/esp/esp-idf/components/efuse /home/smartbuild/esp/esp-idf/components/esp_app_format /home/smartbuild/esp/esp-idf/components/esp_bootloader_format /home/smartbuild/esp/esp-idf/components/esp_common /home/smartbuild/esp/esp-idf/components/esp_hw_support /home/smartbuild/esp/esp-idf/components/esp_rom /home/smartbuild/esp/esp-idf/components/esp_system /home/smartbuild/esp/esp-idf/components/esptool_py /home/smartbuild/esp/esp-idf/components/freertos /home/smartbuild/esp/esp-idf/components/hal /home/smartbuild/esp/esp-idf/components/log /home/smartbuild/esp/esp-idf/components/bootloader/subproject/main /home/smartbuild/esp/esp-idf/components/bootloader/subproject/components/micro-ecc /home/smartbuild/esp/esp-idf/components/newlib /home/smartbuild/esp/esp-idf/components/partition_table /home/smartbuild/esp/esp-idf/components/riscv /home/smartbuild/esp/esp-idf/components/soc /home/smartbuild/esp/esp-idf/components/spi_flash
-- Configuring done
-- Generating done
-- Build files have been written to: /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/bootloader
[115/116] Generating binary image from built executable
esptool.py v4.8.1
Creating esp32p4 image...
Merged 2 ELF sections
Successfully created esp32p4 image.
Generated /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/bootloader/bootloader.bin
[116/116] cd /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp...p/esp-adf/examples/protocols/esp-rtsp/build/bootloader/bootloader.bin
Bootloader binary size 0x5870 bytes. 0x790 bytes (8%) free.
[954/1328] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/rtsp_service.c.obj
In file included from /home/smartbuild/esp/esp-adf/examples/protocols/components/av_stream/av_stream_hal/av_stream_hal.h:28,
from /home/smartbuild/esp/esp-adf/examples/protocols/components/av_stream/av_stream.h:28,
from /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/main/rtsp_service.h:28,
from /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/main/rtsp_service.c:28:
/home/smartbuild/esp/esp-idf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress legacy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp]
27 | #warning "This set of I2S APIs has been deprecated,
| ^~~~~~~
[961/1328] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
In file included from /home/smartbuild/esp/esp-adf/examples/protocols/components/av_stream/av_stream_hal/av_stream_hal.h:28,
from /home/smartbuild/esp/esp-adf/examples/protocols/components/av_stream/av_stream.h:28,
from /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/main/rtsp_service.h:28,
from /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/main/main.c:19:
/home/smartbuild/esp/esp-idf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress legacy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp]
27 | #warning "This set of I2S APIs has been deprecated,
| ^~~~~~~
[1025/1328] Building C object esp-idf/esp-adf-libs/CMakeFiles/__idf_esp-adf-libs.dir/media_lib_sal/port/media_lib_os_freertos.c.obj
In file included from /home/smartbuild/esp/esp-adf/components/esp-adf-libs/media_lib_sal/port/media_lib_os_freertos.c:43:
/home/smartbuild/esp/esp-idf/components/freertos/esp_additions/include/freertos/task_snapshot.h:8:2: warning: #warning freertos/task_snapshot.h header is no longer used, and will be removed in future versions. [-Wcpp]
8 | #warning freertos/task_snapshot.h header is no longer used, and will be removed in future versions.
| ^~~~~~~
[1026/1328] Building C object esp-idf/esp-adf-libs/CMakeFiles/__idf_esp-adf-libs.dir/esp_codec/audio_forge.c.obj
/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_forge.c: In function 'audio_forge_sonic_set_speed':
/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_forge.c:993:15: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value]
993 | if ((int)(abs((sonic_speed - audio_forge->sonic_speed) * 100)) <= 5) {
| ^~~
/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_forge.c: In function 'audio_forge_sonic_set_pitch':
/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_codec/audio_forge.c:1018:15: warning: using integer absolute value function 'abs' when argument is of floating-point type 'float' [-Wabsolute-value]
1018 | if ((int)(abs((sonic_pitch - audio_forge->sonic_pitch) * 100)) <= 5) {
| ^~~
[1039/1328] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_adc_button.c.obj
In file included from /home/smartbuild/esp/esp-adf/components/esp_peripherals/include/periph_adc_button.h:28,
from /home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_adc_button.c:28:
/home/smartbuild/esp/esp-idf/components/driver/deprecated/driver/adc.h:19:2: warning: #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively" [-Wcpp]
19 | #warning "legacy adc driver is deprecated, please migrate to use esp_adc/adc_oneshot.h and esp_adc/adc_continuous.h for oneshot mode and continuous mode drivers respectively"
| ^~~~~~~
[1048/1328] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_wifi.c.obj
FAILED: esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_wifi.c.obj
/home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc -DADF_VER="v2.7-26-gae35314d-dirty" -DESP_PLATFORM -DHAVE_CONFIG_H -DIDF_VER="v5.3.1" -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DSOC_XTAL_FREQ_MHZ=CONFIG_XTAL_FREQ -D_GLIBCXX_HAVE_POSIX_SEMAPHORE -D_GLIBCXX_USE_POSIX_SEMAPHORE -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -I/home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/config -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/include -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/adc_button -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/gpio_isr -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/button -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/blufi -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/IS31FL3216 -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/aw2013 -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/tca9554 -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/driver/i2c_bus -I/home/smartbuild/esp/esp-adf/components/esp_peripherals/lib/sdcard -I/home/smartbuild/esp/esp-idf/components/newlib/platform_include -I/home/smartbuild/esp/esp-idf/components/freertos/config/include -I/home/smartbuild/esp/esp-idf/components/freertos/config/include/freertos -I/home/smartbuild/esp/esp-idf/components/freertos/config/riscv/include -I/home/smartbuild/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include -I/home/smartbuild/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include -I/home/smartbuild/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/riscv/include/freertos -I/home/smartbuild/esp/esp-idf/components/freertos/esp_additions/include -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/include -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/include/soc -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/include/soc/esp32p4 -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/dma/include -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/ldo/include -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/port/esp32p4/. -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/port/esp32p4/include -I/home/smartbuild/esp/esp-idf/components/esp_hw_support/port/esp32p4/private_include -I/home/smartbuild/esp/esp-idf/components/heap/include -I/home/smartbuild/esp/esp-idf/components/log/include -I/home/smartbuild/esp/esp-idf/components/soc/include -I/home/smartbuild/esp/esp-idf/components/soc/esp32p4 -I/home/smartbuild/esp/esp-idf/components/soc/esp32p4/include -I/home/smartbuild/esp/esp-idf/components/hal/platform_port/include -I/home/smartbuild/esp/esp-idf/components/hal/esp32p4/include -I/home/smartbuild/esp/esp-idf/components/hal/include -I/home/smartbuild/esp/esp-idf/components/esp_rom/include -I/home/smartbuild/esp/esp-idf/components/esp_rom/include/esp32p4 -I/home/smartbuild/esp/esp-idf/components/esp_rom/esp32p4 -I/home/smartbuild/esp/esp-idf/components/esp_common/include -I/home/smartbuild/esp/esp-idf/components/esp_system/include -I/home/smartbuild/esp/esp-idf/components/esp_system/port/soc -I/home/smartbuild/esp/esp-idf/components/esp_system/port/include/riscv -I/home/smartbuild/esp/esp-idf/components/esp_system/port/include/private -I/home/smartbuild/esp/esp-idf/components/riscv/include -I/home/smartbuild/esp/esp-idf/components/esp_timer/include -I/home/smartbuild/esp/esp-idf/components/lwip/include -I/home/smartbuild/esp/esp-idf/components/lwip/include/apps -I/home/smartbuild/esp/esp-idf/components/lwip/include/apps/sntp -I/home/smartbuild/esp/esp-idf/components/lwip/lwip/src/include -I/home/smartbuild/esp/esp-idf/components/lwip/port/include -I/home/smartbuild/esp/esp-idf/components/lwip/port/freertos/include -I/home/smartbuild/esp/esp-idf/components/lwip/port/esp32xx/include -I/home/smartbuild/esp/esp-idf/components/lwip/port/esp32xx/include/arch -I/home/smartbuild/esp/esp-idf/components/lwip/port/esp32xx/include/sys -I/home/smartbuild/esp/esp-idf/components/driver/deprecated -I/home/smartbuild/esp/esp-idf/components/driver/i2c/include -I/home/smartbuild/esp/esp-idf/components/driver/touch_sensor/include -I/home/smartbuild/esp/esp-idf/components/driver/twai/include -I/home/smartbuild/esp/esp-idf/components/esp_pm/include -I/home/smartbuild/esp/esp-idf/components/esp_ringbuf/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_gpio/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_pcnt/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_gptimer/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_spi/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_mcpwm/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_ana_cmpr/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_i2s/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_sdmmc/include -I/home/smartbuild/esp/esp-idf/components/sdmmc/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_sdspi/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_sdio/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_dac/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_rmt/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_tsens/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_sdm/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_i2c/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_uart/include -I/home/smartbuild/esp/esp-idf/components/vfs/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_ledc/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_parlio/include -I/home/smartbuild/esp/esp-idf/components/esp_driver_usb_serial_jtag/include -I/home/smartbuild/esp/esp-adf/components/audio_hal/include -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es8388 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es8374 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es8311 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es8156 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es7243 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es7148 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es7210 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/es7243e -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/tas5805m -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/include -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/zl38063 -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/zl38063/api_lib -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/zl38063/example_apps -I/home/smartbuild/esp/esp-adf/components/audio_hal/driver/zl38063/firmware -I/home/smartbuild/esp/esp-adf/components/audio_sal/include -I/home/smartbuild/esp/esp-idf/components/efuse/include -I/home/smartbuild/esp/esp-idf/components/efuse/esp32p4/include -I/home/smartbuild/esp/esp-idf/components/fatfs/diskio -I/home/smartbuild/esp/esp-idf/components/fatfs/src -I/home/smartbuild/esp/esp-idf/components/fatfs/vfs -I/home/smartbuild/esp/esp-idf/components/wear_levelling/include -I/home/smartbuild/esp/esp-idf/components/esp_partition/include -I/home/smartbuild/esp/esp-idf/components/console -I/home/smartbuild/esp/esp-idf/components/esp_vfs_console/include -I/home/smartbuild/esp/esp-adf/components/audio_pipeline/include -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_audio/include -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_codec/include/codec -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_codec/include/processing -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_new_jpeg/include -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/media_lib_sal/include -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/media_lib_sal/include/port -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_muxer/include -I/home/smartbuild/esp/esp-adf/components/esp-adf-libs/esp_media_protocols/include -I/home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/managed_components/espressif__nghttp/port/include -I/home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/managed_components/espressif__nghttp/nghttp2/lib/includes -I/home/smartbuild/esp/esp-idf/components/esp-tls -I/home/smartbuild/esp/esp-idf/components/esp-tls/esp-tls-crypto -I/home/smartbuild/esp/esp-idf/components/mbedtls/port/include -I/home/smartbuild/esp/esp-idf/components/mbedtls/mbedtls/include -I/home/smartbuild/esp/esp-idf/components/mbedtls/mbedtls/library -I/home/smartbuild/esp/esp-idf/components/mbedtls/esp_crt_bundle/include -I/home/smartbuild/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/everest/include -I/home/smartbuild/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m -I/home/smartbuild/esp/esp-idf/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -I/home/smartbuild/esp/esp-idf/components/esp_netif/include -I/home/smartbuild/esp/esp-idf/components/esp_event/include -I/home/smartbuild/esp/esp-adf/components/audio_board/include -I/home/smartbuild/esp/esp-adf/components/audio_board/lyrat_v4_3 -I/home/smartbuild/esp/esp-idf/components/spiffs/include -I/home/smartbuild/esp/esp-adf/components/display_service/include -I/home/smartbuild/esp/esp-adf/components/display_service/led_indicator/include -I/home/smartbuild/esp/esp-adf/components/display_service/led_bar/include -I/home/smartbuild/esp/esp-adf/components/esp_dispatcher/include -I/home/smartbuild/esp/esp-idf/components/esp_wifi/include -I/home/smartbuild/esp/esp-idf/components/esp_wifi/wifi_apps/include -I/home/smartbuild/esp/esp-idf/components/esp_wifi/wifi_apps/nan_app/include -I/home/smartbuild/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include -I/home/smartbuild/esp/esp-idf/components/nvs_flash/include -I/home/smartbuild/esp/esp-idf/components/spi_flash/include -I/home/smartbuild/esp/esp-idf/components/esp_lcd/include -I/home/smartbuild/esp/esp-idf/components/esp_lcd/interface -I/home/smartbuild/esp/esp-idf/components/esp_lcd/dsi/include -I/home/smartbuild/esp/esp-idf/components/esp_adc/include -I/home/smartbuild/esp/esp-idf/components/esp_adc/interface -I/home/smartbuild/esp/esp-idf/components/esp_adc/esp32p4/include -I/home/smartbuild/esp/esp-idf/components/esp_adc/deprecated/include -march=rv32imafc_zicsr_zifencei_xesppie -mabi=ilp32f -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -nostartfiles -Og -fno-shrink-wrap -fmacro-prefix-map=/home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp=. -fmacro-prefix-map=/home/smartbuild/esp/esp-idf=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -std=gnu17 -Wno-old-style-declaration -MD -MT esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_wifi.c.obj -MF esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_wifi.c.obj.d -o esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_wifi.c.obj -c /home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c
In file included from /home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:26:
/home/smartbuild/esp/esp-idf/components/wpa_supplicant/esp_supplicant/include/esp_wpa2.h:10:9: note: '#pragma message: esp_wpa2.h is deprecated. Use esp_eap_client.h instead.'
10 | #pragma message("esp_wpa2.h is deprecated. Use esp_eap_client.h instead.")
| ^~~~~~~
In file included from /home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:30:
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c: In function '_wifi_init':
/home/smartbuild/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:303:26: error: 'CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM' undeclared (first use in this function); did you mean 'CONFIG_ETH_DMA_RX_BUFFER_NUM'?
303 | .static_rx_buf_num = CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:423:30: note: in expansion of macro 'WIFI_INIT_CONFIG_DEFAULT'
423 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:303:26: note: each undeclared identifier is reported only once for each function it appears in
303 | .static_rx_buf_num = CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:423:30: note: in expansion of macro 'WIFI_INIT_CONFIG_DEFAULT'
423 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:304:27: error: 'CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM' undeclared (first use in this function); did you mean 'CONFIG_ETH_DMA_RX_BUFFER_NUM'?
304 | .dynamic_rx_buf_num = CONFIG_ESP_WIFI_DYNAMIC_RX_BUFFER_NUM,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:423:30: note: in expansion of macro 'WIFI_INIT_CONFIG_DEFAULT'
423 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:305:20: error: 'CONFIG_ESP_WIFI_TX_BUFFER_TYPE' undeclared (first use in this function); did you mean 'CONFIG_ETH_DMA_TX_BUFFER_NUM'?
305 | .tx_buf_type = CONFIG_ESP_WIFI_TX_BUFFER_TYPE,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:423:30: note: in expansion of macro 'WIFI_INIT_CONFIG_DEFAULT'
423 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:308:25: error: 'CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUF' undeclared (first use in this function)
308 | .rx_mgmt_buf_type = CONFIG_ESP_WIFI_DYNAMIC_RX_MGMT_BUF,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:423:30: note: in expansion of macro 'WIFI_INIT_CONFIG_DEFAULT'
423 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:323:31: error: 'CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM' undeclared (first use in this function)
323 | .espnow_max_encrypt_num = CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_wifi.c:423:30: note: in expansion of macro 'WIFI_INIT_CONFIG_DEFAULT'
423 | wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
| ^~~~~~~~~~~~~~~~~~~~~~~~
[1050/1328] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_console.c.obj
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_console.c: In function '_console_init':
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_console.c:252:5: warning: 'esp_vfs_dev_uart_port_set_rx_line_endings' is deprecated: Please use uart_vfs_dev_port_set_rx_line_endings() instead [-Wdeprecated-declarations]
252 | esp_vfs_dev_uart_port_set_rx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CR);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_console.c:29:
/home/smartbuild/esp/esp-idf/components/vfs/include/esp_vfs_dev.h:22:5: note: declared here
22 | int esp_vfs_dev_uart_port_set_rx_line_endings(int uart_num, esp_line_endings_t mode) attribute((deprecated("Please use uart_vfs_dev_port_set_rx_line_endings() instead")));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_console.c:258:5: warning: 'esp_vfs_dev_uart_port_set_tx_line_endings' is deprecated: Please use uart_vfs_dev_port_set_tx_line_endings() instead [-Wdeprecated-declarations]
258 | esp_vfs_dev_uart_port_set_tx_line_endings(CONFIG_ESP_CONSOLE_UART_NUM, ESP_LINE_ENDINGS_CRLF);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/vfs/include/esp_vfs_dev.h:24:5: note: declared here
24 | int esp_vfs_dev_uart_port_set_tx_line_endings(int uart_num, esp_line_endings_t mode) attribute((deprecated("Please use uart_vfs_dev_port_set_tx_line_endings() instead")));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_console.c:271:5: warning: 'esp_vfs_dev_uart_use_driver' is deprecated: Please use uart_vfs_dev_use_driver() instead [-Wdeprecated-declarations]
271 | esp_vfs_dev_uart_use_driver(CONFIG_ESP_CONSOLE_UART_NUM);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/smartbuild/esp/esp-idf/components/vfs/include/esp_vfs_dev.h:20:6: note: declared here
20 | void esp_vfs_dev_uart_use_driver(int uart_num) attribute((deprecated("Please use uart_vfs_dev_use_driver() instead")));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[1051/1328] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_ws2812.c.obj
In file included from /home/smartbuild/esp/esp-adf/components/esp_peripherals/periph_ws2812.c:29:
/home/smartbuild/esp/esp-idf/components/driver/deprecated/driver/rmt.h:18:2: warning: #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h" [-Wcpp]
18 | #warning "The legacy RMT driver is deprecated, please use driver/rmt_tx.h and/or driver/rmt_rx.h"
| ^~~~~~~
[1053/1328] Building C object esp-idf/esp_peripherals/CMakeFiles/__idf_esp_peripherals.dir/periph_led.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/log/idf_py_stderr_output_200259 and /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/log/idf_py_stdout_output_200259

@TempoTian
Copy link
Contributor

Execute idf.py add-dependency "espressif/esp_wifi_remote^0.5.1" then retry, P4 need this component to use wifi.

@ManikandanVaradharaj
Copy link
Author

ManikandanVaradharaj commented Nov 26, 2024

after i did the WiFi idf_coponent.yml..I couldn't set-taget for esp32p4.

Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32p4, new sdkconfig will be created.
Running cmake in directory /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/smartbuild/.espressif/python_env/idf5.3_py3.10_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32p4 -DCCACHE_ENABLE=0 /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp"...
CMake Error at CMakeLists.txt:5 (include):
include could not find requested file:

/home/smartbuild/esp/esp-adf/esp-adf-internal/CMakeLists.txt

-- Found Git: /usr/bin/git (found version "2.34.1")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/smartbuild/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building ESP-IDF components for target esp32p4
HINT: Component "espressif/usb_stream" has suitable versions for other targets: "esp32s2", "esp32s3". Is your current target "esp32p4" set correctly?
HINT: Component "espressif/usb_stream" has suitable versions for other targets: "esp32s2", "esp32s3". Is your current target "esp32p4" set correctly?
HINT: Component "espressif/usb_stream" has suitable versions for other targets: "esp32s2", "esp32s3". Is your current target "esp32p4" set correctly?
HINT: Component "espressif/usb_stream" has suitable versions for other targets: "esp32s2", "esp32s3". Is your current target "esp32p4" set correctly?
Processing 9 dependencies:
[1/9] esp32-camera (4335c93ec462a379aa2a3d655b8834972d725190)
[2/9] espressif/cmake_utilities (0.5.3)
[3/9] espressif/eppp_link (0.2.0)
[4/9] espressif/esp32-camera (2.0.15)
[5/9] espressif/esp_hosted (0.0.26)
[6/9] espressif/esp_serial_slave_link (1.1.0)
[7/9] espressif/esp_wifi_remote (0.5.1)
[8/9] espressif/usb_stream (1.3.2)
[9/9] idf (5.3.1)
CMake Error at /home/smartbuild/esp/esp-idf/tools/cmake/component.cmake:251 (message):
ERROR: Cannot process component requirements. Multiple candidates to
satisfy project requirements:

requirement: "esp32-camera" candidates: "esp32-camera, espressif__esp32-camera"

Call Stack (most recent call first):
/home/smartbuild/esp/esp-idf/tools/cmake/build.cmake:586 (__component_get_requirements)
/home/smartbuild/esp/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
CMakeLists.txt:14 (project)

-- Configuring incomplete, errors occurred!
See also "/home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/log/idf_py_stderr_output_225011 and /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp/build/log/idf_py_stdout_output_225011

@ManikandanVaradharaj
Copy link
Author

I didn't got any esp-adf-internal folder inside esp-adf.

@TempoTian
Copy link
Contributor

Following is my build steps, it build OK after mark some code:

2001  cd ~/adf-commit/esp-adf-internal/examples/protocols/esp-rtsp
 2004  idf.py add-dependency "espressif/esp_wifi_remote^0.5.1"
 2005  export ADF_PATH=/home/tempo/adf-commit/esp-adf-internal/
 2006  rm -rf build/
 2007  idf.py set-target esp32p4
 2008  idf.py build
 2009  idf.py menuconfig --> select P4 Function Board
 2010  idf.py build
 2011  code /home/tempo/adf-commit/esp-adf-internal/examples/protocols/components/av_stream/av_stream_hal/av_stream_hal_camera.c --> Comment some GPIO related code
 2012  idf.py build
 2013  code /home/tempo/adf-commit/esp-adf-internal/examples/protocols/components/av_stream/av_stream_hal/av_stream_hal_lcd.c --> Comment lcd init function
 2014  idf.py build

@ManikandanVaradharaj
Copy link
Author

here i cloned esp-adf.that location is like /home/smartbuild/esp/esp-adf/examples/protocols/esp-rtsp.

@ManikandanVaradharaj
Copy link
Author

The esp-adf-internal not even found in the github repository also.

@ManikandanVaradharaj
Copy link
Author

ManikandanVaradharaj commented Nov 26, 2024

Can you please tell me the step by step process of install adf and implement the things for rtsp in esp32p4 module.

@ManikandanVaradharaj
Copy link
Author

Once again i cloned esp-adf master but i don't got any named folder like esp-adf-internal

smartbuild@smartbuild-Aspire-A314-35:~$ git clone --recursive https://github.com/espressif/esp-adf.git
Cloning into 'esp-adf'...
remote: Enumerating objects: 18572, done.
remote: Counting objects: 100% (5359/5359), done.
remote: Compressing objects: 100% (1362/1362), done.
remote: Total 18572 (delta 4294), reused 4586 (delta 3964), pack-reused 13213 (from 1)
Receiving objects: 100% (18572/18572), 126.87 MiB | 20.58 MiB/s, done.
Resolving deltas: 100% (12360/12360), done.
Updating files: 100% (2223/2223), done.
Submodule 'components/esp-adf-libs' (https://github.com/espressif/esp-adf-libs) registered for path 'components/esp-adf-libs'
Submodule 'components/esp-sr' (https://github.com/espressif/esp-sr.git) registered for path 'components/esp-sr'
Submodule 'esp-idf' (https://github.com/espressif/esp-idf) registered for path 'esp-idf'
Cloning into '/home/smartbuild/esp-adf/components/esp-adf-libs'...
remote: Enumerating objects: 3986, done.
remote: Counting objects: 100% (1492/1492), done.
remote: Compressing objects: 100% (772/772), done.
remote: Total 3986 (delta 631), reused 1450 (delta 589), pack-reused 2494 (from 1)
Receiving objects: 100% (3986/3986), 648.36 MiB | 16.16 MiB/s, done.
Resolving deltas: 100% (1736/1736), done.
Cloning into '/home/smartbuild/esp-adf/components/esp-sr'...
remote: Enumerating objects: 5289, done.
remote: Counting objects: 100% (1550/1550), done.
remote: Compressing objects: 100% (608/608), done.
remote: Total 5289 (delta 970), reused 1450 (delta 901), pack-reused 3739 (from 1)
Receiving objects: 100% (5289/5289), 235.03 MiB | 20.74 MiB/s, done.
Resolving deltas: 100% (3015/3015), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf'...
remote: Enumerating objects: 683702, done.
remote: Counting objects: 100% (19255/19255), done.
remote: Compressing objects: 100% (6336/6336), done.
remote: Total 683702 (delta 12654), reused 18394 (delta 12269), pack-reused 664447 (from 1)
Receiving objects: 100% (683702/683702), 301.35 MiB | 19.90 MiB/s, done.
Resolving deltas: 100% (502892/502892), done.
Submodule path 'components/esp-adf-libs': checked out '891d0b0fe7a04ddf5ddbffc93bd828ce58cc942e'
Submodule path 'components/esp-sr': checked out '394aae67b578cf45ed13dad9c2e0c428f5d599f0'
Submodule path 'esp-idf': checked out 'c8fc5f643b7a7b0d3b182d3df610844e3dc9bd74'
Submodule 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'
Submodule 'components/bt/controller/lib_esp32' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'esp-idf/components/bt/controller/lib_esp32'
Submodule 'components/bt/controller/lib_esp32c2/esp32c2-bt-lib' (https://github.com/espressif/esp32c2-bt-lib.git) registered for path 'esp-idf/components/bt/controller/lib_esp32c2/esp32c2-bt-lib'
Submodule 'components/bt/controller/lib_esp32c3_family' (https://github.com/espressif/esp32c3-bt-lib.git) registered for path 'esp-idf/components/bt/controller/lib_esp32c3_family'
Submodule 'components/bt/controller/lib_esp32c5/esp32c5-bt-lib' (https://github.com/espressif/esp32c5-bt-lib.git) registered for path 'esp-idf/components/bt/controller/lib_esp32c5/esp32c5-bt-lib'
Submodule 'components/bt/controller/lib_esp32c6/esp32c6-bt-lib' (https://github.com/espressif/esp32c6-bt-lib.git) registered for path 'esp-idf/components/bt/controller/lib_esp32c6/esp32c6-bt-lib'
Submodule 'components/bt/controller/lib_esp32h2/esp32h2-bt-lib' (https://github.com/espressif/esp32h2-bt-lib.git) registered for path 'esp-idf/components/bt/controller/lib_esp32h2/esp32h2-bt-lib'
Submodule 'components/bt/esp_ble_mesh/lib/lib' (https://github.com/espressif/esp-ble-mesh-lib.git) registered for path 'esp-idf/components/bt/esp_ble_mesh/lib/lib'
Submodule 'components/bt/host/nimble/nimble' (https://github.com/espressif/esp-nimble.git) registered for path 'esp-idf/components/bt/host/nimble/nimble'
Submodule 'components/cmock/CMock' (https://github.com/ThrowTheSwitch/CMock.git) registered for path 'esp-idf/components/cmock/CMock'
Submodule 'components/esp_coex/lib' (https://github.com/espressif/esp-coex-lib.git) registered for path 'esp-idf/components/esp_coex/lib'
Submodule 'components/esp_phy/lib' (https://github.com/espressif/esp-phy-lib.git) registered for path 'esp-idf/components/esp_phy/lib'
Submodule 'components/esp_wifi/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'esp-idf/components/esp_wifi/lib'
Submodule 'components/heap/tlsf' (https://github.com/espressif/tlsf.git) registered for path 'esp-idf/components/heap/tlsf'
Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'esp-idf/components/json/cJSON'
Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'esp-idf/components/lwip/lwip'
Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'esp-idf/components/mbedtls/mbedtls'
Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'esp-idf/components/mqtt/esp-mqtt'
Submodule 'components/openthread/lib' (https://github.com/espressif/esp-thread-lib.git) registered for path 'esp-idf/components/openthread/lib'
Submodule 'components/openthread/openthread' (https://github.com/espressif/openthread.git) registered for path 'esp-idf/components/openthread/openthread'
Submodule 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c.git) registered for path 'esp-idf/components/protobuf-c/protobuf-c'
Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'esp-idf/components/spiffs/spiffs'
Submodule 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'esp-idf/components/unity/unity'
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'...
remote: Enumerating objects: 1159, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (42/42), done.
remote: Total 1159 (delta 27), reused 35 (delta 20), pack-reused 1095 (from 1)
Receiving objects: 100% (1159/1159), 691.72 KiB | 3.72 MiB/s, done.
Resolving deltas: 100% (670/670), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/controller/lib_esp32'...
remote: Enumerating objects: 1962, done.
remote: Counting objects: 100% (326/326), done.
remote: Compressing objects: 100% (158/158), done.
remote: Total 1962 (delta 159), reused 253 (delta 89), pack-reused 1636 (from 1)
Receiving objects: 100% (1962/1962), 7.98 MiB | 10.27 MiB/s, done.
Resolving deltas: 100% (1240/1240), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/controller/lib_esp32c2/esp32c2-bt-lib'...
remote: Enumerating objects: 166, done.
remote: Counting objects: 100% (166/166), done.
remote: Compressing objects: 100% (112/112), done.
remote: Total 166 (delta 100), reused 118 (delta 52), pack-reused 0 (from 0)
Receiving objects: 100% (166/166), 4.90 MiB | 4.17 MiB/s, done.
Resolving deltas: 100% (100/100), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/controller/lib_esp32c3_family'...
remote: Enumerating objects: 621, done.
remote: Counting objects: 100% (88/88), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 621 (delta 42), reused 72 (delta 26), pack-reused 533 (from 1)
Receiving objects: 100% (621/621), 3.79 MiB | 4.87 MiB/s, done.
Resolving deltas: 100% (305/305), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/controller/lib_esp32c5/esp32c5-bt-lib'...
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 42 (delta 15), reused 35 (delta 8), pack-reused 0 (from 0)
Receiving objects: 100% (42/42), 2.91 MiB | 5.09 MiB/s, done.
Resolving deltas: 100% (15/15), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/controller/lib_esp32c6/esp32c6-bt-lib'...
remote: Enumerating objects: 207, done.
remote: Counting objects: 100% (207/207), done.
remote: Compressing objects: 100% (135/135), done.
remote: Total 207 (delta 106), reused 167 (delta 66), pack-reused 0 (from 0)
Receiving objects: 100% (207/207), 11.65 MiB | 7.91 MiB/s, done.
Resolving deltas: 100% (106/106), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/controller/lib_esp32h2/esp32h2-bt-lib'...
remote: Enumerating objects: 165, done.
remote: Counting objects: 100% (165/165), done.
remote: Compressing objects: 100% (109/109), done.
remote: Total 165 (delta 93), reused 121 (delta 49), pack-reused 0 (from 0)
Receiving objects: 100% (165/165), 10.98 MiB | 6.70 MiB/s, done.
Resolving deltas: 100% (93/93), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/esp_ble_mesh/lib/lib'...
remote: Enumerating objects: 139, done.
remote: Counting objects: 100% (139/139), done.
remote: Compressing objects: 100% (79/79), done.
remote: Total 139 (delta 37), reused 126 (delta 24), pack-reused 0 (from 0)
Receiving objects: 100% (139/139), 7.80 MiB | 13.29 MiB/s, done.
Resolving deltas: 100% (37/37), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/bt/host/nimble/nimble'...
remote: Enumerating objects: 60447, done.
remote: Total 60447 (delta 0), reused 0 (delta 0), pack-reused 60447 (from 1)
Receiving objects: 100% (60447/60447), 18.66 MiB | 18.34 MiB/s, done.
Resolving deltas: 100% (38597/38597), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/cmock/CMock'...
remote: Enumerating objects: 6176, done.
remote: Counting objects: 100% (565/565), done.
remote: Compressing objects: 100% (269/269), done.
remote: Total 6176 (delta 322), reused 467 (delta 260), pack-reused 5611 (from 1)
Receiving objects: 100% (6176/6176), 3.74 MiB | 17.33 MiB/s, done.
Resolving deltas: 100% (4151/4151), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/esp_coex/lib'...
remote: Enumerating objects: 583, done.
remote: Counting objects: 100% (583/583), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 583 (delta 254), reused 571 (delta 242), pack-reused 0 (from 0)
Receiving objects: 100% (583/583), 1.07 MiB | 1.88 MiB/s, done.
Resolving deltas: 100% (254/254), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/esp_phy/lib'...
remote: Enumerating objects: 861, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 861 (delta 43), reused 50 (delta 18), pack-reused 774 (from 1)
Receiving objects: 100% (861/861), 8.04 MiB | 16.15 MiB/s, done.
Resolving deltas: 100% (501/501), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/esp_wifi/lib'...
remote: Enumerating objects: 52077, done.
remote: Counting objects: 100% (12695/12695), done.
remote: Compressing objects: 100% (2179/2179), done.
remote: Total 52077 (delta 10636), reused 12572 (delta 10516), pack-reused 39382 (from 1)
Receiving objects: 100% (52077/52077), 1010.30 MiB | 20.01 MiB/s, done.
Resolving deltas: 100% (43110/43110), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/heap/tlsf'...
remote: Enumerating objects: 187, done.
remote: Counting objects: 100% (144/144), done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 187 (delta 83), reused 133 (delta 75), pack-reused 43 (from 1)
Receiving objects: 100% (187/187), 68.45 KiB | 1.40 MiB/s, done.
Resolving deltas: 100% (95/95), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/json/cJSON'...
remote: Enumerating objects: 4682, done.
remote: Counting objects: 100% (135/135), done.
remote: Compressing objects: 100% (99/99), done.
remote: Total 4682 (delta 73), reused 66 (delta 35), pack-reused 4547 (from 1)
Receiving objects: 100% (4682/4682), 2.55 MiB | 2.84 MiB/s, done.
Resolving deltas: 100% (3101/3101), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/lwip/lwip'...
remote: Enumerating objects: 57141, done.
remote: Counting objects: 100% (7172/7172), done.
remote: Compressing objects: 100% (2029/2029), done.
remote: Total 57141 (delta 5244), reused 6821 (delta 5035), pack-reused 49969 (from 1)
Receiving objects: 100% (57141/57141), 12.03 MiB | 17.38 MiB/s, done.
Resolving deltas: 100% (42988/42988), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/mbedtls/mbedtls'...
remote: Enumerating objects: 227786, done.
remote: Total 227786 (delta 0), reused 0 (delta 0), pack-reused 227786 (from 1)
Receiving objects: 100% (227786/227786), 109.61 MiB | 16.72 MiB/s, done.
Resolving deltas: 100% (177495/177495), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/mqtt/esp-mqtt'...
remote: Enumerating objects: 3971, done.
remote: Counting objects: 100% (1101/1101), done.
remote: Compressing objects: 100% (360/360), done.
remote: Total 3971 (delta 795), reused 889 (delta 733), pack-reused 2870 (from 1)
Receiving objects: 100% (3971/3971), 1.83 MiB | 2.24 MiB/s, done.
Resolving deltas: 100% (2158/2158), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/openthread/lib'...
remote: Enumerating objects: 794, done.
remote: Counting objects: 100% (76/76), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 794 (delta 26), reused 68 (delta 21), pack-reused 718 (from 1)
Receiving objects: 100% (794/794), 6.61 MiB | 5.31 MiB/s, done.
Resolving deltas: 100% (365/365), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/openthread/openthread'...
remote: Enumerating objects: 116085, done.
remote: Counting objects: 100% (402/402), done.
remote: Compressing objects: 100% (255/255), done.
remote: Total 116085 (delta 210), reused 272 (delta 146), pack-reused 115683 (from 1)
Receiving objects: 100% (116085/116085), 113.78 MiB | 20.06 MiB/s, done.
Resolving deltas: 100% (91626/91626), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/protobuf-c/protobuf-c'...
remote: Enumerating objects: 4010, done.
remote: Counting objects: 100% (959/959), done.
remote: Compressing objects: 100% (195/195), done.
remote: Total 4010 (delta 840), reused 784 (delta 754), pack-reused 3051 (from 1)
Receiving objects: 100% (4010/4010), 1.42 MiB | 5.58 MiB/s, done.
Resolving deltas: 100% (2631/2631), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/spiffs/spiffs'...
remote: Enumerating objects: 1553, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 1553 (delta 34), reused 48 (delta 24), pack-reused 1483 (from 1)
Receiving objects: 100% (1553/1553), 1.08 MiB | 4.86 MiB/s, done.
Resolving deltas: 100% (1069/1069), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/unity/unity'...
remote: Enumerating objects: 6953, done.
remote: Counting objects: 100% (1176/1176), done.
remote: Compressing objects: 100% (527/527), done.
remote: Total 6953 (delta 721), reused 989 (delta 633), pack-reused 5777 (from 1)
Receiving objects: 100% (6953/6953), 6.92 MiB | 18.66 MiB/s, done.
Resolving deltas: 100% (4305/4305), done.
Submodule path 'esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out '24c60e243580c7868f4334a1ba3123481fe1aa48'
Submodule path 'esp-idf/components/bt/controller/lib_esp32': checked out '3bb36a79cdfad65c656b9238e0d46b935775ed72'
Submodule path 'esp-idf/components/bt/controller/lib_esp32c2/esp32c2-bt-lib': checked out 'db84a7e4539c5d9e6b8ec882b82a5de0fb8400c7'
Submodule path 'esp-idf/components/bt/controller/lib_esp32c3_family': checked out 'bfdfe8f851c99ced8316b133b0b15521917ea049'
Submodule path 'esp-idf/components/bt/controller/lib_esp32c5/esp32c5-bt-lib': checked out '77c67a4d06c95113a2d1766892cde59f5af744af'
Submodule path 'esp-idf/components/bt/controller/lib_esp32c6/esp32c6-bt-lib': checked out '3396205d48647372568ba67e41c4e08917ef1038'
Submodule path 'esp-idf/components/bt/controller/lib_esp32h2/esp32h2-bt-lib': checked out '85174c19ced288f48254b01957609b8423c757bf'
Submodule path 'esp-idf/components/bt/esp_ble_mesh/lib/lib': checked out '4934ca903807dd74f7f808dadcd9a478e18fc6c3'
Submodule path 'esp-idf/components/bt/host/nimble/nimble': checked out '2cf7edde63866f5663bbcdfb8776cf29c0809456'
Submodule path 'esp-idf/components/cmock/CMock': checked out 'eeecc49ce8af123cf8ad40efdb9673e37b56230f'
Submodule 'vendor/c_exception' (https://github.com/throwtheswitch/cexception.git) registered for path 'esp-idf/components/cmock/CMock/vendor/c_exception'
Submodule 'vendor/unity' (https://github.com/throwtheswitch/unity.git) registered for path 'esp-idf/components/cmock/CMock/vendor/unity'
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/cmock/CMock/vendor/c_exception'...
remote: Enumerating objects: 380, done.
remote: Counting objects: 100% (54/54), done.
remote: Compressing objects: 100% (39/39), done.
remote: Total 380 (delta 22), reused 41 (delta 14), pack-reused 326 (from 1)
Receiving objects: 100% (380/380), 579.13 KiB | 4.39 MiB/s, done.
Resolving deltas: 100% (175/175), done.
Cloning into '/home/smartbuild/esp-adf/esp-idf/components/cmock/CMock/vendor/unity'...
remote: Enumerating objects: 6953, done.
remote: Counting objects: 100% (1176/1176), done.
remote: Compressing objects: 100% (527/527), done.
remote: Total 6953 (delta 721), reused 989 (delta 633), pack-reused 5777 (from 1)
Receiving objects: 100% (6953/6953), 6.92 MiB | 10.52 MiB/s, done.
Resolving deltas: 100% (4305/4305), done.
Submodule path 'esp-idf/components/cmock/CMock/vendor/c_exception': checked out '71b47be7c950f1bf5f7e5303779fa99a16224bb6'
Submodule path 'esp-idf/components/cmock/CMock/vendor/unity': checked out 'cf949f45ca6d172a177b00da21310607b97bc7a7'
Submodule path 'esp-idf/components/esp_coex/lib': checked out 'd99dfd1883a1468b8986362a1382a4f46e918b60'
Submodule path 'esp-idf/components/esp_phy/lib': checked out '06e7625de197bc12797dd701d6762229bca01826'
Submodule path 'esp-idf/components/esp_wifi/lib': checked out 'd1df171e4c9756dac17aa586201c7f94b99dc8aa'
Submodule path 'esp-idf/components/heap/tlsf': checked out '8fc595fe223cd0b3b5d7b29eb86825e4bd38e6e8'
Submodule path 'esp-idf/components/json/cJSON': checked out 'acc76239bee01d8e9c858ae2cab296704e52d916'
Submodule path 'esp-idf/components/lwip/lwip': checked out 'f79221431fa9042b3572d271d687de66da7560c4'
Submodule path 'esp-idf/components/mbedtls/mbedtls': checked out '72aa687352a469044cbb946f3fdb261430e41ce1'
Submodule path 'esp-idf/components/mqtt/esp-mqtt': checked out 'aa6f889fb4f6f743b3a550aa587713aabbdca1fc'
Submodule path 'esp-idf/components/openthread/lib': checked out '203c78501e9a6ea9ca3a929e6f9b6b9691ef16ee'
Submodule path 'esp-idf/components/openthread/openthread': checked out 'f32c18bc0840f400182456e58ae3900fc2fb4af7'
Submodule path 'esp-idf/components/protobuf-c/protobuf-c': checked out 'abc67a11c6db271bedbb9f58be85d6f4e2ea8389'
Submodule path 'esp-idf/components/spiffs/spiffs': checked out '0dbb3f71c5f6fae3747a9d935372773762baf852'
Submodule path 'esp-idf/components/unity/unity': checked out 'bf560290f6020737eafaa8b5cbd2177c3956c03f'
Screenshot from 2024-11-27 10-57-31

@ManikandanVaradharaj
Copy link
Author

@TempoTian hai,could I get the solution of how to workout rtsp in esp32p4.

@TempoTian
Copy link
Contributor

Which board are you using? If I have the board on hand, maybe can write a example for you.

@ManikandanVaradharaj
Copy link
Author

ManikandanVaradharaj commented Nov 27, 2024

esp32_p4_function_ev_board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants