bunnie
467254fa81
lay down some initial data structures to talk to the UDC
2022-04-27 02:41:07 +08:00
bunnie
a7684343f2
add first commands to toggle core connectivity
2022-04-27 01:22:53 +08:00
bunnie
17cc92eadd
ignore changes to Renode filesystem template
2022-04-27 01:22:28 +08:00
bunnie
49dcbb0a8a
update renode to contain USB device mappings
2022-04-27 01:16:14 +08:00
bunnie
5f2eef3afd
initial toy repl for usb debugging
2022-04-27 00:53:58 +08:00
bunnie
b216c20d0b
Merge branch 'main' into usbdev
2022-04-25 22:45:24 +08:00
bunnie
99a7d2b6e3
add forwarding to release notes
2022-04-25 22:45:09 +08:00
bunnie
9768503087
Merge branch 'main' into usbdev
2022-04-25 18:44:37 +08:00
bunnie
f6b39158db
Merge pull request #151 from betrusted-io/regifting-fixes
...
Regifting fixes
2022-04-25 18:43:41 +08:00
bunnie
33a3cfa7c2
fix typo
2022-04-25 18:34:31 +08:00
bunnie
a9b2dd535a
add a note to remind about the purpose of the unsub test command
2022-04-25 18:32:09 +08:00
bunnie
d23dbd1db8
add an explicit test of the unsub path
...
normally you would never use this, this would cause the
connection manager to muck up.
2022-04-25 18:30:43 +08:00
bunnie
969b4ec868
refactor net firewall to use .forward() method
2022-04-25 18:30:24 +08:00
Sean Cross
617e075c08
xous: handle forwarding of BlockingScalar messages
...
These are not automatically returned on their own, so handle the return
manually.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:52:09 +08:00
Sean Cross
fa98b865df
xtask: add --no-timestamp option
...
Add a --no-timestamp build option to skip rebuilding `ticktimer`.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:41:35 +08:00
Sean Cross
7d8ff07caf
xous: use the alloc API for allocating memory
...
Don't rely on the trick where we use a `Vec<u8>`. Call the `alloc` API
directly for all packet types.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:31:27 +08:00
Sean Cross
c956cb7da5
xous: add Envelope.forward() to forward messages
...
Messages should be able to be forwarded from one Server to another. This
is a wrapper around the machinery that would do that.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:31:27 +08:00
Sean Cross
d8a413b7c2
xous: add take_message() and send() calls to the envelope
...
Add a function to enable "regifting" a message that was sent to you.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:31:27 +08:00
Sean Cross
04e91b8c44
xous: messages: add set_id() to set Message ID
...
Allow setting a message's ID by adding a `set_id(&mut self, ...)`
function. This can be used when regifting a message.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:31:27 +08:00
Sean Cross
ddd7c6715a
xous: hosted: use Vec as a memory backing
...
Use a `Vec<u8>` as a backing for memory across the entire project.
Previously we used `Vec<u8>` as a backing for MemoryMessages and used
`alloc` for all other messages. This unifies that to always use
`Vec<u8>`.
I'd prefer if we used `alloc` instead, however that has not been working
and I'm not sure why. Standardize on this for now and look into why
later.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:31:27 +08:00
Sean Cross
2084a9cda4
xous: split messages into a sub-module
...
The `Messages` types were getting hairy, and `definitions.rs` was really
long. Trim it down by moving types into their own files.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-25 17:31:27 +08:00
bunnie
f531955c44
Merge branch 'main' of github.com:betrusted-io/xous-core into main
2022-04-24 21:53:36 +08:00
bunnie
8d28f130ea
fix a missing case for hardware not caught by hosted mode
2022-04-24 21:53:18 +08:00
Sean Cross
88a0be5e4b
CONTRIBUTRING: Update license link
...
Correct the link to the licenses directory to address #148
2022-04-24 21:48:43 +08:00
bunnie
ed8e73764a
add Cargo.lock
2022-04-24 21:41:18 +08:00
bunnie
f8246b14f5
run rustfmt on the modals crate
2022-04-24 21:40:42 +08:00
bunnie
26e98ec255
add PR #150 to release notes
2022-04-24 21:37:56 +08:00
bunnie
547783d195
Merge pull request #150 from nworbnhoj/qrcode
...
enable notification modal text + qrcode
2022-04-24 21:36:38 +08:00
bunnie
5b32fac3cc
add PR #149 to release notes
2022-04-24 21:33:27 +08:00
bunnie
62d56fb70b
Merge pull request #149 from nworbnhoj/index
...
modal selected index support
2022-04-24 21:27:08 +08:00
nworbnhoj
0e561802ce
enable notification modal text + qrcode
...
change the notification modal to accept the primary message and an
Option of independent text to display as a qrcode
pub fn show_notification(&self, notification: &str, qrtext:Option<&str>) -> Result<(), xous::Error> {}
2022-04-24 21:29:15 +10:00
nworbnhoj
2070236695
minor refinements requested on PR
2022-04-24 20:09:43 +10:00
nworbnhoj
e879ff4b17
modal selected index support
...
Support for:
- obtaining the index of the selected radiobutton & checkbox
- adding a Vec<&str> of items
2022-04-24 08:28:02 +10:00
bunnie
ce5a81878c
fix for issue #145
2022-04-24 00:16:27 +08:00
Sean Cross
ae60065040
Merge pull request #147 from degregat/fix-jtag-peripheral
...
Fix jtag peripheral for emulation of xous-release
2022-04-23 21:43:11 +08:00
Daniel Reusche
d94d633b47
Fix jtag peripheral for emulation of xous-release
...
Closes #146 . Jtag.cs was misspelled in betrusted.resc
Signed-off-by: Daniel Reusche <code@degregat.net>
2022-04-23 15:34:13 +02:00
bunnie
bfc369e77e
update PR number in release notes
2022-04-23 18:01:30 +08:00
bunnie
b9e17e9a9e
Merge pull request #143 from nworbnhoj/patch-1
...
Pass thru buffer serialize Err
2022-04-23 18:00:15 +08:00
bunnie
23aa3a43ab
annotate issue #141 into release notes
2022-04-23 17:58:02 +08:00
Sean Cross
f0f1b72e0c
log-server: refactor to use stack-allocated buffers
...
Instead of having a single, shared buffer, simply stack-allocate the log
buffers.
This paves the way in the future to allow for buffers that are
larger-sized and span multiple pages. But most importantly it alleviates
inter-thread locking and contention when passing messages.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-23 12:46:20 +08:00
Sean Cross
234c169809
log-server: allow maximum-length buffers to be printed
...
Previously, we would reject buffers that were the maximum allowed size.
This is reported in #141 .
Allow these maximally-sized buffers to be printed, since they don't end
up causing a problem.
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-23 12:45:27 +08:00
nworbnhoj
00af36d6de
Pass thru buffer serialize Err
...
It is more helpful to pass thru the error because "couldn't serialize" does not help the developer to resolve the issue.
2022-04-23 13:11:52 +10:00
bunnie
ac8decce88
Update RELEASE-v0.9.md
2022-04-23 00:13:52 +08:00
bunnie
1c0a9fab34
Update RELEASE-v0.9.md
2022-04-23 00:13:22 +08:00
bunnie
8d0e3e6958
Merge branch 'main' into usbdev
2022-04-22 19:41:03 +08:00
bunnie
c539a1348e
Merge pull request #140 from gsora/feature/multi-text-modals
...
feature: multi-text TextEntry modals
2022-04-22 19:39:24 +08:00
Gianguido Sorà
548049d8d5
restore format on save for vscode
2022-04-22 12:21:42 +02:00
Gianguido Sorà
1fb0c2e6a2
Merge pull request #1 from betrusted-io/multi-text-modals
...
Multi text modals
2022-04-22 12:02:58 +02:00
bunnie
987f40f5de
minor fixes to multi-modals input
...
- track field heights using the drawing height directly
- use an &mut reference in the text processing section so changes stick
- other minor cosmetic improvements
2022-04-22 17:44:25 +08:00
bunnie
34c2ffe1a3
fix password entry to work with the new return type
...
also requires a call to `reset_action_payloads` for the
number of field elements to be recorded correctly!
2022-04-22 17:43:26 +08:00