arm: add host uart driver tests
All host tests currently pass Some async refactors may not work well on device, will try later
This commit is contained in:
10
arm/fake_uart.h
Normal file
10
arm/fake_uart.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <span>
|
||||
|
||||
#include "buffer.h"
|
||||
|
||||
buffer FakeUart_Drain(uint16_t size);
|
||||
void FakeUart_Feed(std::span<const std::byte> data);
|
||||
void FakeUart_Reset();
|
||||
Reference in New Issue
Block a user