Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common west flash, debug arguments like --hex-file can't be used from command line #23172

Closed
mbolivar opened this issue Feb 28, 2020 · 1 comment
Labels
area: Debugging area: Flashing bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug

Comments

@mbolivar
Copy link
Contributor

Describe the bug
eb95bed broke the ability to west flash --hex-file foo.hex.

A fix is in #23171

To Reproduce
Steps to reproduce the behavior:

  1. west build -b nrf52840_pca10056 -s samples/hello_world
  2. cp build/zephyr/zephyr.hex my-cool-zephyr.hex
  3. west flash --hex-file my-cool-zephyr.hex

Notice that build/zephyr/zephyr.hex is flashed, not my-cool-zephyr.hex.

Expected behavior
my-cool-zephyr.hex is flashed instead.

Impact
Showstopper

Environment (please complete the following information):

  • Commit SHA or Version used: introduced in eb95bed

Additional context
Reported by Tarjei Knapstad on Slack.

@mbolivar mbolivar added bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug area: Debugging area: Flashing labels Feb 28, 2020
@jhedberg
Copy link
Member

#23171 was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Debugging area: Flashing bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants