From edc68231423e9bb6d8b92dd83ebc2f060e5a9304 Mon Sep 17 00:00:00 2001 From: haizhouyang Date: Tue, 8 Feb 2022 21:04:14 +0800 Subject: [PATCH] add user api support for uart Signed-off-by: haizhouyang --- platform/uart/Makefile | 1 + test/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/platform/uart/Makefile b/platform/uart/Makefile index e3550d0..7f582cb 100644 --- a/platform/uart/Makefile +++ b/platform/uart/Makefile @@ -16,4 +16,5 @@ include drivers/hdf/khdf/platform/platform.mk obj-y += $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/uart/uart_core.o \ $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/uart/uart_if.o \ + $(HDF_PLATFORM_FRAMEWORKS_ROOT)/src/uart/uart_service.o \ uart_adapter.o diff --git a/test/Makefile b/test/Makefile index ac8b9e3..c36050d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -49,6 +49,7 @@ obj-$(CONFIG_DRIVERS_HDF_PLATFORM_EMMC) += $(HDF_FRAMWORK_TEST_ROOT)/platform/co $(HDF_FRAMWORK_TEST_ROOT)/platform/entry/hdf_emmc_entry_test.o obj-$(CONFIG_DRIVERS_HDF_PLATFORM_UART) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/uart_test.o \ + $(HDF_FRAMWORK_TEST_ROOT)/platform/common/uart_driver_test.o \ $(HDF_FRAMWORK_TEST_ROOT)/platform/entry/hdf_uart_entry_test.o obj-$(CONFIG_DRIVERS_HDF_PLATFORM_WATCHDOG) += $(HDF_FRAMWORK_TEST_ROOT)/platform/common/watchdog_test.o \ $(HDF_FRAMWORK_TEST_ROOT)/platform/entry/hdf_watchdog_entry_test.o