Unfortunately we can't turn it off just while nrf_soc.h is being included as the way the defines are used the compiler can't tell the parameters are unused until the end of the compilation unit. So we can't use the more normal as that pops the supression too early. WARNING: including nrf_soc.h will turn off unused-function warnings for the rest of the compilation unit - see included nrf_svc.hmaster
parent
1a1a5976a8
commit
9591ef40dc
Loading…
Reference in new issue