Skip to content

Commit 053c2cb

Browse files
committed
utest: serial_v2: add depends on RT_USING_SERIAL_V2
Add dependent of RT_USING_SERIAL_V2 in Kconfig to make sure utest for serial_v2 is only available when RT_USING_SERIAL_V2 is enabled. Otherwise menuconfig allow people enable UTEST_SERIAL_TC but building of utestcases failed. It looks weird and better to be fixed. Signed-off-by: Chen Wang <[email protected]>
1 parent cc72712 commit 053c2cb

File tree

1 file changed

+1
-0
lines changed
  • examples/utest/testcases/drivers/serial_v2

1 file changed

+1
-0
lines changed

examples/utest/testcases/drivers/serial_v2/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ menu "Utest Serial Testcase"
33
config UTEST_SERIAL_TC
44
bool "Serial testcase"
55
default n
6+
depends on RT_USING_SERIAL_V2
67

78
if UTEST_SERIAL_TC
89

0 commit comments

Comments
 (0)