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 <heecheol.yang@outlook.com>
> ---
> 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:
DM6PR16MB2473C5A77E009CA2FEF3D8ECE60E0@DM6PR16MB2473.namprd16.prod.outlook.com/">https://patchew.org/QEMU/
DM6PR16MB2473C5A77E009CA2FEF3D8ECE60E0@DM6PR16MB2473.namprd16.prod.outlook.com/
But v3 is broken again...