doc: improve west flash help for dfu-util
Try to make it clearer what's going on here. Suggested-by: Lucian Copeland <hierophect@gmail.com> Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
8a5063924c
commit
24ce05c841
1 changed files with 13 additions and 6 deletions
|
@ -56,13 +56,20 @@ class DfuUtilBinaryRunner(ZephyrBinaryRunner):
|
|||
parser.add_argument("--img",
|
||||
help="binary to flash, default is --bin-file")
|
||||
parser.add_argument("--dfuse", default=False, action='store_true',
|
||||
help='''set if target is a DfuSe device;
|
||||
implies --dt-flash.''')
|
||||
help='''use the DfuSe protocol extensions
|
||||
supported by STMicroelectronics
|
||||
devices (if given, the image flash
|
||||
address respects
|
||||
CONFIG_FLASH_BASE_ADDRESS and
|
||||
CONFIG_FLASH_LOAD_OFFSET)''')
|
||||
parser.add_argument("--dfuse-modifiers", default='leave',
|
||||
help='''colon-separated list of DfuSe modifiers
|
||||
(default is "leave", which starts execution
|
||||
immediately); --dfuse must also be given for this
|
||||
option to take effect.''')
|
||||
help='''colon-separated list of additional
|
||||
DfuSe modifiers for dfu-util's -s
|
||||
option (default is
|
||||
"-s <flash-address>:leave", which starts
|
||||
execution immediately); requires
|
||||
--dfuse
|
||||
''')
|
||||
parser.add_argument('--dfu-util', default='dfu-util',
|
||||
help='dfu-util executable; defaults to "dfu-util"')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue