Hi, everyone.
We are developing BLE project on the chip nrf52832 with SDK 15.0.0 software. In this project we are using ppi feature. During the work the program must enable and disable ppi-channels all the time. Every time when it does it - to the terminal are sent the messages as "Function: nrfx_ppi_channel_enable, error code: NRF_SUCCESS." or "Function: nrfx_ppi_channel_assign, error code: NRF_SUCCESS.". During searching the proble, in comparing with the previous version we saw that in the file "nfx_ppi.c" don't exist the next lines:
#if NRFX_PPI_CONFIG_LOG_ENABLED
#define NRF_LOG_LEVEL NRFX_PPI_CONFIG_LOG_LEVEL
#define NRF_LOG_INFO_COLOR NRFX_PPI_CONFIG_INFO_COLOR
#define NRF_LOG_DEBUG_COLOR NRFX_PPI_CONFIG_DEBUG_COLOR
#else //PPI_CONFIG_LOG_ENABLED
#define NRF_LOG_LEVEL 0
#endif //PPI_CONFIG_LOG_ENABLED
while in the file "skd_config.h" the defined options for it:
NRFX_PPI_CONFIG_LOG_LEVEL
NRFX_PPI_CONFIG_INFO_COLOR
NRFX_PPI_CONFIG_DEBUG_COLOR
aren't used anywere.
This file "nfx_ppi.c" uses the heather file <nrfx_log.h> where exist another lines:
#if NRFX_CHECK(NRFX_CONFIG_ENTRY(_CONFIG_LOG_ENABLED))
#define NRF_LOG_LEVEL NRFX_CONFIG_ENTRY(_CONFIG_LOG_LEVEL)
#define NRF_LOG_INFO_COLOR NRFX_CONFIG_ENTRY(_CONFIG_INFO_COLOR)
#define NRF_LOG_DEBUG_COLOR NRFX_CONFIG_ENTRY(_CONFIG_DEBUG_COLOR)
#else
#define NRF_LOG_LEVEL 0
#endif
#endif // defined(NRFX_LOG_MODULE)
but these lines don't have any effect on the "NRFX_LOG_INFO()" macro in "nfx_ppi.c".
Are the prefiousely-mentioned-missing-lines in file "nfx_ppi.c" are missing mistakly or there exist another option to neutralize unneeded log messages?
Any other option to neutralize unneeded message then adding these lines I couldn't find.
Thank you very much for paying the attention.
Best Regards
Boris Fridman