Commit graph

2711 commits

Author SHA1 Message Date
bunnie
2aa72fae18
Update factory_reset.sh 2022-03-19 09:01:40 +08:00
bunnie
d9f4f6d041
Update factory_reset.ps1
move soc update to top so we don't get resets from latest xous
2022-03-19 09:00:58 +08:00
bunnie
eae61df786
Update factory_reset.sh
move soc update to the top to avoid wdt resets
2022-03-19 08:58:41 +08:00
Sean Cross
18f7a4519c
Merge pull request #119 from gsora/gsora/fix-ci-download
fix: on non-TTY terminals, if forced, proceed with toolchain download and install
2022-03-19 00:27:17 +08:00
Gianguido Sorà
ae2762e7f5 fix: on non-TTY terminals if forced, proceed with toolchain download and install
This is a corner case in Github CI.
2022-03-18 17:17:34 +01:00
Gianguido Sorà
ccafeb21a3 if not tty but force install is true, keep going 2022-03-18 17:05:51 +01:00
Gianguido Sorà
d9f5fd0c6a use force on install toolkit 2022-03-18 16:47:12 +01:00
Sean Cross
65d2ec64db xtask: add --force parameter to install-toolkit
This parameter will remove the existing toolchain and target
directories, forcing a reinstall.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-18 23:35:42 +08:00
Sean Cross
5604d6aa1a
Merge pull request #117 from gsora/gsora/ci-hosted-native
Compile for hosted and real hardware on main push
2022-03-18 22:56:51 +08:00
Gianguido Sorà
cbd412a461 compile for hosted and real hardware on main push 2022-03-18 15:51:58 +01:00
Sean Cross
af2d7e9099 Merge branch 'main' of github.com:betrusted-io/xous-core 2022-03-18 20:47:49 +08:00
Sean Cross
d6063d9992 net: don't close connection when setting fields
Due to overly liberal use of `.take()`, file handles were getting closed
when doing ordinary operations. This stops that.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-18 20:47:10 +08:00
bunnie
0425f3c9b7 Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-03-18 19:39:44 +08:00
bunnie
84086c6d47 quiet a warning from tts mode 2022-03-18 19:39:25 +08:00
Sean Cross
0b3fc8e98e net: add functions for setting ttl, nodelay
Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-18 18:43:39 +08:00
Sean Cross
0876e21129 Merge branch 'main' of github.com:betrusted-io/xous-core 2022-03-18 18:43:21 +08:00
bunnie
f7d42f6c1b correct usb_update.py force message to the correct version offsets 2022-03-18 17:39:45 +08:00
Sean Cross
08b9f0bcfc services: net: add StdTcpPeek call
This is used to peek on a stream

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-18 15:24:01 +08:00
Sean Cross
8920e35e08 xtask: run rustfmt on package
Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-18 12:10:48 +08:00
Sean Cross
00e2f6f505 Merge branch 'main' of github.com:betrusted-io/xous-core 2022-03-18 12:09:29 +08:00
Sean Cross
9217c2227f services: net: add timeout to connect api
This now adds a `timeout` parameter to the connect() API call.
Additionally, connections will not be returned until they are determined
to be open, or until an error occurs (such as a timeout).

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-18 12:08:28 +08:00
bunnie
fbf90efe0e add a broader CI target for hosted mode
this will help prevent bugs slipping through where I forget to update
hosted mode stubs when tweaking hardware APIs
2022-03-18 03:21:46 +08:00
bunnie
4044a1d2c1 unbreak hosted mode audio 2022-03-18 03:10:28 +08:00
Sean Cross
7ff40a3e42 Merge branch 'main' of github.com:betrusted-io/xous-core 2022-03-17 20:38:52 +08:00
Sean Cross
89442ff4cc net: add StdTcp calls
These calls have been tested to work to create tcp connections.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-17 20:38:21 +08:00
bunnie
b1f8c1ea1b add power-on indicator for tts mode 2022-03-17 18:41:12 +08:00
bunnie
5d754efc07 reduce debug verbosity on braille 2022-03-17 17:56:52 +08:00
bunnie
0f9ea0473a add sleep/resume indicator for the blind 2022-03-17 17:56:42 +08:00
bunnie
04f2e0fd2a restore headphone/speaker volume on resume 2022-03-17 17:56:27 +08:00
bunnie
3673d3b1ad Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-03-17 15:20:43 +08:00
bunnie
6d98c5db3d fix braille keyboard mappings 2022-03-17 15:20:20 +08:00
Sean Cross
e91705c0ae services: com: add discriminants to opcodes
Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-17 11:30:03 +08:00
Sean Cross
331a0a120d services: dns: add RawLookup opcode
This lookup will be used by libstd in order to perform DNS queries.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-17 11:29:35 +08:00
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