Add DMIC API test, intended to verify DMIC drivers are functioning correctly within the DMIC API. The test verifies the following: - Mono channel audio - Stereo channel audio - Using maximum number of channels supported by DMIC IP - Pausing/restarting channels - Checks to make sure invalid channel maps are rejected by the DMIC. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
10 lines
194 B
Plaintext
10 lines
194 B
Plaintext
CONFIG_TEST=y
|
|
CONFIG_ZTEST=y
|
|
CONFIG_AUDIO=y
|
|
CONFIG_AUDIO_DMIC=y
|
|
|
|
# Use deferred logging mode so the TC_PRINT calls while reading from DMIC
|
|
# do not block
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_MODE_DEFERRED=y
|