Compare commits

...

7 Commits

Author SHA1 Message Date
openharmony_ci
4acf1e9f8d !896 feat: normalize drivers framework component and repos
Merge pull request !896 from yuanbo/master
2022-06-17 06:39:48 +00:00
openharmony_ci
870221452d !900 【轻量级 PR】:remove tzdriver Kconfig
Merge pull request !900 from WoolenSky/N/A
2022-06-17 03:16:48 +00:00
WoolenSky
30c3fb086e remove tzdriver Kconfig
Signed-off-by: YuanHao<yuanhao34@huawei.com>
2022-06-16 11:59:28 +00:00
yuanbo
00dbf1e5d5 feat: normalize drivers framework component and repos
Signed-off-by: yuanbo <yuanbo@huawei.com>
2022-06-15 20:02:05 +08:00
openharmony_ci
16fdbdf650 !885 【OpenHarmony开源贡献者计划2022】代码打印中sucess修改为success
Merge pull request !885 from lingxin_2019/master
2022-06-14 01:57:54 +00:00
lingxin_2019
0b9cac2cd3 Signed-off-by: 贺婷婷 <596256905@qq.com> 2022-05-26 08:09:56 +00:00
lingxin_2019
9958f647f5 Signed-off-by: 贺婷婷 <596256905@qq.com> 2022-05-26 12:24:46 +08:00
11 changed files with 21 additions and 22 deletions

View File

@@ -28,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
include $(LITEOSTOPDIR)/config.mk
include $(LITEOSTOPDIR)/../../drivers/adapter/khdf/liteos/lite.mk
include $(LITEOSTOPDIR)/../../drivers/hdf_core/adapter/khdf/liteos/lite.mk
MODULE_NAME := usb_base
@@ -122,13 +122,13 @@ LOCAL_SRCS += $(STORAGE_SRC)/umass.c
endif
ifeq ($(LOSCFG_DRIVERS_USB_HID_CLASS)_$(LOSCFG_DRIVERS_HDF_INPUT), y_y)
LOCAL_FLAGS += -I$(LITEOSTOPDIR)/../../drivers/framework/model/input/driver \
-I$(LITEOSTOPDIR)/../../drivers/framework/include/core \
-I$(LITEOSTOPDIR)/../../drivers/framework/core/common/include/host \
-I$(LITEOSTOPDIR)/../../drivers/framework/utils \
-I$(LITEOSTOPDIR)/../../drivers/framework/osal \
-I$(LITEOSTOPDIR)/../../drivers/framework/ability/sbuf/include \
-I$(LITEOSTOPDIR)/../../drivers/framework/include/osal \
LOCAL_FLAGS += -I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/model/input/driver \
-I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/include/core \
-I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/core/common/include/host \
-I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/utils \
-I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/osal \
-I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/ability/sbuf/include \
-I$(LITEOSTOPDIR)/../../drivers/hdf_core/framework/include/osal \
-I$(LITEOSTOPDIR)/../../third_party/FreeBSD/sys/dev/evdev
LOCAL_SRCS += $(INPUT_SRC)/uhid.c \

View File

@@ -5,7 +5,7 @@ config DRIVERS
Answer Y to enable LiteOS support driver.
source "bsd/dev/usb/Kconfig"
source "../../drivers/adapter/khdf/liteos/Kconfig"
source "../../drivers/hdf_core/adapter/khdf/liteos/Kconfig"
# Device driver Kconfig import
source "$(DEVICE_PATH)/drivers/Kconfig"
@@ -17,5 +17,4 @@ source "drivers/char/video/Kconfig"
source "drivers/char/trace/Kconfig"
source "drivers/char/perf/Kconfig"
source "../../drivers/liteos/tzdriver/Kconfig"
source "../../drivers/liteos/hievent/Kconfig"

View File

@@ -28,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
include $(LITEOSTOPDIR)/config.mk
include $(LITEOSTOPDIR)/../../drivers/adapter/khdf/liteos/lite.mk
include $(LITEOSTOPDIR)/../../drivers/hdf_core/adapter/khdf/liteos/lite.mk
MODULE_NAME := $(notdir $(shell pwd))

View File

@@ -31,7 +31,7 @@ import("$root_out_dir/config.gni")
LITEOSTOPDIR = "//kernel/liteos_a"
LITEOSTHIRDPARTY = "//third_party"
HDFTOPDIR = "//drivers/adapter/khdf/liteos"
HDFTOPDIR = "//drivers/hdf_core/adapter/khdf/liteos"
ARCH = ""
if (defined(LOSCFG_ARCH_ARM_AARCH32)) {

View File

@@ -454,7 +454,7 @@ VOID TestTaskEntry(VOID)
#if (TEST_MODULE_CHECK == 1)
for (int i = 0; i < g_modelNum - 1; i++) {
if (g_executModelNum[i] != 0) {
dprintf("\nExecuted Model: %s, Executed Model_Num: %d ,failed_count: %d , sucess_count :%d",
dprintf("\nExecuted Model: %s, Executed Model_Num: %d ,failed_count: %d , success_count :%d",
g_strModule[i], g_executModelNum[i], g_failModelResult[i], g_passModelResult[i]);
}
for (int j = 0; j < g_failResult && j < 50; j++) { // 50

View File

@@ -35,7 +35,7 @@ static int g_sigCount = 0;
static void SigPrint(int signum)
{
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)
@@ -101,7 +101,7 @@ static UINT32 TestCase(VOID)
sleep(1);
ret = kill(pid, SIGUSR1);
ICUNIT_ASSERT_EQUAL(ret, 0, ret);
printf("kill sucess\n");
printf("kill success\n");
ret = waitpid(pid, &status, 0);
ICUNIT_ASSERT_EQUAL(ret, pid, ret);
ICUNIT_ASSERT_EQUAL(WEXITSTATUS(status), LOS_OK, WEXITSTATUS(status));

View File

@@ -35,7 +35,7 @@ static int g_sigCount = 0;
static void SigPrint(int sig)
{
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)
@@ -68,7 +68,7 @@ static UINT32 TestCase(VOID)
sleep(1);
ret = kill(pid, SIGUSR1);
ICUNIT_ASSERT_EQUAL(ret, 0, ret);
printf("kill sucess\n");
printf("kill success\n");
wait(&ret);
ICUNIT_ASSERT_EQUAL(WEXITSTATUS(ret), LOS_OK, WEXITSTATUS(ret));
return LOS_OK;

View File

@@ -36,13 +36,13 @@ static int g_sigCount1 = 0;
static void SigPrint(int sig)
{
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static void SigPrint1(int sig)
{
g_sigCount1++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)

View File

@@ -37,7 +37,7 @@ static void SigPrint(int sig)
{
(void)sig;
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\cn");
}
static UINT32 TestCase(VOID)

View File

@@ -36,7 +36,7 @@ static void SigPrint(int sig)
{
(void)sig;
g_sigCount++;
printf("signal receive sucess\n");
printf("signal receive success\n");
}
static UINT32 TestCase(VOID)

View File

@@ -355,7 +355,7 @@ endif
LITEOS_DRIVERS_BASE_PATH := $(LITEOSTOPDIR)/../../drivers/liteos
################################## Driver Option Begin #################################
ifeq ($(LOSCFG_DRIVERS_HDF), y)
include $(LITEOSTOPDIR)/../../drivers/adapter/khdf/liteos/hdf_lite.mk
include $(LITEOSTOPDIR)/../../drivers/hdf_core/adapter/khdf/liteos/hdf_lite.mk
endif
ifeq ($(LOSCFG_DRIVERS_HIEVENT), y)