[Nuvoton] Fix mbedmicro-rtos-mbed-systimer/Wake up from deep sleep failing

This test requires total latency (tot = h/w + s/w) (wakeup from deepsleep) be
under 1ms. To check the issue, measure total latency on Nuvoton targets:

TARGET      EXP(us)     EXP+TOL(us) ACT(us)
NANO130     42000       43000       42939
NUC472      42000       43000       42236
M453        42000       43000       43274
M487        42000       43000       42877
M2351       42000       43000       43213

Checking h/w spec, h/w latency (wakeup time from normal power-down mode) on
M487/M2351 is just 1us (n/a on other targets). S/W latency plays the major
part here.

S/W latency relies on system performance. On Nuvoton targets, 'LPTICKER_DELAY_TICKS'
possibly complicates the test. Anyway, to pass the test, add extra 1ms latency
(deep-sleep-latency) in targets.json for Nuvoton targets.
pull/11020/head
Chun-Chieh Li 2019-07-05 17:29:00 +08:00
parent 492d10cb3e
commit 1e5a52a1fd
1 changed files with 5 additions and 0 deletions

View File

@ -7442,6 +7442,7 @@
"bootloader_supported": true,
"overrides": {
"network-default-interface-type": "ETHERNET",
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true
}
},
@ -7572,6 +7573,7 @@
"device_name": "M453VG6AE",
"bootloader_supported": true,
"overrides": {
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true
}
},
@ -7639,6 +7641,7 @@
"release_versions": ["5"],
"device_name": "NANO130KE3BN",
"overrides": {
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true
}
},
@ -8000,6 +8003,7 @@
"bootloader_supported": true,
"overrides": {
"network-default-interface-type": "ETHERNET",
"deep-sleep-latency": 1,
"tickless-from-us-ticker": true
}
},
@ -8210,6 +8214,7 @@
}
},
"overrides": {
"deep-sleep-latency": 1,
"mpu-rom-end": "0x1fffffff"
},
"inherits": ["Target"],