Robert Lipe and I are working on Pine64's PineDio Stack BL604 RISC-V board and adding NuttX support for the Push Button. In this article, Robert explains the interesting things that we've learnt...
https://www.robertlipe.com/buttons-on-bl602-nuttx/ Lup