File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
mbedmicro-rtos-mbed/systimer
features/unsupported/tests/utest/lp_ticker Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ void test_sleep(void)
276
276
timeout.detach ();
277
277
}
278
278
279
- #if DEVICE_LOWPOWERTIMER
279
+ #if DEVICE_LPTICKER
280
280
/* * Template for tests: timeout during deepsleep
281
281
*
282
282
* Test timeout during deepsleep
Original file line number Diff line number Diff line change 17
17
#error [NOT_SUPPORTED] Tickless mode not supported for this target.
18
18
#endif
19
19
20
- #if !DEVICE_LOWPOWERTIMER
20
+ #if !DEVICE_LPTICKER
21
21
#error [NOT_SUPPORTED] Current SysTimer implementation requires lp ticker support.
22
22
#endif
23
23
@@ -208,7 +208,7 @@ void test_sleep(void)
208
208
TEST_ASSERT_UINT64_WITHIN (DELAY_DELTA_US, DELAY_US, timer.read_high_resolution_us ());
209
209
}
210
210
211
- #if DEVICE_LOWPOWERTIMER
211
+ #if DEVICE_LPTICKER
212
212
/* * Test wake up from deepsleep
213
213
*
214
214
* Given a SysTimer with a tick scheduled in the future
@@ -260,7 +260,7 @@ Case cases[] = {
260
260
Case (" Schedule zero ticks" , test_schedule_zero),
261
261
Case (" Handler called once" , test_handler_called_once),
262
262
Case (" Wake up from sleep" , test_sleep),
263
- #if DEVICE_LOWPOWERTIMER
263
+ #if DEVICE_LPTICKER
264
264
Case (" Wake up from deep sleep" , test_deepsleep),
265
265
#endif
266
266
Original file line number Diff line number Diff line change 21
21
/* Low power timer test.
22
22
*/
23
23
24
- #if !DEVICE_LOWPOWERTIMER
24
+ #if !DEVICE_LPTICKER
25
25
#error This test unit requires low power to be defined for a target
26
26
#endif
27
27
Original file line number Diff line number Diff line change 21
21
*/
22
22
#include " rtos/TARGET_CORTEX/SysTimer.h"
23
23
24
- #if DEVICE_LOWPOWERTIMER
24
+ #if DEVICE_LPTICKER
25
25
26
26
#include " hal/lp_ticker_api.h"
27
27
#include " rtx_core_cm.h"
Original file line number Diff line number Diff line change 22
22
#ifndef MBED_SYS_TIMER_H
23
23
#define MBED_SYS_TIMER_H
24
24
25
- #if defined(DEVICE_LOWPOWERTIMER ) || defined(DOXYGEN_ONLY)
25
+ #if defined(DEVICE_LPTICKER ) || defined(DOXYGEN_ONLY)
26
26
27
27
#include " platform/NonCopyable.h"
28
28
#include " drivers/TimerEvent.h"
You can’t perform that action at this time.
0 commit comments