Sean Cross
f46f7c6e81
shell: use new String struct from xous
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 11:19:43 +08:00
Sean Cross
9192775e5e
graphics-server: use String for String opcode
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 11:19:17 +08:00
Sean Cross
c33794c859
shell: use new graphics subsystem
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:30:34 +08:00
Sean Cross
7fc8dafc39
shell: add StringBuffer struct
...
Add a StringBuffer struct that can be used to create string messages.
This will eventually be promoted to Xous.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:29:58 +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
c7164c461d
log-server: unify print messages for log_string
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:28:01 +08:00
Sean Cross
5823c23472
log-server: unify log messages
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:27:13 +08:00
Sean Cross
d9f858bcf0
log-server: remove pancurses dependency
...
This hasn't been required in a very long time.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:26:16 +08:00
Sean Cross
af1a7f5ba5
graphics-server: first general merge of gfxlib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:22:03 +08:00
Sean Cross
7607b0f9ee
graphics-server: remove embedded-graphics from backends
...
Use native drawing for these platforms.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:21:06 +08:00
Sean Cross
a2fd6b0438
graphics-server: remove dependency on embedded-graphics
...
The graphics server will implement its own routines.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 10:20:19 +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
Sean Cross
4334e7c23e
shell: fix build for hosted
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-28 11:14:09 +08:00
Sean Cross
f9af2322f7
log-server: fix compiling for hosted builds
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-28 11:13:39 +08:00
Sean Cross
dfed13bd9f
shell: initialize the logstr before using it
...
This fixes UB when accessing an uninitialized value.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-15 11:58:23 +08:00
bunnie
9ee43a7acc
some more attempts to get log strings working...
2020-10-15 00:01:02 +08:00
bunnie
c8a2f34998
add debug output to log_string
2020-10-14 23:15:33 +08:00
bunnie
ac4d79ea68
logging server bringup
2020-10-14 23:01:57 +08:00
bunnie
5cf8e9e3bc
Merge remote-tracking branch 'origin/master' into ticktimer
2020-10-14 15:30:47 +08:00
bunnie
49f15e547f
upgrade to work with multi-UART API
2020-10-14 04:35:15 +08:00
bunnie
5b51048774
add debugprint template to other servers
2020-10-14 03:41:53 +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