I am trying to use gpio36 as both input pin and a boot source for wakeup from ulpm.
I constantly monitor the state of the gpio pin and when I change the state of the pin (via a push button), in the event handler I set the gpio as a boot source and then call ulpm_shutdown().
Even though it doesn’t give me any error calling the le_ulpm_shutdown() function, it also didn’t go to ultra-low power mode. I am expecting some message to appear in the serial console regarding that. Is there any other way to check it?