소스 검색

utest: fixed UTEST_SMP_CALL_FUNC

In 66448d9e96 "utest: smp_call: move from example to components/drivers/smp_call"
UTEST_SMP_CALL_FUNC was replaced with RT_UTEST_SMP_CALL_FUNC.
However, some files are forgot to do this replacement, so this patch address
this.

Note: In .config, lines like "# CONFIG_XXX is not set" do not need
to be modified; they are comments. Furthermore, for BSPs, running
"scons --menuconfig" and save the config will automatically replace
them. Therefore, no modification is necessary in this case.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Chen Wang 3 달 전
부모
커밋
e194a08b5a
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      bsp/rockchip/rk3500/.config
  2. 1 1
      bsp/rockchip/rk3500/rtconfig.h

+ 1 - 1
bsp/rockchip/rk3500/.config

@@ -684,7 +684,7 @@ CONFIG_RT_USING_UTESTCASES=y
 #
 # SMP-Call Testcase
 #
-CONFIG_UTEST_SMP_CALL_FUNC=y
+CONFIG_RT_UTEST_SMP_CALL_FUNC=y
 # end of SMP-Call Testcase
 # end of RT-Thread Utestcases
 

+ 1 - 1
bsp/rockchip/rk3500/rtconfig.h

@@ -448,7 +448,7 @@
 
 /* SMP-Call Testcase */
 
-#define UTEST_SMP_CALL_FUNC
+#define RT_UTEST_SMP_CALL_FUNC
 /* end of SMP-Call Testcase */
 /* end of RT-Thread Utestcases */