bunnie
08a86749fe
fix hosted mode bugs
2021-05-09 01:13:16 +08:00
bunnie
391122823d
refactor heapless version in attempt to debug issue that cropped up in xous-names
...
somehow, updating the toolchain has broken the FnvIndexMap implementation
2021-05-08 18:44:23 +08:00
bunnie
2d3a643d20
retrofit COM for suspend/resume
2021-04-29 23:53:35 +08:00
bunnie
061284ec5f
debugging BOOST mode glitch issue
...
Here's an arcane bug for you:
When powering down, the Spartan 7 3.3V I/O drivers will
output a roughly 800us wide glitch as 3.3V falls below around
1.7V, if the 0.95V core voltage comes down first (which it does
because we have an active discharge on 0.95V, but not on 3.3V).
In this case, it's just wide and high enough to cause the
BOOST mode line to engage, which takes the BOOST output
and ties it to VBUS, which is just enough for the system to
think you're powering it back on again. Which is not what
you want when powering down.
The ultimate fix was to put a heftier pull-down on the BOOST
line so that it can't trip the BOOST output into the VBUS.
Another option could be more active discharge FETs, but that
would require a full board spin and we are already at certification,
so we'll stick with the stronger pull-down on BOOST. It seems to
be a robust fix in the worst corner cases we can find.
The downside is that when powering an external USB device,
you are burning an extra 30mW of power overcoming the pull-down,
but typically, any external USB devices plugged into Precursor
will burn far in excess of that, so the delta should be negligible.
2021-04-23 15:33:14 +08:00
bunnie
f97b61a788
add the killbounce command
2021-04-23 01:49:03 +08:00
bunnie
ca63091f98
add ship mode command
2021-04-22 18:07:27 +08:00
bunnie
53f3ca20f0
add SSID scanning
2021-04-16 23:58:30 +08:00
bunnie
b2c0608b0b
initial cut at SSID scanning
2021-04-16 23:07:31 +08:00
bunnie
22d676cc59
add reporting of sleep current
2021-04-16 19:58:05 +08:00
bunnie
93400df67c
an initial cut at fcc test commands
2021-04-15 04:10:47 +08:00
bunnie
9f4dc8a7b1
add wifi reset opcodes
2021-04-14 22:43:23 +08:00
bunnie
84853c696a
drop message should be non-blocking
2021-04-09 18:53:41 +08:00
bunnie
2916eb3775
relocate the destroy callback call to after the server exits
2021-04-09 18:51:43 +08:00
bunnie
35353f38dd
bring benchmarks to v0.8 and record benchmark results
2021-04-07 00:45:11 +08:00
bunnie
9ba2fb134c
refactor most major modules, but Xous now crashes
2021-04-05 23:50:00 +08:00
bunnie
8786b6db7b
should be borrowing the name server object to make connections
2021-04-04 02:15:29 +08:00
bunnie
dea8cb8388
fix typos and start on the graphics server
2021-04-02 22:57:02 +08:00
bunnie
c972666f41
implement Drop on Com object
2021-04-02 19:01:11 +08:00
bunnie
39153f6fba
cleanup warnings
2021-04-02 18:07:39 +08:00
bunnie
906f8779a8
cleanup details
2021-04-02 17:57:33 +08:00
bunnie
d6fd42b593
COM refactor of callbacks
2021-04-02 16:40:17 +08:00
bunnie
da255cc1ab
use macro expansion for argument extraction of scalars
2021-04-02 15:38:38 +08:00
bunnie
e3733fa64c
refactor callback methodology to match 0.8 conventions
2021-04-02 15:38:15 +08:00
bunnie
d21c0fa3e7
refactor of COM
...
this was much harder than I liked.
2021-04-02 05:43:47 +08:00
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