Open IoT Gateway P01 variant contains tactile switch. PCB has designed hardware pull-up so debouncing effect is eliminated.

If the switch is soldered to the PCB, make sure there is also resistor R52 located on the bottom layer.

Redisage provides package with demo firmwares.

Switch Example description: https://docs.redisage.com/dpr/switch-1