Commit graph

29 commits

Author SHA1 Message Date
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