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

Fix pyocd flash error for invalid file #591

Merged
merged 1 commit into from
Mar 25, 2019

Commits on Mar 25, 2019

  1. Make FileProgrammer check for file errors better.

    - Initial check if the file path is valid. If not, FileNotFoundError is
      raised.
    - Explicit check for no file extension if file_format is not set.
    - Defined file_obj local var prior to try/finally and check that it's
      not None before closing it.
    - Added FileNotFoundError class for Py2 to pyocd.utility.compatibilty.
    flit committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    d846be6 View commit details
    Browse the repository at this point in the history