From 22906ce366d81cf0fbdaa1496f8f82efb1c90a0f Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 2 Jul 2021 04:27:26 +0800 Subject: [PATCH] make the defaults for usb_update.py map to something immediately usable in-situ --- tools/usb_update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/usb_update.py b/tools/usb_update.py index 38348e693..5de361609 100755 --- a/tools/usb_update.py +++ b/tools/usb_update.py @@ -344,13 +344,13 @@ def auto_int(x): def main(): parser = argparse.ArgumentParser(description="Update/upload to a Precursor device running Xous 0.8/0.9") parser.add_argument( - "-s", "--soc", required=False, help="SoC gateware", type=str, nargs='?', metavar=('SoC gateware file'), const='soc_csr.bin' + "-s", "--soc", required=False, help="SoC gateware", type=str, nargs='?', metavar=('SoC gateware file'), const='../precursors/soc_csr.bin' ) parser.add_argument( - "-l", "--loader", required=False, help="Loader", type=str, nargs='?', metavar=('loader file'), const='loader.bin' + "-l", "--loader", required=False, help="Loader", type=str, nargs='?', metavar=('loader file'), const='../target/riscv32imac-unknown-none-elf/release/loader.bin' ) parser.add_argument( - "-k", "--kernel", required=False, help="Kernel", type=str, nargs='?', metavar=('kernel file'), const='xous.img' + "-k", "--kernel", required=False, help="Kernel", type=str, nargs='?', metavar=('kernel file'), const='../target/riscv32imac-unknown-none-elf/release/xous.img' ) parser.add_argument( "-e", "--ec", required=False, help="EC gateware", type=str, nargs='?', metavar=('EC gateware package'), const='ec_fw.bin'