modules: hal_nordic: Add nrfx specific drivers logging Kconfig

This commit introduces Kconfig symbols for enabling logging
for each nrfx drivers in Zephyr.

Example Usage:
To enable logging for the NRFX ADC driver, add the following
line to the project's configuration file (prj.conf):
CONFIG_NRFX_ADC_LOG=y

The purpose of this change is to enable selective logging
in Zephyr for specific nrfx drivers.

Signed-off-by: Natalia Pluta <natalia.pluta@nordicsemi.no>
This commit is contained in:
Natalia Pluta 2023-07-31 16:31:57 +02:00 committed by Fabio Baltieri
commit 76bb1d7453
2 changed files with 149 additions and 0 deletions

View file

@ -7,6 +7,8 @@ config HAS_NRFX
menu "nrfx drivers"
depends on HAS_NRFX
rsource "Kconfig.logging"
config NRFX_ADC
bool "ADC driver"
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF_ADC))