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 issues with uploading binaries #261

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Christopher-Tan
Copy link
Contributor

Summary:

Fixed the first two issues with #245

  1. CLI looked for project.pros while uploading binary
  2. Omitting slot number causes error
  3. To be done: ut vs upload causes an error

Motivation:

To fix upload options

References (optional):

Closes #245

Test Plan:

  • pros upload --target v5 --slot 1 hello-world.bin have a binary called hello-world.bin in a directory with project.pros and it should upload successfully

  • run the same command without a slot number

  • run the same command with pros ut

@Christopher-Tan
Copy link
Contributor Author

Problem 3 is fixed, waiting for review.

Copy link
Member

@ayushuk ayushuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I forgot to test at this meeting but usually before we push a change relating to hardware we have a second person test it out. I'll do that at next meeting and approve.

analytics.send("upload-terminal")
from .terminal import terminal
ctx.invoke(upload, **upload_kwargs)
ctx.invoke(terminal, request_banner=False)
ctx.invoke(terminal, request_banner=False)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: add newline here

@omegaStag omegaStag removed their request for review March 3, 2023 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 A few related issues in upload commands
2 participants