On 10/3/20 2:38 PM, Heecheol Yang wrote: > Add some of these features for avr gpio: > > - GPIO I/O : PORTx registers > - Data Direction : DDRx registers > > Following things are not supported yet: > - PINx registers > - MCUR registers > - Even though read/write for DDRx registers are > implemented, actual direction controls are not > supported yet. > > Signed-off-by: Heecheol Yang <[email protected]> > --- > hw/avr/Kconfig | 1 + > hw/avr/atmega.c | 7 ++- > hw/avr/atmega.h | 2 + > hw/gpio/Kconfig | 3 + > hw/gpio/avr_gpio.c | 112 +++++++++++++++++++++++++++++++++++++ > hw/gpio/meson.build | 2 + > include/hw/gpio/avr_gpio.h | 46 +++++++++++++++ > 7 files changed, 171 insertions(+), 2 deletions(-) > create mode 100644 hw/gpio/avr_gpio.c > create mode 100644 include/hw/gpio/avr_gpio.h
FYI this one is posted correctly, I can read it and patchew successfully applied it: https://patchew.org/QEMU/dm6pr16mb2473c5a77e009ca2fef3d8ece6...@dm6pr16mb2473.namprd16.prod.outlook.com/ But v3 is broken again...
