These were designed to facilitate testing but should provide enough function to
be useful in other contexts.
Only a subset of the functions of each peripheral is implemented, mainly due to
the lack of a standard way to handle electrical connections (like GPIO pins).
Signed-off-by: Sarah Harris <address@hidden>
---
include/hw/char/avr_usart.h | 93 +++++++++++
hw/char/avr_usart.c | 320 ++++++++++++++++++++++++++++++++++++
hw/char/Kconfig | 3 +
hw/char/Makefile.objs | 1 +
4 files changed, 417 insertions(+)
create mode 100644 include/hw/char/avr_usart.h
create mode 100644 hw/char/avr_usart.c