例程时,发现不断出错,似乎是esp-idf的版本过旧了,请及时维护这个项目或提供解决方案esp-adf\examples\recorder\pipeline_raw_http
Code: Select all
In file included from C:/Users/48043/esp/esp-adf/components/audio_board/esp32_s3_korvo2_v3/board.h:28,
from C:/Users/48043/esp/esp-adf/components/display_service/led_bar/led_bar_ws2812.c:27:
C:/Users/48043/esp/esp-adf/components/audio_hal/include/audio_hal.h:149:5: error: unknown type name 'xSemaphoreHandle'
149 | xSemaphoreHandle audio_hal_lock; /*!< semaphore of codec */
| ^~~~~~~~~~~~~~~~
In file included from C:/Users/48043/esp/esp-adf/components/audio_board/esp32_s3_korvo2_v3/board.h:31,
from C:/Users/48043/esp/esp-adf/components/display_service/led_bar/led_bar_ws2812.c:27:
C:/Users/48043/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:78:32: error: unknown type name 'xTimerHandle'; did you mean 'TimerHandle_t'?
78 | typedef void (*timer_callback)(xTimerHandle tmr);
| ^~~~~~~~~~~~
| TimerHandle_t
In file included from C:/Users/48043/esp/esp-adf/components/audio_board/esp32_s3_korvo2_v3/board.h:31,
from C:/Users/48043/esp/esp-adf/components/display_service/led_bar/led_bar_ws2812.c:27:
C:/Users/48043/esp/esp-adf/components/esp_peripherals/include/esp_peripherals.h:347:88: error: unknown type name 'timer_callback'
347 | esp_err_t esp_periph_start_timer(esp_periph_handle_t periph, TickType_t interval_tick, timer_callback callback);
| ^~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.