Skip to content

Commit a8f0817

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 a5afcd6 commit a8f0817

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
@@ -8791,7 +8791,7 @@
87918791
],
87928792
"macros_add": [
87938793
"MBED_FAULT_HANDLER_DISABLED",
8794-
"LPTICKER_DELAY_TICKS=3"
8794+
"LPTICKER_DELAY_TICKS=4"
87958795
],
87968796
"supported_toolchains": ["ARMC6", "GCC_ARM", "IAR"],
87978797
"config": {

0 commit comments

Comments
 (0)