Skip to content

usb_stream 1.5.1 build fail with IDF 5.5.1 (AEGHB-1329) #620

@SeByDocKy

Description

@SeByDocKy

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

5.5.1

Espressif SoC revision.

ESP32 S3

Operating System used.

Windows

How did you build your project?

Command line with Make

If you are using Windows, please specify command line type.

None

Development Kit.

esp32-s3-devkitc-1

Steps to reproduce.

Building esphome example : https://github.com/anton-malakhov/esphome_webcam built over 5.5.1
...

Build Logs.

*** [.pioenvs\esp-webcam\managed_components\usb_stream\usb_host_helpers.c.o] Error 1
managed_components\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 C:\Users\sebyd\.platformio\packages\framework-espidf\components\esp_hw_support\include/esp_intr_alloc.h:12,
                 from C:\Users\sebyd\.platformio\packages\framework-espidf\components\esp_hw_support\include/esp_cpu.h:21,
                 from C:\Users\sebyd\.platformio\packages\framework-espidf\components\esp_hw_support\include/spinlock.h:11,
                 from C:\Users\sebyd\.platformio\packages\framework-espidf\components\freertos\FreeRTOS-Kernel\portable\xtensa\include\freertos/portmacro.h:49,
                 from C:\Users\sebyd\.platformio\packages\framework-espidf\components\freertos\FreeRTOS-Kernel\include/freertos/portable.h:57,
                 from C:\Users\sebyd\.platformio\packages\framework-espidf\components\freertos\FreeRTOS-Kernel\include/freertos/FreeRTOS.h:69,
                 from managed_components\usb_stream\usb_stream.c:14:
managed_components\usb_stream\usb_stream.c: In function '_usb_processing_task':
managed_components\usb_stream\usb_stream.c:3355:29: error: implicit declaration of function 'hcd_port_set_fifo_bias' [-Wimplicit-function-declaration]
 3355 |             ESP_ERROR_CHECK(hcd_port_set_fifo_bias(usb_dev->port_hdl, usb_dev->fifo_bias));
      |                             ^~~~~~~~~~~~~~~~~~~~~~
C:\Users\sebyd\.platformio\packages\framework-espidf\components\esp_common\include/esp_err.h:116:30: note: in definition of macro 'ESP_ERROR_CHECK'
  116 |         esp_err_t err_rc_ = (x);                                        \
      |                              ^
managed_components\usb_stream\usb_stream.c: In function 'usb_streaming_start':
managed_components\usb_stream\usb_stream.c:3707:27: error: 'HCD_PORT_FIFO_BIAS_BALANCED' undeclared (first use in this function)
 3707 |     s_usb_dev.fifo_bias = HCD_PORT_FIFO_BIAS_BALANCED;
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
managed_components\usb_stream\usb_stream.c:3707:27: note: each undeclared identifier is reported only once for each function it appears in
managed_components\usb_stream\usb_stream.c:3761:31: error: 'HCD_PORT_FIFO_BIAS_RX' undeclared (first use in this function)
 3761 |         s_usb_dev.fifo_bias = HCD_PORT_FIFO_BIAS_RX;

More Information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions