This series adds support for the nRF51 SoC UART, that used in
BBC Micro:bit board, and QTest for it.
v2:
* Suspend/Enable functionality added
* Connection to SoC moved to a separate patch
* Added QTest for checking reception functionality
* Mini-kernel test changed to fit current implementation
* Addressed review comments on R_*, uart_can_receive, VMState,
uart_transmit
Julia Suvorova (4):
hw/char: Implement nRF51 SoC UART
hw/arm/nrf51_soc: Connect UART to nRF51 SoC
tests/boot-serial-test: Add microbit board testcase
tests/microbit-test: Check nRF51 UART functionality
hw/arm/nrf51_soc.c | 20 +++
hw/char/Makefile.objs | 1 +
hw/char/nrf51_uart.c | 329 +++++++++++++++++++++++++++++++++++
hw/char/trace-events | 4 +
include/hw/arm/nrf51_soc.h | 3 +
include/hw/char/nrf51_uart.h | 78 +++++++++
tests/boot-serial-test.c | 19 ++
tests/microbit-test.c | 106 ++++++++++-
8 files changed, 557 insertions(+), 3 deletions(-)
create mode 100644 hw/char/nrf51_uart.c
create mode 100644 include/hw/char/nrf51_uart.h
--
2.17.1