I'm trying to compile an application that uses app_error.h, but IAR is throwing an error each time app_error.h is included, saying that the use of the NRF_LOG macro on lines 99 and 109 in app_error.h is problematic.
Line 99: NRF_LOG(NRF_LOG_COLOR_RED "\n*** ASSERTION FAILED ***\n");
Line 109: NRF_LOG(NRF_LOG_COLOR_RED "\n*** APPLICATION ERROR *** \n" NRF_LOG_COLOR_WHITE);
I do not have Treat Warnings as Errors enabled, but I would like to avoid needing to modify the include files. Has anyone encountered this before and what was your solution?