Files
furyhawk fbacf0d49e Add customized codec implementation and test cases
- Introduced my_codec.h and my_codec.c for a new codec interface with control, data, and volume functionalities.
- Implemented test_app_main.c to set up Unity test framework for memory leak checks.
- Created test_board.h and test_board.c to define board-specific configurations and I2C/I2S initialization functions.
- Developed test_my_codec.c to validate the functionality of the new codec interface, including volume control, mute settings, and data read/write operations.
- Ensured compatibility with ESP-IDF versioning for I2C and I2S drivers.
2026-05-25 19:38:02 +08:00

86 lines
2.4 KiB
Plaintext

menu "Audio Codec Device Configuration"
config ESP_IDF_VERSION
string
option env="ESP_IDF_VERSION"
config CODEC_I2C_BACKWARD_COMPATIBLE
bool "Enable backward compatibility for the I2C driver (force use of the old i2c_driver above v5.3)"
default n
depends on ESP_IDF_VERSION >= 5.3
help
Enable this option for backward compatibility with the old I2C driver
config CODEC_ES8311_SUPPORT
bool "Support ES8311 Codec Chip"
default y
help
Enable this option to support codec ES8311.
config CODEC_ES7210_SUPPORT
bool "Support ES7210 Codec Chip"
default y
help
Enable this option to support codec ES7210.
config CODEC_ES7243_SUPPORT
bool "Support ES7243 Codec Chip"
default y
help
Enable this option to support codec ES7243.
config CODEC_ES7243E_SUPPORT
bool "Support ES7243E Codec Chip"
default y
help
Enable this option to support codec ES7243E.
config CODEC_ES8156_SUPPORT
bool "Support ES8156 Codec Chip"
default y
help
Enable this option to support codec ES8156.
config CODEC_AW88298_SUPPORT
bool "Support AW88298 Codec Chip"
default y
help
Enable this option to support codec AW88298.
config CODEC_ES8389_SUPPORT
bool "Support ES8389 Codec Chip"
default y
help
Enable this option to support codec ES8389.
config CODEC_ES8374_SUPPORT
bool "Support ES8374 Codec Chip"
default y
help
Enable this option to support codec ES8374.
config CODEC_ES8388_SUPPORT
bool "Support ES8388 Codec Chip"
default y
help
Enable this option to support codec ES8388.
config CODEC_TAS5805M_SUPPORT
bool "Support TAS5805M Codec Chip"
default y
help
Enable this option to support codec TAS5805M.
config CODEC_ZL38063_SUPPORT
bool "Support ZL38063 Codec Chip"
default n
help
Enable this option to support codec ZL38063.
ZL38063 firmware only support xtensa, don't enable for RISC-V IC.
config CODEC_CJC8910_SUPPORT
bool "Support CJC8910 Codec Chip"
default n
help
Enable this option to support codec CJC8910.
endmenu