Skip to content

Commit 9d1d32c

Browse files
committed
Skip higher level ticker tests for targets with stale ticker target specific drivers.
Since target specific ticker drivers are not ready also features which uses ticker in upper layers may not work correctly and tests for these features. We need to disable also failing higher level ticker related tests (by adding check if DEVICE_USTICKER symbol is available and raise #error [NOT_SUPPORTED] if not). Note: tests-mbed_drivers-rtc is new and uses us ticker to perform a delay.
1 parent 970bb07 commit 9d1d32c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_drivers/rtc/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "rtos.h"
2222
#include "rtc_api.h"
2323

24-
#if !DEVICE_RTC
24+
#if !DEVICE_RTC || !DEVICE_USTICKER
2525
#error [NOT_SUPPORTED] test not supported
2626
#endif
2727

0 commit comments

Comments
 (0)