Commit graph

2678 commits

Author SHA1 Message Date
Sean Cross
97ac5e1cd6 Merge branch 'main' of github.com:betrusted-io/xous-core 2022-03-17 11:25:44 +08:00
Sean Cross
d87a946bd9 services: dns: run rustfmt on project
Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-17 11:25:23 +08:00
bunnie
19b9b817a4 add a battery disconnect option to the main menu
this will disconnect the battery and put the device in a very low power
state, and you can only power it back on again by plugging it into
a power source briefly.
2022-03-17 03:37:34 +08:00
Sean Cross
dd9d56507c
Merge pull request #112 from betrusted-io/xous-names-blockingconnect
xous-names: add `BlockingConnect` opcode
2022-03-15 16:34:44 +08:00
Sean Cross
d738b9fd51 xous-names: add BlockingConnect opcode
This opcode allows a client to request a connection to the Server, and
will only return if there's an Error or a Connection.

This contains future support for AuthenticationRequests, however those
are not yet implemented.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-15 15:22:15 +08:00
bunnie
4f65fe522f fix debug print locations for loader 2022-03-14 01:19:38 +08:00
bunnie
5e99984871 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-03-11 21:27:23 +08:00
bunnie
3f6c2a6a5f fix a misplaced comment 2022-03-11 21:26:48 +08:00
Sean Cross
0f556d019b Merge branch 'main' of github.com:betrusted-io/xous-core
Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-11 20:42:38 +08:00
Sean Cross
3010d37809 svd2repl: remove warnings on unused fields
Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-11 20:40:09 +08:00
Sean Cross
2410de034a services: ticktimer: implement condvar support
This first draft adds Condvar as a primitive that can be used by libstd.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-11 20:39:42 +08:00
bunnie
bbccf1c2a7 reached a reasonable integration point for tts until braille protos are in
tts is working fairly well and much more stably, menus and ui
elements are wired up for tts.

just waiting for the latest braille keyboard pcb to come in and
then we'll be able to fire off some prototypes...
2022-03-11 19:08:39 +08:00
bunnie
34c9d83cba add a hack to change the locale for tts builds
unfortunately it greatly increases build times. need to think about
this but at least it prevents me from checking in a locale file that
breaks all the other dev's builds
2022-03-11 19:04:11 +08:00
bunnie
4f9ff8fb11 revert the locale 2022-03-11 18:59:46 +08:00
bunnie
7b45241f2a cleanup a warning when not in tts mode 2022-03-11 18:39:10 +08:00
bunnie
13ac7d4228 Merge remote-tracking branch 'origin/main' into tts 2022-03-11 17:18:11 +08:00
bunnie
2a099c3110
Merge pull request #108 from jrb/main
add drain and can_play stubs to hostaudio backend
2022-03-11 15:06:17 +08:00
Jared Baldridge
f37df5b880 add drain and can_play stubs to hostaudio backend 2022-03-10 13:38:59 -08:00
bunnie
b246a369d4 lay in another layer of tts functionality
now shellchat can talk, and password entries are a thing.

next up: debug oom issues in STT when we start doing really big
strings.
2022-03-11 02:37:48 +08:00
bunnie
c44f794dfe baseline before moving onto the next stage 2022-03-11 00:03:31 +08:00
bunnie
70b329f129 oops fix locale for push to main 2022-03-10 23:49:37 +08:00
bunnie
9f6e444e3f back out testing structures 2022-03-10 23:45:49 +08:00
bunnie
33c25b0804 add TTS translations strings for describing modal meta-actions 2022-03-10 23:44:56 +08:00
bunnie
e8b13fcb44 integrate TTS into more dialog boxes and modals
also tighten up the `blocking` method for TTS for prompts that
absolutely should not be truncated or overriden.
2022-03-10 23:40:35 +08:00
bunnie
2b33371a36 add emoji back into the tts set
this is helpful for debugging
2022-03-10 18:08:56 +08:00
bunnie
ac059eae48 retrofit more tts in various corner cases 2022-03-10 18:05:33 +08:00
bunnie
dc2c393c5c update scripts to accept a locale argument 2022-03-10 16:22:48 +08:00
bunnie
21ad8d9283 change en-audio to en-tts 2022-03-10 15:38:55 +08:00
bunnie
80a835ba83 fix up warnings and latest cargo.toml 2022-03-10 15:33:14 +08:00
bunnie
71d9cc38af fix (or at least improve) simultaneous tts initiation crash 2022-03-10 04:00:09 +08:00
bunnie
a998cf06c4 Merge branch 'main' into tts 2022-03-10 02:22:05 +08:00
bunnie
0303a93ba5 update patch.rs to use the space-optimized format
saves ~64k of runtime, and compilations are faster.

downside is that the gateware patching process seems to run a little bit
slower, perhaps since the loads aren't fully unrolled into individual
instructions.
2022-03-10 02:16:52 +08:00
bunnie
7da36a15b0 add optimized codegen path 2022-03-10 02:16:36 +08:00
bunnie
1dec7e6e7d fix tests 2022-03-09 22:46:55 +08:00
bunnie
9942f77226 pull in the latest cargo lock 2022-03-09 20:43:49 +08:00
bunnie
d12853ecbe Merge branch 'main' into bunnie-dev 2022-03-09 14:17:58 +08:00
bunnie
24e295e059 right...don't check that version of xtask in. 2022-03-09 03:51:28 +08:00
bunnie
446317bdd4 add speech rate library call and default setting
350 wpm was the requested default!
2022-03-09 03:48:12 +08:00
bunnie
1227ee06ab final integration with on-line binary download of TTS exec 2022-03-09 00:25:30 +08:00
bunnie
9c696af96f refer tts backend to the crates.io published version 2022-03-08 19:27:09 +08:00
bunnie
9ddc67e01b revert the buildpush script 2022-03-08 19:08:57 +08:00
bunnie
e566ab4e9a greatly improve short sample handling, reduce talk latency 2022-03-08 19:03:40 +08:00
bunnie
9116cb02b1 back-propagate pause->abort changes.
in many of the test routines what we really wanted was an
abort, not a pause.
2022-03-08 19:03:02 +08:00
bunnie
4440e61d02 fix short sample problems, add pause/abort API
pause API waits till the buffer drains to stop playback
abort causes playback to stop immediately, causing pending
frames to go empty.
2022-03-08 19:02:02 +08:00
bunnie
19f09b9ed3 suppress warning messages if no apps are selected 2022-03-08 17:39:57 +08:00
bunnie
c763ede830 tts integration working 2022-03-08 04:41:45 +08:00
bunnie
1d6fbbe5bb add the basic text to speech infrastructure.
also creates a method for isolating incompatibly licensed repos
2022-03-08 03:08:12 +08:00
bunnie
3325a96fd4 Merge branch 'main' into tts 2022-03-08 00:24:38 +08:00
bunnie
f6e9c850da revert inadvertent change to buildpush.ps1 by the merge 2022-03-08 00:23:40 +08:00
bunnie
eb7d35e484 Merge branch 'ffi' into main
this add some routines and test stubs that are helpful for debugging
C FFI integrations. In particular it provides some harnessing that adapts
a minimal selection of libc functions by copypasta of various bsd/mit
licensed libc implementations. It also provides a cheesy malloc using
a Rust Vec...only suitable for simple, single-threaded work, but enough
to unlock a reasonable range of middleware.
2022-03-08 00:20:50 +08:00