Kind of off topic, but is it possible to simulate peripherals with QEMU?
For example: suppose that I'm emulating some microcontroller running my firmware. On the actual board, this firmware will interact with a sensor. Is it doable to create a virtual hardware device simulating the sensor and connect its pins to my microcontroller?
For example: suppose that I'm emulating some microcontroller running my firmware. On the actual board, this firmware will interact with a sensor. Is it doable to create a virtual hardware device simulating the sensor and connect its pins to my microcontroller?