IRNAS / irnas-t5838-driver

Zephyr compatible driver for TDK's MEMS microphone T5838

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better handling of kconfig options when original driver is not disabled

KajbaM opened this issue · comments

Context

For this driver to operate correctly we need to disable CONFIG_AUDIO_DMIC_NRFX_PDM kconfig option. Not doing so results in a failed build, but output of build process is not clear enough for user to immediately know what the issue is.

Required steps / Implementation details

  • Modify kconfig files in a way we get explicitly warned in case of incorrect configuration.
  • Make sure there are no other problematic cases with configuration we should also address in similar fashion.

Definition of Done

  • Handling of kconfig options is handled in a fashion that gives user explicit description of problem in case of wrong config.
  • Verify potential similar problems and kconfig compatibility.
  • Code is verified, reviewed and merged.