Skip to content
Permalink
Browse files

scripts: fix pyocd runner --flash-opt help

This doesn't work. Fix the example.

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
  • Loading branch information...
mbolivar authored and carlescufi committed Jun 25, 2019
1 parent 158d921 commit 725e98e300f1581e25061590c7ec71132a9dcea1
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/west_commands/runners/pyocd.py
@@ -71,7 +71,7 @@ def do_add_parser(cls, parser):
help='path to pyocd tool, default is pyocd')
parser.add_argument('--flash-opt', default=[], action='append',
help='''Additional options for pyocd flash,
e.g. \'-e chip\' to chip erase''')
e.g. --flash-opt="-e=chip" to chip erase''')
parser.add_argument('--frequency',
help='SWD clock frequency in Hz')
parser.add_argument('--gdb-port', default=DEFAULT_PYOCD_GDB_PORT,

0 comments on commit 725e98e

Please sign in to comment.
You can’t perform that action at this time.