diff --git a/TESTS/mbed_drivers/timerevent/main.cpp b/TESTS/mbed_drivers/timerevent/main.cpp index fc25d984f9..4e1636468c 100644 --- a/TESTS/mbed_drivers/timerevent/main.cpp +++ b/TESTS/mbed_drivers/timerevent/main.cpp @@ -27,6 +27,10 @@ using namespace utest::v1; +#if !DEVICE_USTICKER + #error [NOT_SUPPORTED] test not supported +#endif + #define TEST_DELAY_US 50000ULL class TestTimerEvent: public TimerEvent {