Skip to content

Commit 2a48f54

Browse files
committed
M263: 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 95fc8cf commit 2a48f54

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
@@ -9039,7 +9039,7 @@
90399039
],
90409040
"macros": [
90419041
"MBED_FAULT_HANDLER_DISABLED",
9042-
"LPTICKER_DELAY_TICKS=3"
9042+
"LPTICKER_DELAY_TICKS=4"
90439043
],
90449044
"is_disk_virtual": true,
90459045
"supported_toolchains": ["ARMC6", "GCC_ARM", "IAR"],

0 commit comments

Comments
 (0)