The UART API now supports configure and configure_get functions, however no tests were written for those functions. This commit adds the framework and implementing tests for configure and configure_get for UART API. Fixes (#12872) Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
13 lines
358 B
CMake
13 lines
358 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
include($ENV{ZEPHYR_BASE}/cmake/app/boilerplate.cmake NO_POLICY_SCOPE)
|
|
project(uart_basic_api)
|
|
|
|
target_sources(app PRIVATE
|
|
src/main.c
|
|
src/test_uart_config.c
|
|
src/test_uart_poll.c
|
|
)
|
|
target_sources_ifdef(CONFIG_UART_INTERRUPT_DRIVEN app PRIVATE src/test_uart_fifo.c)
|