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

Wrong priority check

Looks like there is an error in the nrf_drv_gpiote_common.h:

#define INTERRUPT_PRIORITY_VALIDATION(pri) STATIC_ASSERT(((pri > 2) && (pri < 4)) || ((pri > 5) && (pri < 8)))

It should be pri >= 2 instead of pri > 2.

Related