Currently I'm using nRF52840 and in my application I've defined two GPIOs as an interrupt. one among them is designed such that it changes to output pin, gives a pulse then again after few seconds changes back to an interrupt pin. It was working fine but now when I added one another different GPIO as a button using BSP (app_button.c), I started getting error when the pin in previous case which was changing configuration at run time is changing back to interrupt. But when I comment the button initialization the device works fine.