Open lucasw opened 3 years ago
This uses ifdef to change an int instead of real gpio https://yeah.nah.nz/embedded/qemu-avr/ - but maybe real gpio is possible, just read the actual register? Maybe simpler to have the int right there in the main file for inspection.
Can interrupts be triggered through gdb or qemu?
https://stackoverflow.com/questions/60764018/how-to-connect-gpio-in-qemu-emulated-machine-to-an-object-in-host
Could this be applied to 5.2.0?
hw/avr: Add limited support for avr gpio registers
https://patchew.org/QEMU/20210313165445.2113938-1-f4bug@amsat.org/20210313165445.2113938-4-f4bug@amsat.org/
https://www.mail-archive.com/qemu-devel@nongnu.org/msg791443.html
This uses ifdef to change an int instead of real gpio https://yeah.nah.nz/embedded/qemu-avr/ - but maybe real gpio is possible, just read the actual register? Maybe simpler to have the int right there in the main file for inspection.
Can interrupts be triggered through gdb or qemu?