fixup side effects of renaming app partition

I think these are the spots that are impacted by the naming
change.
This commit is contained in:
bunnie 2025-10-31 11:28:26 +08:00
parent 0e399e6264
commit be274c7070
2 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ def main():
# flash # flash
f = sub.add_parser("flash", help="Copy UF2 file(s) to a mounted drive") f = sub.add_parser("flash", help="Copy UF2 file(s) to a mounted drive")
f.add_argument("--dest", required=True, help="Mount path of the UF2 boot drive (e.g., D:\\)") f.add_argument("--dest", required=True, help="Mount path of the UF2 boot drive (e.g., D:\\)")
f.add_argument("files", nargs="+", help="One or more UF2 files to copy (e.g., loader.uf2 xous.uf2 app.uf2)") f.add_argument("files", nargs="+", help="One or more UF2 files to copy (e.g., loader.uf2 xous.uf2 apps.uf2)")
f.set_defaults(func=cmd_flash) f.set_defaults(func=cmd_flash)
args = ap.parse_args() args = ap.parse_args()

View file

@ -2,14 +2,14 @@
Return release UF2 images for flashing. Return release UF2 images for flashing.
Scans the release directory for UF2 images: Scans the release directory for UF2 images:
<xous-core>/target/riscv32imac-unknown-xous-elf/release/{loader.uf2,xous.uf2,app.uf2} <xous-core>/target/riscv32imac-unknown-xous-elf/release/{loader.uf2,xous.uf2,apps.uf2}
Outputs JSON if --json is set: Outputs JSON if --json is set:
{ {
"images": [ "images": [
{ "path": ".../loader.uf2", "role": "loader" }, { "path": ".../loader.uf2", "role": "loader" },
{ "path": ".../xous.uf2", "role": "xous" }, { "path": ".../xous.uf2", "role": "xous" },
{ "path": ".../app.uf2", "role": "app" } { "path": ".../apps.uf2", "role": "app" }
] ]
} }
@ -26,7 +26,7 @@ TRIPLE: str = "riscv32imac-unknown-xous-elf"
FILENAMES: List[Tuple[str, str]] = [ FILENAMES: List[Tuple[str, str]] = [
("loader.uf2", "loader"), ("loader.uf2", "loader"),
("xous.uf2", "xous"), ("xous.uf2", "xous"),
("app.uf2", "app"), ("apps.uf2", "app"),
] ]
EXIT_OK = 0 EXIT_OK = 0