I am currently trying to use the accelerometer to wake the board from ULPM.
I used the example code from the ShakeNWake demo and adapted the GPIO number to match the one used on mangOH Yellow (GPIO21).
However GPIO21 is not listed in the available boot sources of the board:
# ls /sys/module/swimcu_pm/boot_source/ adc clear enable gpio36 gpio38 timer
Yet GPIO21 is labeled as “Wakeable” in the mangOH Yellow Schematic.
Is it normal ? Can I add this GPIO as a boot source myself ?
Thank you for your time, have a good day !