ARMmbed / ARMmbed/mbed-flasher

change positional (simple/pyocd/edbg) method to be as optional method

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
9
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## Flashing a device using pyOCD

```
C:\>mbedflash flash C:\path_to_file\myfile.bin --tid 0240000033514e45003f500585d4000ae981000097969900 -t K64F simple
```

Change positional method to optional method so that user could give a --method command to specify preferred method.

```
--method pyocd
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the command-line argument parsing for the flash command and inspect how the current positional simple, pyocd, or edbg method is handled. Make the method selectable with --method, then verify that the example command works with --method pyocd and that the help text reflects the new usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.