bunnie
b568d86153
get non-blocking gas gauge checking working
2020-11-25 23:06:57 +08:00
bunnie
1aa01fdf5d
confirm sleep works, some minor fixup to UTRA style usage
2020-11-23 19:02:02 +08:00
Sean Cross
72a466bc61
ticktimer: use interrupt from UTRA
...
Previously UTRA didn't have an interrupt, so we just made one up. Use
the correct interrupt to get things working on hardware.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:34:18 +08:00
Sean Cross
796c9c5998
services: ticktimer: remove excess hosted printing
...
This was used to try and debug an issue in the ticktimer server, which
ended up being an issue in the kernel.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:23:23 +08:00
Sean Cross
aa315c534c
ticktimer: implement msleep
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 16:09:01 +08:00
Sean Cross
2d4a2bf871
ticktimer: use millis instead of nanos on hosted
...
The `elapsed_ms()` function should probably return milliseconds rather
than nanoseconds. Time marches on.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:29:12 +08:00
Sean Cross
0bce0eeb53
ticktimer: implement hosted version of ticktimer
...
This gets the basic ticktimer server working in a hosted environment.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-28 11:14:26 +08:00
bunnie
1d23d2c1f7
unify debug.rs and move to UTRA format
2020-10-14 03:40:44 +08:00
bunnie
523d18f5ab
refactor "examples" -> "services"
2020-10-14 02:04:21 +08:00