Page 1 of 1

Unable to Build ESP-ADF VoIP Example on ESP-IDF v6.0, 5.4.1, and 5.3.3

Posted: Fri Jun 13, 2025 6:24 am
by Ajaysinh
I am currently working on a time-sensitive project using the ESP32-S3-Korvo-2 board, and I am trying to build the ESP-ADF VoIP example. However, I have encountered consistent build issues across multiple versions of ESP-IDF, including:

ESP-IDF v6.0

ESP-IDF v5.4.1

ESP-IDF v5.3.3

Despite following the official documentation and ensuring compatibility between ESP-IDF and ESP-ADF (including release v2.7), I am unable to successfully build the VoIP example. I have tried multiple environments and setups, but the build always fails with various errors.

This issue is blocking progress on my project, and I would greatly appreciate your support in one or more of the following ways:

Guidance on the correct ESP-IDF and ESP-ADF version combination for the VoIP example (particularly for ESP32-S3-Korvo-2).

Any patches, updated examples, or fixes to make the VoIP demo buildable.

Suggestions on alternative working examples for VoIP functionality using the ADF or ESP-IDF.

Clarification if the VoIP functionality is currently broken or deprecated in the latest releases.

I am happy to provide build logs, configuration details, or any other information required to help debug this issue.

This is quite urgent as we are approaching a project deadline. Your assistance will be immensely appreciated.

Best regards,
Ajaysinh.

Log :
v 6 :

/home/pcs/PCS_data/voip/managed_components/espressif__usb_stream/usb_stream.c:515:5: error: unknown type name 'hcd_port_fifo_bias_t'; did you mean 'hcd_port_config_t'?
515 | hcd_port_fifo_bias_t fifo_bias;
| ^~~~~~~~~~~~~~~~~~~~
| hcd_port_config_t
In file included from /home/pcs/esp/esp-idf/components/esp_hw_support/include/esp_intr_alloc.h:12,
from /home/pcs/esp/esp-idf/components/esp_hw_support/include/esp_cpu.h:21,
from /home/pcs/esp/esp-idf/components/esp_hw_support/include/spinlock.h:11,
from /home/pcs/esp/esp-idf/components/freertos/FreeRTOS-Kernel/portable/xtensa/include/freertos/portmacro.h:49,
from /home/pcs/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos/portable.h:57,
from /home/pcs/esp/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:69,
from /home/pcs/PCS_data/voip/managed_components/espressif__usb_stream/usb_stream.c:14:
/home/pcs/PCS_data/voip/managed_components/espressif__usb_stream/usb_stream.c: In function '_usb_processing_task':
/home/pcs/PCS_data/voip/managed_components/espressif__usb_stream/usb_stream.c:3345:29: error: implicit declaration of function 'hcd_port_set_fifo_bias' [-Wimplicit-function-declaration]
3345 | ESP_ERROR_CHECK(hcd_port_set_fifo_bias(usb_dev->port_hdl, usb_dev->fifo_bias));

| ^~~~~~~~~~~~~~~

v5.4.1 :

E (1034) MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v3.3_freertos.patch" first

E (1052) AUDIO_THREAD: Error creating RestrictedPinnedToCore button_task
I (1058) AUDIO_THREAD: The esp_periph task allocate stack on internal memory
I (1065) VoIP_EXAMPLE: [1.2] Create and start input key service
I (1071) AUDIO_THREAD: The input_key_service task allocate stack on external memory
E (1078) MEDIA_OS: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v3.3_freertos.patch" first

v 5.3.3 : >>> i2c conflict / old driver