This example (demo application for accessing gpios on the CME9210) will be included in the next version of Digi Embedded Linux (5.0).
We plan also to include the demo application in a future package delivered through the Package Manager.
In any case, the gpio test application and gpio demo driver can be used with the CME9210 just changing the gpios used.
Find attached the 2 files you should modify. One is the test application adapted for the CME9210 (please, be sure you pass the option CONFIG_DEL_CME9210JS when building) and the second one is the file that creates the necesary device nodes for the gpios.
The gpios connected to the buttons on the ConnectME base board are not interrupt capable, therefore the application uses polling to read the inputs.
But the driver and the application contain valid code to read an input as interrupt if you select a gpio that has such capability.