Trying to get the touchscreen on my board registered and tested. It *seems* to register, and at one random point the touchscreen example app did report something that looked useful but I now cannot make any sense of it.
The ADC itself is registered and the ADC example app works fine, but when I try and open the TS device (/dev/input0) it hangs in inode_semtake when the call to nxsem_wait_uninterruptible is called. The only clue I have is that g_inode_sem.holder is set to -1, which intuitively seems wrong to me, but this is way beyond me at this time of my NuttX journey! Otherwise I'm suspecting a problem/mismatch with structs perhaps from the need to cast (think that's what it's called?) the adc_dev_s struct ret = sam_tsd_register( (struct sam_adc_s *) adc, 0) Any suggestions very welcome, as always :)