Skip to content

Commit

Permalink
scripts: fix pyocd runner --flash-opt help
Browse files Browse the repository at this point in the history
This doesn't work. Fix the example.

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
  • Loading branch information
mbolivar-nordic authored and carlescufi committed Jun 25, 2019
1 parent 158d921 commit 725e98e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/west_commands/runners/pyocd.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def do_add_parser(cls, parser):
help='path to pyocd tool, default is pyocd') help='path to pyocd tool, default is pyocd')
parser.add_argument('--flash-opt', default=[], action='append', parser.add_argument('--flash-opt', default=[], action='append',
help='''Additional options for pyocd flash, 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', parser.add_argument('--frequency',
help='SWD clock frequency in Hz') help='SWD clock frequency in Hz')
parser.add_argument('--gdb-port', default=DEFAULT_PYOCD_GDB_PORT, parser.add_argument('--gdb-port', default=DEFAULT_PYOCD_GDB_PORT,
Expand Down

0 comments on commit 725e98e

Please sign in to comment.