Press button for program execution on AGX Xavier developer kit

Dear All,

By modifying the kernel device-tree, or using an Arduino, or Raspberry Pi would it be possible to execute a program on the AGX Xavier by simply pressing a button (a .sh executable on the Xavier)?

So a programmable Arduino, or RP button that executes a program on the AGX Xavier when pressed and terminates the program when pressed again (or something similar). Or reprogramming one of the buttons on the Xavier development kit (if that is possble).


You can have a process polling the bottom(GPIO) status to run your APP.