I treid to use GPIO4 as an interrupt input. Just configuring it as an input, and connecting a switch and a pull-up resistor (100k) increased the power consumption from around 25uA to around 25mA.
I’m using GPIO1 now instead, and everthing seems fine, but I’d like to know why I had the problem with GPIO4, as I wasted a lot of time.
Are there any other GPIO pins to avoid?