Skip to content

Commit

Permalink
Update help documentation on supported file formats
Browse files Browse the repository at this point in the history
Add mention of supporting AXF and SREC files
  • Loading branch information
pdietl committed Nov 3, 2024
1 parent fc3204e commit c088680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyocd/subcommands/load_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class LoadSubcommand(SubcommandBase):

NAMES = ['load', 'flash']
HELP = "Load one or more images into target device memory."
EPILOG = "Supported file formats are: binary, Intel hex, and ELF32."
EPILOG = "Supported file formats are: binary (.bin), ELF32/AXF (.elf and .axf), Intel hex (.hex), and Motorola S-record (.srec)."
DEFAULT_LOG_LEVEL = logging.WARNING

## @brief Valid erase mode options.
Expand All @@ -57,7 +57,7 @@ def get_args(cls) -> List[argparse.ArgumentParser]:
"Only allowed if a single binary file is being loaded.")
parser_options.add_argument("--trust-crc", action="store_true",
help="Use only the CRC of each page to determine if it already has the same data.")
parser_options.add_argument("--format", choices=("bin", "hex", "elf"),
parser_options.add_argument("--format", choices=("axf", "bin", "elf", "hex", "srec"),
help="File format. Default is to use the file's extension. If multiple files are provided, then "
"all must be of this type.")
parser_options.add_argument("--skip", metavar="BYTES", default=0, type=int_base_0,
Expand Down

0 comments on commit c088680

Please sign in to comment.