bunnie
6f522b0844
tag Rust issue onto a wart in the LLIO API crate for better tracking
2021-11-01 04:18:53 +08:00
bunnie
7de925d3f1
add maintenance notes around the fix for https://github.com/rust-lang/rust/issues/90195
2021-10-23 17:50:33 +08:00
bunnie
c245e78255
Merge remote-tracking branch 'origin/main' into bunnie-dev
2021-10-23 17:45:24 +08:00
Sean Cross
adccb61e43
services: llio: work around rkyv bug in rust 1.56
...
A bug in the type system appeared that prevents using constants in rkyv
arrays. Hardcode the value instead.
Signed-off-by: Sean Cross <sean@xobs.io>
2021-10-23 17:25:41 +08:00
bunnie
ec538025a8
changes to bring us up to date with rust 1.56. still not building.
2021-10-23 17:08:48 +08:00
bunnie
84a2e9f768
fix status bar so that it redraws out of suspend/resume
...
the bootloader modifies the screen, so all elements must
be redrawn regardless of the pervious state change!
2021-07-11 18:47:19 +08:00
bunnie
75dca6bd4c
checkin for a rollback to sanity check some things
2021-06-25 02:09:42 +08:00
bunnie
afa55055ea
add serial console mux setting
2021-06-24 13:52:44 +08:00
bunnie
25e6bced00
add power-on utilization reporting
...
there is now an extra field in the status bar that gives
the %'age of time that the clocks are running.
2021-06-02 01:08:31 +08:00
bunnie
ee2e38be05
add commands to help manage wfi/power debugging
2021-06-01 17:02:30 +08:00
bunnie
52c32cc4d1
auto-powerdown of sha block when not in use
2021-05-30 00:12:18 +08:00
bunnie
b50aa60591
clean up some visibilities and warnings, get rid of the old, bad API
2021-05-06 05:13:23 +08:00
bunnie
bc82dbd157
transition i2c api on codec, finally found the damn race condition
2021-05-06 05:05:17 +08:00
bunnie
b596c40dd6
refactor I2C to have work queue, cleaner (but untested) APIs
2021-05-06 03:40:04 +08:00
bunnie
bb5bc1d212
refactor i2c to break out the i2c machine to a separate server
...
the concurrency issues on I2C are getting hairy, and it was probably a
dubious decision from the start to merge I2C into the LLIO block; but
originally this was motivated by the idea of keeping all the
"miscellaneous slow stuff" in one process to keep the memory footprint
small and make code a bit more readable.
Keeping I2C in the same process space as the LLIO but splitting it
into its own thread and server splits the difference, by giving us
more options to deal with the concurrency, without inflating the size
of the kernel binary and allocating a lot of extra static data.
2021-05-06 00:45:14 +08:00
bunnie
01e2c7edca
migrate to an interrupt-handler only I2C handler
...
the amount of time it takes to send messages to initiate each
packet is too slow, and causing timeouts. By handling the I2C
directly in an interrupt handler, we accelerate the bus, at
the expense of no visibility via log/trace messages.
2021-05-03 18:53:17 +08:00
bunnie
0e2d57c9fb
retrofit the kernel and loader to handle resume
...
and now the even harder debuggening begins...zomg o_O
2021-04-30 01:55:38 +08:00
bunnie
a55735fb1f
add llio to suspend/resume set
2021-04-29 23:15:47 +08:00
bunnie
cad9c15849
intermediate save of suspend resume
...
building an awful rube-goldberg contraption of a "clean-suspend"
record.
2021-04-28 19:28:04 +08:00
bunnie
a9de4782c5
crashing on load when logger is in callback
2021-04-08 23:07:02 +08:00
bunnie
45c90659e5
rtc first draft
2021-04-08 02:30:57 +08:00
bunnie
0f9eea10d9
flesh out callback handling of events in LLIO
2021-04-07 18:29:50 +08:00
bunnie
d5aef77bdc
clean up warnings, as much as they make sense to clean up
2021-04-07 00:48:48 +08:00
bunnie
b9162fda3d
gettin' there! major modules now mostly working under v0.8
2021-04-06 19:32:35 +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
2d5c1dd6db
leverage min_const_generics and cleanup
...
the spoils of a hard fought battle to refactor to rkyv 0.4.1
2021-03-18 04:00:38 +08:00
bunnie
8fbd900a4c
Merge branch 'hardware-no-cb' into rkyv-refactor
...
Bring the two branches up to date, while also laying the groundwork
for XousServerName to be used as a native index type in xous-names
so we aren't burdening xous::String with a hasher
2021-03-17 16:06:06 +08:00
bunnie
d74b3189e6
it builds, at least.
2021-03-16 16:37:38 +08:00
bunnie
eff3e7d7bf
incremental i2c changes
2021-03-16 15:52:13 +08:00
bunnie
f9439b48d6
checking in a refactor that we're going to abort
2021-03-16 12:27:29 +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
ab1b839900
checkpoint before figuring out how to deal with the String rkyv version issue...
2021-03-16 00:11:23 +08:00
bunnie
be38661a1e
half-baked i2c stuff, but about to tear a bunch of it out
2021-03-15 14:58:48 +08:00
bunnie
0dbfa6a668
clean up warnings
2021-03-11 04:09:47 +08:00
bunnie
4baaec61d2
add sensors command to read ADC values
2021-03-11 02:57:58 +08:00
bunnie
835bee2c75
lay in foundations to support the sleep function
2021-03-11 01:45:54 +08:00
bunnie
6bbb3f9644
add note about where things got left off
2021-02-10 20:59:14 +08:00
bunnie
9ad83d4873
a bunch for run-of-the-mill system functions in llio implemented
2021-01-28 04:03:30 +08:00
bunnie
7d3ef78f2a
about halfway through the API implementation
2021-01-28 02:56:00 +08:00
bunnie
8ed37a0dcb
add API framework for LLIO
2021-01-27 13:33:03 +08:00