From 692651fe40f668f19b479186e52fea34d092b458 Mon Sep 17 00:00:00 2001 From: LiteOS2021 Date: Mon, 21 Feb 2022 11:46:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(testsuites):=20cpup=E5=92=8C=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E5=A5=97=E8=A7=A3=E8=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cpup和测试套解耦,使用相关宏来管理cpup相关内容。 Signed-off-by: LiteOS2021 --- testsuites/include/osTest.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testsuites/include/osTest.h b/testsuites/include/osTest.h index b9cdacd5..de1ce095 100644 --- a/testsuites/include/osTest.h +++ b/testsuites/include/osTest.h @@ -48,7 +48,9 @@ #include "los_event.h" #include "los_memory.h" #include "los_queue.h" +#if (LOSCFG_BASE_CORE_CPUP == 1) #include "los_cpup.h" +#endif #include "los_tick.h" #include "los_swtmr.h" #include "los_mux.h"