From 251c84642f58d0d52a8dc26ea6536c66753d97ac Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 29 May 2022 01:45:50 +0800 Subject: [PATCH 1/2] Update README.md --- apps/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/README.md b/apps/README.md index 277859f0f..729e445f7 100644 --- a/apps/README.md +++ b/apps/README.md @@ -6,7 +6,7 @@ You can add apps to Xous by creating crates in this directory and adding them to 2. Register the crate in the Workspace by editing the root `../Cargo.toml` (one directory above this README), and adding the new app crate's path to the `default-members` and the `members` lists. 3. Add an entry to `manifest.json` in this file so the build system can fold it into the system menus. Format documented below. 4. Rebuild using `cargo xtask app-image [app1] [app2] [...]`, where the `appN` are the names of the app crates you want to have built into your burnable Xous image. -5. Burn your new `xous.img` file onto your device using either the [JTAG method or the USB method](https://github.com/betrusted-io/betrusted-wiki/wiki/Updating-Your-Device). +5. Burn your new `xous.img` file onto [your device](https://github.com/betrusted-io/betrusted-wiki/wiki/Updating-Your-Device#i-dont-rtfm-give-me-the-latest-xous). As of Xous 0.9.6, the OS takes up about half the available RAM (8 out of 16 MiB) for code + data. For smooth operation of the PDDB and other resources, we suggest leaving about 4MiB of free space, so apps should try to stay within the range of 4MiB in size. From 7404fa292ad76fdb1adb0015e56f90faad8bca66 Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 29 May 2022 01:47:53 +0800 Subject: [PATCH 2/2] Update README.md --- apps/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/README.md b/apps/README.md index 729e445f7..78d68df19 100644 --- a/apps/README.md +++ b/apps/README.md @@ -6,7 +6,7 @@ You can add apps to Xous by creating crates in this directory and adding them to 2. Register the crate in the Workspace by editing the root `../Cargo.toml` (one directory above this README), and adding the new app crate's path to the `default-members` and the `members` lists. 3. Add an entry to `manifest.json` in this file so the build system can fold it into the system menus. Format documented below. 4. Rebuild using `cargo xtask app-image [app1] [app2] [...]`, where the `appN` are the names of the app crates you want to have built into your burnable Xous image. -5. Burn your new `xous.img` file onto [your device](https://github.com/betrusted-io/betrusted-wiki/wiki/Updating-Your-Device#i-dont-rtfm-give-me-the-latest-xous). +5. Burn your new `xous.img` file onto your device using `tools/usb_update.py -k`. You will likely need to set up some drivers or install some packages, please [refer to the update guide](https://github.com/betrusted-io/betrusted-wiki/wiki/Updating-Your-Device#i-dont-rtfm-give-me-the-latest-xous) for more details. As of Xous 0.9.6, the OS takes up about half the available RAM (8 out of 16 MiB) for code + data. For smooth operation of the PDDB and other resources, we suggest leaving about 4MiB of free space, so apps should try to stay within the range of 4MiB in size.