Sean Cross
4cbfe5f90f
services: log-server: use create_thread_1()
...
This moves away from the deprecated `create_thread_simple()` call.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 10:54:22 +08:00
bunnie
835bee2c75
lay in foundations to support the sleep function
2021-03-11 01:45:54 +08:00
bunnie
9a2bce24cb
clean up timing and cosmetic issues on status updates
2021-03-02 21:47:23 +08:00
bunnie
4b0f50293f
another intermediate commit
2021-03-02 21:15:40 +08:00
bunnie
4640dc404f
make panic messages a bit more helpful
2021-03-01 13:45:36 +08:00
bunnie
463e2ad77d
fixup GAM APIs to latest rkyv standard, fix drawable computation
2021-02-26 03:37:48 +08:00
bunnie
5b80b3fb42
get fcc-agent working again
2021-02-23 04:01:01 +08:00
bunnie
0af72ffb6d
clean up Sendable references and warnings
2021-02-17 23:29:20 +08:00
Sean Cross
14f661f565
xous: remove id field from lend()
...
This argument is no longer used.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:54:08 +08:00
bunnie
b803d7d4e9
commit that captures the multiple lend bug
2021-02-16 12:42:11 +08:00
bunnie
2b003f8a7d
intermediate checkin
2021-02-16 00:28:44 +08:00
bunnie
07b3dd9afa
add PID printout to every service as it starts
2021-02-15 19:16:21 +08:00
bunnie
af012c48dc
getting a little further with the port, but still crashing on a borrow message
2021-02-15 04:42:30 +08:00
bunnie
fc8290cdb4
futzing around and something is kind of working on xous-string port to rkyv
2021-02-15 00:05:42 +08:00
bunnie
22ed00f0d8
refactor log-server to remove usize from sendable object
2021-01-22 01:34:36 +08:00
bunnie
cc66c3911a
starting to lay out initial framework for the graphical abstraction manager (GAM)
2021-01-17 04:02:08 +08:00
bunnie
c848d374c6
roll back the build time notice
...
Turns out the build time only seems to capture the last time
you managed to force a full rebuild (???). Even though cargo
indicates that a rebuild had happened of the main.rs, the environment
variable containing the time is not being updated, because the
build.rs file isn't being run. But! if you force a trigger of
that file, then cargo decides to rebuild *everything* which greatly
increases the build time, which is a drag for development.
So, just remove the build time notice. If it's not going to be
correct, better to not emit it than to be outright misleading...
2021-01-13 00:24:12 +08:00
bunnie
0a3c50f820
add build timestamping/versioning to the Xous log output
2021-01-12 23:30:52 +08:00
bunnie
cce89395f6
test framework for xous-names
2021-01-04 23:34:18 +08:00
bunnie
2beddd745e
missed one merge conflict fix
2021-01-04 03:24:27 +08:00
bunnie
b7263f7ef0
Merge remote-tracking branch 'origin/master' into hardware
2021-01-04 03:19:23 +08:00
Sean Cross
7b50d00eb8
repo: run cargo fmt
...
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
bunnie
b9a31f7d99
try to layer in the fcc agent
2020-12-31 19:31:12 +08:00
Sean Cross
25e4d16de3
xous-os: rename CreateServer to CreateServerWithAddress
...
Servers will, by default, get randomly-assigned SIDs. Certain servers
will want to have well-known SIDs, such as the log server or the
nameserver. These will use a separate call in order to perform this
priveledged operation.
A subsequent patch will add `CreateServer`.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-12-04 20:33:33 +08:00
Sean Cross
fcb64a85d4
log-server: remove spurious print message
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:59:33 +08:00
Sean Cross
ff8cb19999
log-server: implement panic logging
...
This is now able to understand the panic log messages that are sent by
services that are in the procses of panicking.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:58:03 +08:00
Sean Cross
2e4b38a2f1
log-server: unconditionally enable logging
...
If users are including the `log-server` crate, then they probably want
logging regardless of what features are enabled.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 13:57:20 +08:00
bunnie
19a7a9ce98
get threaded version of COM handler working
2020-11-27 01:32:10 +08:00
bunnie
b568d86153
get non-blocking gas gauge checking working
2020-11-25 23:06:57 +08:00
bunnie
d583e20b18
very basic battery monitoring via COM
2020-11-25 05:11:32 +08:00
bunnie
bc832b3a50
fix interrupt pending clear issue in debug module
...
during conversion to documented interrupts from Litex a case was
missed.
2020-11-24 22:44:19 +08:00
bunnie
1aa01fdf5d
confirm sleep works, some minor fixup to UTRA style usage
2020-11-23 19:02:02 +08:00
Sean Cross
12532e1734
log-server: fix const warnings on rust 1.48
...
Rust 1.48 changed how warnings of const values operate.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-23 17:21:03 +08:00
bunnie
710abce418
fixup to latest soc.svd register documentation standard
2020-11-22 03:45:44 +08:00
Sean Cross
7391b98f4e
log-server: remove excess printing from log string
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-01 16:30:07 +08:00
Sean Cross
e18219b078
log-server: add first draft of logging server
...
This server implements `log`, and comes with a `lib` that allows for
setting up logging.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-30 21:26:19 +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
f9af2322f7
log-server: fix compiling for hosted builds
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-28 11:13:39 +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
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