Browse Source

utest: serial: bypass: add depends on RT_USING_SERIAL_BYPASS

Add dependent of RT_USING_SERIAL_BYPASS in Kconfig to
make sure utest for serial-bypass is only available
when RT_USING_SERIAL_BYPASS is enabled.

Otherwise building of utestcases failed when UTEST_SERIAL_BYPASS
is enabled.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Chen Wang 3 months ago
parent
commit
cc8b0d9f39
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/utest/testcases/drivers/serial_bypass/Kconfig

+ 1 - 0
examples/utest/testcases/drivers/serial_bypass/Kconfig

@@ -3,5 +3,6 @@ menu "Serial-Bypass Testcase"
 config UTEST_SERIAL_BYPASS
 config UTEST_SERIAL_BYPASS
     bool "Serial testcase"
     bool "Serial testcase"
     default n
     default n
+    depends on RT_USING_SERIAL_BYPASS
 
 
 endmenu
 endmenu