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
.
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
.