Skip to content

Commit 4a77a2b

Browse files
committed
[M252KG] Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker ticks to take effect. It may miss when current tick and match tick are very close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to 4 from 3 to address this boundary case.
1 parent 2118cb3 commit 4a77a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8298,7 +8298,7 @@
82988298
],
82998299
"macros_add": [
83008300
"MBED_FAULT_HANDLER_DISABLED",
8301-
"LPTICKER_DELAY_TICKS=3"
8301+
"LPTICKER_DELAY_TICKS=4"
83028302
],
83038303
"supported_toolchains": ["ARMC6", "GCC_ARM", "IAR"],
83048304
"config": {

0 commit comments

Comments
 (0)