Commit graph

25 commits

Author SHA1 Message Date
bunnie
b3788a54af clarify the dependency policy 2022-01-10 16:50:10 +08:00
bunnie
995915ed4e nail down a couple more dependencies, and add a policy note to Cargo.toml
Each Cargo.toml now includes a comment which remnids maintainers
of the dependency policy for Xous (that is, nail down every dependency
to the minor number).
2022-01-10 15:54:27 +08:00
bunnie
dd943c5416 pin down versions and harmonize versions across servers
Versions are pinned down to the minor number. Yes, this means that
we don't automatically pull in features and bug updates from crates.io,
but it also means we don't pull in new attack surfaces and code that
hasn't been tested or reviewed. I'd like this process to be very deliberate
and not automatic for Xous.

The `rand` crate is almost pinned down to a single version, except
for an odd dependency that's pulled in by hosted mode that depends
on rand 0.8.4 via a subordinate dependency via the `tempfile` crate.
Pondering if it's worth it to try and eliminate that, because the
0.8.4 version doesn't get compiled into any version that touches
real hardware. It just makes it harder to analyze the Cargo.lock
file, mostly. I think I'll leave it as-is.
2022-01-10 15:39:55 +08:00
bunnie
c0ce66ee51 fix permissions. windows is sort of stupid and makes everything +x 2021-08-19 23:34:29 +08:00
bunnie
2a2c75f420 add a rustfmt.toml and run rust fmt on the project
notably directories written by bunnie are excluded.
2021-08-19 23:33:23 +08:00
bunnie
c7f1fe0817 cleanup after debugging ticktimer
the problem was that the load signal was not being respected
by the hardware, small patch to FPGA required but now all is OK.
2021-05-01 20:56:12 +08:00
bunnie
b28dff273f intermediate checkin figuring out ticktimer issue
seems to be a hardware problem with the loading routine
2021-05-01 19:13:22 +08:00
bunnie
087bb39ea7 chase down some bugs
noted there is a heisenbug on the ticktimer, it only manifests
when the log level is at info. go figure!
2021-05-01 02:26:28 +08:00
bunnie
640ddb48e8 suspend/resume now works to hardware 2021-04-30 19:29:36 +08:00
bunnie
a55735fb1f add llio to suspend/resume set 2021-04-29 23:15:47 +08:00
bunnie
6e1e74ed84 a minimal but successful touch-and-go suspend/resume cycle 2021-04-29 16:37:43 +08:00
bunnie
bbcf698ff3 flesh out a simple touch-and-go suspend/resume demo loop
now the debuggening begins. lord help us.
2021-04-29 02:56:53 +08:00
bunnie
8c12dbe2af found a bug. 2021-04-06 01:52:26 +08:00
bunnie
9ba2fb134c refactor most major modules, but Xous now crashes 2021-04-05 23:50:00 +08:00
bunnie
6d4916972b keyboard refactor now working 2021-04-04 18:23:26 +08:00
bunnie
da7ace04d4 rebuild and prep for testing on hardware 2021-04-04 02:15:46 +08:00
bunnie
39153f6fba cleanup warnings 2021-04-02 18:07:39 +08:00
bunnie
c6645c6626 add comment to remind myself on how callbacks should work 2021-04-02 17:58:03 +08:00
bunnie
d6fd42b593 COM refactor of callbacks 2021-04-02 16:40:17 +08:00
bunnie
e889765caf refactor the Ticktimer API. 2021-03-28 18:14:41 +08:00
Sean Cross
f6c2ee4410 rkyv-test-client: use new log_message_send()
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 17:17:03 +08:00
Sean Cross
561a0c3e27 rkyv-test-client: make doubling string dynamic
This tests for emoji as well as making sure it's working as intended.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:40:47 +08:00
Sean Cross
22b50d080b rkyv-test-client: dynamically generate log message string
By dynamically generating the log message string, we ensure dynamic
buffer adjustments are accepted.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:33:30 +08:00
Sean Cross
0f455a9a02 rkyv-test-client: use new double_string call
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-26 12:16:26 +08:00
Sean Cross
fd255d8f53 services: add rkyv-test-client and rkyv-test-server
These servers demonstrate how we might use rkyv in the future.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 23:39:35 +08:00