This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Warnings device family pack 8.29.0

I update my software on the nrf52840 to the SDK16 and softdevice 7.

to get this software running i update the device family pack to version 8.29.0. (keil)

If i build the project it generates warnings on the device family pack.

compiling system_nrf52840.c...
\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.29.0\Device\Include\nrf52840_erratas.h(276): warning: #111-D: statement is unreachable
break;
.

.

.
\AppData\Local\Arm\Packs\NordicSemiconductor\nRF_DeviceFamilyPack\8.29.0\Device\Include\nrf52840_erratas.h(3225): warning: #111-D: statement is unreachable
break;
RTE\Device\nRF52840_xxAA\system_nrf52840.c: 92 warnings, 0 errors

all these warnings point to the nrf52840_erratas.h.

all errata's are contain a switch case, at the end of this case there is an "break" after a return. so this break is unreachable. 

how can I disable these warning messages?

Parents Reply Children
No Data
Related