diff --git a/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake b/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake index 14c4f98b82..88f67ae4ba 100644 --- a/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake +++ b/UNITTESTS/drivers/VirtualWatchdog/unittest.cmake @@ -18,7 +18,7 @@ set(unittest-sources # Test files set(unittest-test-sources - drivers/Watchdog/test_virtualwatchdog.cpp + drivers/VirtualWatchdog/test_virtualwatchdog.cpp stubs/mbed_critical_stub.c ) diff --git a/UNITTESTS/drivers/Watchdog/unittest.cmake b/UNITTESTS/drivers/Watchdog/unittest.cmake index 517701e9ea..2eff4c4089 100644 --- a/UNITTESTS/drivers/Watchdog/unittest.cmake +++ b/UNITTESTS/drivers/Watchdog/unittest.cmake @@ -23,5 +23,5 @@ set(unittest-test-sources ) # defines -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1 -DMBED_CONF_TARGET_WATCHDOG_TIMEOUT=500") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEVICE_WATCHDOG -DMBED_WDOG_ASSERT=1 -DMBED_CONF_TARGET_WATCHDOG_TIMEOUT=500") \ No newline at end of file