Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add tickless to some mbed-os devices #4991
Fails for Ameba:
- If the SysTick is tied to the us_ticker then an additional latency might be present. Is it a good thing ?
- RtosTimer shall take into account
- It would be good to have a way to override the behavior in targets, the implementation exposed, on NRF51, is I believe significantly less precise than the old one (it would be good to benchmark it to verify that assertion).
This will cause the additional latency of a second interrupt call, but this should be fairly small when compared to a 1ms tick. The reason this is done is that the interrupt that runs SysTick must be run at a low priority. On most if not all platforms, the lp/us ticker interrupt is set to a higher priority than this.
I'll compare this to the time reported by the us ticker as we discussed. Unfortunately I don't have a board with me so this might have to wait until another day.
Summary of updates: