bunnie
0aa2f21f0b
make scheduler quantum a visible parameter, and adjust to 10ms down from 20ms
2022-05-12 17:49:03 +08:00
bunnie
caf91e18ca
fix net reset
...
we no longer create a new interface on net reset, which means that
the socket handles don't blow up if we change IP addresses.
However, the ARP cache is still stale and there seems to be on way
to force it to flush....but I guess in theory, eventually it
should fix itself, if smoltcp is working correctly?
2022-05-12 10:34:19 +08:00
bunnie
cc7e7f97c7
update smoltcp to 0.8.0
...
the refactor changes the way sockets are handled, so now, when
the interface is rebound we are certain to get panics.
working on resolving this detail now, but at least the interface
is working now and it seems more stable than before.
2022-05-12 09:27:51 +08:00
bunnie
fd500927d3
quit fountain generator if error is encountered
2022-05-11 22:20:15 +08:00
bunnie
ce116c2c0d
add "fountain" test to net suite
2022-05-11 21:24:04 +08:00
bunnie
867b0efdf2
hosted mode breaks under windows due to missing .exe on some configs
...
I don't know why it doesn't break under a default config, but if
xous-core is cloned to a directory that doesn't match the repo
name this breaks. This patch tries to fix it for that case.
2022-05-10 17:37:41 +08:00
bunnie
8af8926ad1
make disk sizing errors non-fatal in hosted mode
...
it can be innocuous in the case that you're changing sizes
for debugging
2022-05-10 17:37:08 +08:00
bunnie
9419ed6078
update release, fix warning
2022-05-10 17:36:52 +08:00
bunnie
b9262dc390
Merge pull request #153 from nworbnhoj/qrcode
...
refine qrcode handling
2022-05-10 02:06:33 -07:00
bunnie
9e350e739a
Update i18n.json
...
add translations
2022-05-10 17:05:59 +08:00
nworbnhoj
dd1ce051d1
refine qrcode handling
...
- expand max text.len to 4096
- throw error on overrun
- simplify qrcode rendering (reduced memory & math)
- correct module size by 1px
2022-05-08 10:00:41 +10:00
bunnie
ea6cf27ed9
fix PDDB length field -- somehow this got flipped from the debug branch
2022-05-06 14:43:29 +08:00
bunnie
ee0f443883
hoist net thread exhaustion check to before we check the poll interval
2022-05-06 14:17:29 +08:00
bunnie
e2c07bd4d7
fix warning
2022-05-06 14:16:54 +08:00
bunnie
ccb3e495e1
hoist net thread exhaustion check to before we check the poll interval
2022-05-06 14:15:53 +08:00
bunnie
9893e70759
fix warning
2022-05-06 13:45:22 +08:00
bunnie
71e41d4b0a
fix buffer length check computation
2022-05-06 13:45:22 +08:00
bunnie
413b7153ac
refactor wait timer for net pump
2022-05-06 13:44:03 +08:00
bunnie
99a7d2b6e3
add forwarding to release notes
2022-04-25 22:45:09 +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