File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 66
77- Fixed the register configuration for es8311 when playing 8kHz audio without using MCLK.
88
9+ ## v1.5.0
10+
11+ ### Refactor:
12+
13+ - Clean up the component dependency, no longer depend on the ` driver ` component
14+
915## v1.4.0
1016
1117### Bug Fixed
Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ set(COMPONENT_SRCS
1111 audio_codec_sw_vol.c
1212)
1313
14+ set (priv_requires freertos)
15+ if ("${IDF_VERSION_MAJOR} .${IDF_VERSION_MINOR} " VERSION_GREATER_EQUAL "5.3" )
16+ list (APPEND priv_requires esp_driver_gpio esp_driver_i2c esp_driver_i2s esp_driver_spi)
17+ else ()
18+ list (APPEND priv_requires driver)
19+ endif ()
20+
1421list (APPEND COMPONENT_SRCS
1522 platform/audio_codec_gpio.c
1623 platform/audio_codec_ctrl_i2c.c
@@ -77,8 +84,7 @@ endif()
7784idf_component_register(SRCS "${COMPONENT_SRCS} "
7885 INCLUDE_DIRS "${COMPONENT_ADD_INCLUDEDIRS} "
7986 PRIV_INCLUDE_DIRS "${COMPONENT_PRIV_INCLUDEDIRS} "
80- REQUIRES driver
81- PRIV_REQUIRES freertos)
87+ PRIV_REQUIRES ${priv_requires} )
8288# Library only support xtensa
8389if (CONFIG_CODEC_ZL38063_SUPPORT)
8490 if (NOT ((CONFIG_IDF_TARGET STREQUAL "esp32c6" ) OR (CONFIG_IDF_TARGET STREQUAL "esp32c3" ) OR (CONFIG_IDF_TARGET STREQUAL "esp32p4" )))
Original file line number Diff line number Diff line change 1- version : 1.4 .0
1+ version : 1.5 .0
22description : Audio codec device support for Espressif SOC
33url : https://github.com/espressif/esp-adf/tree/master/components/esp_codec_dev
44
You can’t perform that action at this time.
0 commit comments