Skip to content

Commit de4bcba

Browse files
committed
tests-mbed_hal-common_tickers: increase overflow protection limit
For NR51_DK US_TICKER_OV_LIMIT needs to be increased since if test is run few times in row sometimes fails. This is because NR51_DK is a slow board (16 MHz) with fast and short us ticker counter 1 MHz/16 bits.
1 parent b832022 commit de4bcba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed_hal/common_tickers/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
#define NUM_OF_CYCLES 100000
4242

43-
#define US_TICKER_OV_LIMIT 20000
43+
#define US_TICKER_OV_LIMIT 35000
4444
#define LP_TICKER_OV_LIMIT 4000
4545

4646
using namespace utest::v1;

0 commit comments

Comments
 (0)