Commit graph

24 commits

Author SHA1 Message Date
bunnie
de514ac66f rename packages in prep for upload to crates.io 2022-10-03 00:24:45 +08:00
bunnie
fb29c9b2c1 refactor utra target line to use explicit feature targets
still need to rework the crate feature selection
2022-10-02 02:20:03 +08:00
bunnie
ecab0ba045 fix default-features in services 2022-09-27 02:44:46 +08:00
bunnie
d667d7e1f5 bump xous-ipc version 2022-09-27 01:14:43 +08:00
bunnie
3579dfdd17 update xous-ipc and xous versions 2022-09-26 16:07:35 +08:00
bunnie
114d60bc53 migrate logserver API to external package 2022-09-26 14:06:46 +08:00
bunnie
e32ea4d3f5 fix #174 2022-06-10 21:36:53 +08:00
Sean Cross
3ae9d8abf0 apps/services: remove xous::xous_main macro usage
This macro will be removed, since it is no longer necessary. Remove this
macro across the project and replace it with a standard `main()`
function.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-05-31 13:33:30 +08:00
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
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
6efc6bdfd5 services: kernel-test: add loopback test
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 16:01:57 +08:00
Sean Cross
6cdd9b4b4c services: use shorter timeout for thread 4
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 11:31:50 +08:00
Sean Cross
5367697b54 services: kernel-test: use create_thread_n
Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-25 11:12:44 +08:00
bunnie
bb3d96de27 Merge branch 'master' of https://github.com/betrusted-io/xous-core into HEAD 2021-03-25 02:37:58 +08:00
bunnie
8763cf3133 stash before merge 2021-03-24 22:48:23 +08:00
Sean Cross
2d7dda93a9 kernel-test: add testcase for ticktimer/kernel bustage
The ticktimer server breaks spectacularly with this.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-24 12:51:06 +08:00
Sean Cross
91647592ca kernel-test: implement sleep test
This patch implements a simple sleep test.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-23 19:53:54 +08:00
Sean Cross
751dc8ee3a kernel-test: add test for ticktimer-server
This test is an attempt to fix `sleep_ms()`.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-18 20:10:58 +08:00
Sean Cross
0c6cb9135e services: add kernel-test
This was used to demonstrate the message passing bug.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-03-03 21:22:26 +08:00