Hi!
Compiler errors are popping up when working on nrf_drv_rtc.c while log is enabled for this nRF module.
I see that the problem is any log statement that contains EVT_TO_STR().
First, the print format specifier has "%s", but the result of this macro is being casted to uint32_t.
An example from row 309 in nrf_drv_rtc.c:
NRF_LOG_DEBUG("Event: %s, instance id: %d.", (uint32_t)EVT_TO_STR(event), (uint32_t)instance_id);
When removing the cast, still the following persists:
Therefore I have no medicine for this macro ternary soup.
SDK version is 14.1 but I see that in version 14.2 this has not changed.
Cheers!