I’m writing a bus driver that’s based on GPIO bit-banging. To test this thing I need to connect up two or three boards and talk to all of them. This works, but tends to wear out their Flash memory.
So I’m investigating how to run most tests natively. Has anybody already done this? Simulating GPIO pin states by way of data from/to a Unix socket seems obvious enough that there might be some code for it out there somewhere …?