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

Add non-zero exit code when flashing fails #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions nordicsemi/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ def serial(package, port, baudrate, flowcontrol, singlebank, touch):
click.echo(" Please upgrade the Bootloader or select correct version in Tools->Bootloader.")
click.echo("- Baud rate must be 115200, Flow control must be off.")
click.echo("- Target is not in DFU mode. Ground DFU pin and RESET and release both to enter DFU mode.")

return False
sys.exit(1)

click.echo("Device programmed.")

Expand Down
Loading