Commit graph

10340 commits

Author SHA1 Message Date
bunnie
bfb8a17cd5 strip out legacy RTC calls in preparation for refactor 2022-03-24 02:19:26 +08:00
bunnie
b4c98528e8 add notes around names that are baked into libstd 2022-03-22 22:30:43 +08:00
bunnie
b50dbf0a69 silence a warning in the loader module about an unused macro 2022-03-22 22:18:40 +08:00
bunnie
7c3601bd25 convert the connection manager to use the new PDDB blocking call 2022-03-22 22:18:31 +08:00
bunnie
36ea69f6df add a one-liner API call to block execution until PDDB is mounted 2022-03-22 22:18:23 +08:00
bunnie
2cc8a1b24a silence a warning in the loader module about an unused macro 2022-03-22 22:17:27 +08:00
bunnie
fe52756a3d convert the connection manager to use the new PDDB blocking call 2022-03-22 22:17:04 +08:00
bunnie
86e86df68c add a one-liner API call to block execution until PDDB is mounted 2022-03-22 22:16:46 +08:00
bunnie
954840a5d0 Merge branch 'main' into bunnie-dev 2022-03-22 02:15:57 +08:00
Sean Cross
a70aee7bad loader: move loader into main workspace
Add the loader into the main workspace, removing it from its own
sub-workspace. We can do this now that we can specify the linker script
in `build.rs`.

This improves IDE support, and should shrink disk storage requirements.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-22 02:09:18 +08:00
bunnie
5d59390554 Merge branch 'main' into bunnie-dev 2022-03-21 18:59:10 +08:00
bunnie
9e5dec302c
Merge pull request #121 from blakesmith/sleep_screen_clear
During sleep, clear the rest of the screen around the sleep note
2022-03-21 13:58:19 +08:00
Blake Smith
77b5e7a2bb During sleep, clear the rest of the screen, to avoid
any secrets being persistently visible on the display.
2022-03-20 15:35:02 -05:00
bunnie
b4d20a643c add tts locale to hello example 2022-03-21 00:22:54 +08:00
bunnie
731b847560
add translations
I think "hello world" might actually be the phrase used by the Japanese in their intro texts so leaving that as English.
2022-03-21 00:07:07 +08:00
bunnie
c83ff4048e
Merge pull request #120 from blakesmith/hello_world_squash
Add a basic 'hello world' app example
2022-03-21 00:02:25 +08:00
bunnie
d27645f65b Merge branch 'main' of github.com:betrusted-io/xous-core into main 2022-03-20 15:25:55 +08:00
bunnie
526a7374b0 re-introduce PDDB structure nuking on SoC reset 2022-03-20 15:25:14 +08:00
Sean Cross
e96a7df267 xtask: remove renode-bypass for renode-image
The `renode-bypass` flag is used for development in order to speed up
certain features. This creates invalid keys and skips many checks, which
causes problems in the main image.

Remove this flag in order to fix the Renode image.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-03-20 10:37:17 +08:00
bunnie
b52b73ddfa add functionality to override the CSR data in case it is corrupted 2022-03-19 16:56:03 +08:00
bunnie
b06d7c4bb7 add a note about the hard reset 2022-03-19 16:31:37 +08:00
bunnie
1856a83e3e fix ordering of updates to prevent mid-update resets 2022-03-19 16:22:09 +08:00
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
Blake Smith
3fb30dc619 Add a basic 'hello world' app example 2022-03-18 12:43:54 -05: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
bunnie
342e721481 Merge remote-tracking branch 'origin/main' into bunnie-dev 2022-03-18 21:46:54 +08: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
140f07ddc8 latest revised test 2022-03-18 20:28:36 +08:00
bunnie
4463b909a1 initial cut at using libstd TcpStream for comms 2022-03-18 19:55:16 +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
bunnie
02ab71f195 quiet a warning from tts mode 2022-03-18 19:39:00 +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