drivers: serial: add a dummy driver for vnd,serial

This commit adds a serial dummy driver compatible to vnd,serial.
This is needed that devices can access the uart device in tests
like tests/drivers/build_all/... .

Add myself as codeowner to avoid complicance check failure.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2021-07-08 17:15:52 +02:00 committed by Kumar Gala
commit 94f7ed356f
5 changed files with 81 additions and 0 deletions

View file

@ -46,3 +46,5 @@ if(CONFIG_UART_NATIVE_POSIX)
zephyr_library_compile_definitions(NO_POSIX_CHEATS)
zephyr_library_sources(uart_native_posix.c)
endif()
zephyr_library_sources_ifdef(CONFIG_SERIAL_TEST serial_test.c)