Commit graph

253 commits

Author SHA1 Message Date
bunnie
e2379821e6 republish xous-rs to fix cargo test 2025-05-11 15:36:17 +08:00
bunnie
c0b6965adc update pins 2025-05-11 15:06:54 +08:00
bunnie
8a4959056b bump version for xous crate update - commit so we can publish crates 2025-05-11 14:45:24 +08:00
bunnie
12a9511ae3 add keystore to the workspace 2025-05-04 03:34:44 +08:00
bunnie
7d8c3b9d74 add cramium-api and fix formatting in workspace 2025-02-20 15:07:46 +08:00
bunnie
c9d72f8723 add emulation target to workspace 2025-02-18 23:22:35 +08:00
bunnie
66be51c9e4 add blitstr2 library to the workspace 2025-02-17 18:29:02 +08:00
bunnie
b65d352925 add ux-api to the workspace 2025-02-02 07:03:15 +08:00
bunnie
678bb5c1f1 update lockfile and top-level toml file to remove pio refs 2024-12-02 01:22:30 +08:00
bunnie
ec409fedc0 add formatting nit to allow for bodge to work around HW configs
the curve 25519 accelerator hw is different on different targets
so it can't be enabled for all of them all at once.

This is going to be come a bigger problem as time goes on...
2024-11-21 01:37:48 +08:00
bunnie
5c5c473a3f add new baosec packages 2024-11-05 22:10:26 +08:00
bunnie
d39ca54684 lose the local patches 2024-09-23 01:47:55 +08:00
bunnie
888cd2252e
Merge branch 'main' into rkyv-0.8-migration 2024-09-23 01:23:12 +08:00
bunnie
d78cbffec7 update some of the references to published packages 2024-09-23 00:36:27 +08:00
bunnie
4c7c9312c1 change xous-ipc api to 0.10.0 2024-09-23 00:24:48 +08:00
Sean Cross
a77fdac6f0 libs: add flatipc implementation
flatipc is a new method for doing IPC. This is a zero-copy approach
where structs are given `repr(C)` implementations that are well-defined
and work across process boundaries.

If the same struct or enum is used in two processes that has the same
layout, then data can be freely passed between the two processes without
incurring a serialization or deserialization penalty, provided the
following hold:

1. The buffer must be page-aligned and be a multiple of the page size
2. The item must be `#[repr(C)]`
3. There must be no pointers or references of any kind

If these three things hold, then the object is safe to sling across the
process boundary.

This crate adds the ability to annotate structs with
`#[derive(flatipc::Ipc)]` to provide them with this functionality. When
doing so, objects gain the `.into_ipc()` call that turns them into
something that can be sent across process boundaries.

The resulting object has `.lend()`, `.lend_mut()`, `.try_lend()`, and
`.try_lend_mut()` as functions.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-09-22 18:32:58 +08:00
bunnie
abb245543c create a planning directory, and add the rkyv test
The purpose of the planning directory is a place where we can stash
code for reference in various github issues and project plans without
having to integrate it into the code base. This is for large changes
to the code base that require extensive planning and discussion prior
to integration.
2024-09-17 18:29:24 +08:00
bunnie
2bf77883ee add bio-dma to lock and project 2024-06-25 03:33:47 +08:00
bunnie
6b107abab5 add cram-console to workspace 2024-06-13 16:29:58 +08:00
bunnie
a425c863ae undo debug patch 2024-06-11 23:21:34 +08:00
bunnie
f7b4930209 part of the back-trace 2024-06-10 18:46:15 +08:00
bunnie
a721c60d45 add bio to project workspace 2024-06-02 19:17:46 +08:00
bunnie
ceb89c64e6 attempt to remove the last hold-out legacy sha2 dependency 2024-05-12 14:12:28 +08:00
bunnie
9e66c1bee2 commit the version bump 2024-05-07 01:03:05 +08:00
bunnie
2d68807d51
Merge branch 'main' into swap 2024-03-28 18:39:19 -07:00
bunnie
df5923e092 remove engine25519 from workspace 2024-03-28 16:23:32 +08:00
bunnie
1cc0a7121b Point curve25519 patch to the github version 2024-03-25 07:08:27 +08:00
bunnie
a2e6a75b2d add test code to lock and top level workspace 2024-03-23 11:59:31 +08:00
bunnie
e4c7a86aa1 add ourselves to the workspace Cargo files 2024-03-23 11:59:31 +08:00
bunnie
c1af9f32da set up for swap mods 2024-03-23 11:59:31 +08:00
bunnie
c121da07ac cargo.toml points to local repo. should fix this before merge! 2024-03-11 19:12:50 +08:00
bunnie
cfafa7f609 Update Cargo.toml to point to the git-based version of ring
this will allow the gh actions check to succeed, hopefully?
2024-03-02 01:21:56 +08:00
bunnie
5fb368ae05 partial progress on porting to ring-0.17 2024-02-09 17:18:41 +08:00
bunnie
e8f9152703 chore: fix patch pin for curve25519-dalek
the crate is patched so @kotval can do dev work on the crate,
but we should build from mainline for CI testing for now.
2024-02-09 14:42:17 +08:00
bunnie
85b6e2ca85 add bread crumb for sha2 debugging 2024-02-08 17:45:08 +08:00
David Kotval
e619803114 fix: don't break hosted mode 2024-02-07 13:56:02 -06:00
bunnie
71d38008b8
Merge pull request #494 from gsora/gsora/app-hid
services/usb-device-xous: generic USB HID framework
2024-02-01 13:11:41 +08:00
bunnie
d33f7e8cd1 point to the online versions of the sha branches 2024-02-01 01:12:59 +08:00
Gianguido Sora
79db9702e3 Merge branch 'main' into gsora/app-hid 2024-01-30 18:49:09 +01:00
bunnie
42897e4fa0 point the sha2 patch to the new source
this sets up ... all the rest of the drama to come in this PR.
2024-01-30 01:41:34 +08:00
bunnie
c133d61336 add cram-hal-service
this is the hub service for all the cramium-soc global hardware
issues. Kind of like the equivalent of `llio` on Precursor, but
hopefully slightly better thought-out.

The first service implemented here is an IFRAM allocator, which
is essential for all things DMA and UDMA.
2024-01-21 00:34:31 +08:00
bunnie
28d959f938 add cramium-hal library 2024-01-18 18:00:49 +08:00
bunnie
e274fa8873 relate perlib to the libs/ directory
perflib was made before we had libs, so put it into its new, proper
home.
2024-01-15 00:52:43 +08:00
bunnie
b0a150c0c8 add test-spawn to lockfile so we can format it 2024-01-14 22:45:36 +08:00
bunnie
84ec9f7fd0 add a missing package so we can format it 2024-01-14 22:29:33 +08:00
bunnie
6699b9ec92 update lockfile to reflect removal of sigchat 2024-01-09 14:23:06 +08:00
Gianguido Sora
b62912914b apps: add hidv2 demo app 2023-12-26 18:35:30 +01:00
bunnie
7dc4b9213f add chat-test mini-app
this now contains the UI tests as a stand-alone app
2023-12-02 16:09:59 +08:00
bunnie
367ede62b1 convert usbd-human-interface-device to xous-usb-hid 2023-11-16 17:27:00 +08:00
bunnie
063800a894
Merge pull request #447 from nworbnhoj/sigchat
Sigchat skeleton
2023-11-14 15:49:23 +08:00