Hello
NRF52840. SDK5 17.0.2
the function sd_nvic_SystemReset is define like this:
__STATIC_INLINE uint32_t sd_nvic_SystemReset(void)
{
NVIC_SystemReset();
return NRF_ERROR_SOC_NVIC_SHOULD_NOT_RETURN;
}
but NVIC_SystemReset is declared as NO_RETURN which cause dozens of "statement is unreachable" warnings because this file is included many times.
Is there a way to get rid of this warning for this particular occurence?
what's the good reason for this?
Thanks
Julien