- When using NRF_LOG_INFO to print an array, the compilation fails if there are more than 8 elements. How can this be resolved?




Hello,
The macro supports up to 7 arguments according to the documentation here: https://docs.nordicsemi.com/bundle/nrf5_SDK_v17.1.1/page/group_nrf_log.html#gaaea89bb5c09b6033729e059826711bb0. To work around this you could use sprintf() to prepare the message string, then pass the string to NRF_LOG_INF()
Best regards,
Vidar
Thank you for your reply