Hello, The following series of the patches add a basic AVR GPIO emulation to QEMU. The AVR GPIO emulation patch was originally written by Heecheol Yang and was posted on the mailing list around 5 months ago. I am re-publishing the patch with some bug fixes along with my own patch, Adding the D13 onboard LED.
G S Niteesh Babu (2): hw/gpio/avr_gpio.c: add tracing for read and writes avr/arduino: Add D13 LED Heecheol Yang (1): hw/avr: Add limited support for avr gpio registers hw/avr/Kconfig | 2 + hw/avr/arduino.c | 15 ++++ hw/avr/atmega.c | 7 +- hw/avr/atmega.h | 2 + hw/gpio/Kconfig | 3 + hw/gpio/avr_gpio.c | 148 +++++++++++++++++++++++++++++++++++++ hw/gpio/meson.build | 1 + hw/gpio/trace-events | 6 ++ include/hw/gpio/avr_gpio.h | 53 +++++++++++++ 9 files changed, 235 insertions(+), 2 deletions(-) create mode 100644 hw/gpio/avr_gpio.c create mode 100644 include/hw/gpio/avr_gpio.h -- 2.17.1