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:
parent
764466a6da
commit
76bb1d7453
2 changed files with 149 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue