bunnie
470b5c6440
finalize API refactor for xous-names
2021-03-30 02:13:23 +08:00
bunnie
f35d478cf0
attempt to refactor xous_names
2021-03-29 04:35:11 +08:00
bunnie
e889765caf
refactor the Ticktimer API.
2021-03-28 18:14:41 +08:00
Sean Cross
fdce58d06e
ipc: convert project to use xous-ipc
...
This rewrites the entire project so that most runnable projects now use
`xous-ipc` instead of `xous::String` where possible.
This also removes `rkyv` from the list of dependencies in `xous-rs`.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 20:22:33 +08:00
bunnie
d68e3e8cf4
an attempt to refactor to rkyv 0.4.1
...
unfortunately, it looks like deserialize requires an alloc??
2021-03-16 02:02:53 +08:00
bunnie
e62256b3df
clean up hosted mode warnings
2021-03-03 22:50:46 +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
Sean Cross
5979556a2c
services: com: fix warnings in lib
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:51:23 +08:00
Sean Cross
c4fb83b22f
services: com: remove unused imports from main
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:50:12 +08:00
Sean Cross
c820573450
services: com: remove unused imports from api
...
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-17 20:47:07 +08:00
bunnie
07b3dd9afa
add PID printout to every service as it starts
2021-02-15 19:16:21 +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
ed5cdabe40
port COM name registration to use rkyv instead of Sendable
2021-02-13 17:52:50 +08:00
bunnie
7e0902344c
move XousBuffer to xous-rs
2021-02-13 01:42:31 +08:00
Sean Cross
704c0f47bf
com: don't use internal xous_names register api
...
This API is now private.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-02-10 15:03:35 +08:00
bunnie
cc6992c3df
implement "imports" methodology
...
This commit simplifies managing git-repo hosted dependencies, so
there is a single location for changing the package path.
2021-01-20 16:22:38 +08:00
bunnie
73286828c8
more GAM API fleshing out; now to the point of updating a TextView
2021-01-18 04:12:40 +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
2eafe825b8
refactor COM to use generic name registrations for event listeners
2021-01-12 18:44:02 +08:00
bunnie
426c747f8f
keyboard server basics seem working
2021-01-12 04:13:15 +08:00
bunnie
aeadbfb1b5
fix up keyboard API to use scalars, add demo connection
...
also fix a bunch of other idiomatic weirdnesses
2021-01-12 00:00:57 +08:00
bunnie
ea78de8014
convert all services to use xous-names server
2021-01-09 02:12:01 +08:00
bunnie
4ef581a266
riddled with race conditions, but...sort of works
2021-01-08 05:20:53 +08:00
bunnie
ab6fa7ae1c
another intermediate checkout
2021-01-07 22:30:26 +08:00
bunnie
95d4f03591
intermediate checkin
2021-01-07 21:53:08 +08:00
Sean Cross
6ccbacf65f
loader: assign sections to process ownership
...
This ensures these addresses aren't re-used and handed out again by
memory allocation.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-07 20:33:21 +08:00
bunnie
323c11f554
commit a version that exhausts the kernel allocation
2021-01-07 16:58:13 +08:00
bunnie
0d869870ae
this code works in hosted mode but fails on hardware
2021-01-05 15:48:51 +08:00
bunnie
bdbe8f8288
intermediate checkin
2021-01-05 04:40:34 +08:00
bunnie
cce89395f6
test framework for xous-names
2021-01-04 23:34:18 +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
1359db06f4
add repeat command for stand-alone emissions testing
2021-01-03 03:04:25 +08:00
bunnie
63234411e2
get fcc test working
2021-01-02 03:04:28 +08:00
bunnie
3ceb41208c
checkpoint: problems with pds send line (borrowed memory)
2021-01-01 03:44:42 +08:00
bunnie
534fb5373a
intermediate checkin for sharing
2021-01-01 00:45:07 +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
bunnie
a129b48858
remove debug.rs from COM
2020-11-27 16:48:57 +08:00
Sean Cross
8e2faddd2f
com_rs: use git protocol in Cargo.toml
...
Don't use git submodules, which can be confusing. Instead, use a git
repo in the Cargo.toml file.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-27 09:47:32 +08:00
bunnie
19a7a9ce98
get threaded version of COM handler working
2020-11-27 01:32:10 +08:00
bunnie
99d8f2a525
version with threads compiles, but doesn't work yet
2020-11-27 00:35:29 +08:00
bunnie
b568d86153
get non-blocking gas gauge checking working
2020-11-25 23:06:57 +08:00
bunnie
62f8ce32f0
attempt a refactor to add non-blocking battery status checking
...
stuck at trying to receive messages in the main shell in a
non-blocking manner
2020-11-25 19:58:24 +08:00
bunnie
d583e20b18
very basic battery monitoring via COM
2020-11-25 05:11:32 +08:00
bunnie
058c4473bb
helps to add the source code too
2020-11-24 22:45:44 +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