Skip to content

Fix mbed compile --flash #846

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

Merged
merged 1 commit into from
Feb 13, 2019
Merged

Fix mbed compile --flash #846

merged 1 commit into from
Feb 13, 2019

Conversation

vmedcy
Copy link
Contributor

@vmedcy vmedcy commented Feb 13, 2019

Unknown error is thrown while executing mbed compile --flash:

[mbed] ERROR: Unknown Error: local variable 'baudrate' referenced before assignment

Add the required argument to compile_ method.
This also fixes another error while mbed compile --flash --baudrate 9600:

[mbed] ERROR: Unknown Error: compile_() got an unexpected keyword argument 'baudrate'

This is a regression introduced by #837

Unknown error is thrown while executing mbed compile --flash:

[mbed] ERROR: Unknown Error: local variable 'baudrate' referenced before assignment

Add the required argument to compile_ method.
This also fixes another error while mbed compile --flash --baudrate 9600:

[mbed] ERROR: Unknown Error: compile_() got an unexpected keyword argument 'baudrate'

This is a regression introduced by
#837
@vmedcy
Copy link
Contributor Author

vmedcy commented Feb 13, 2019

@theotherjimmy, @screamerbg: please consider this for 1.9.1: the regression in 1.9.0 was reported by various development teams in Cypress.

@screamerbg
Copy link
Contributor

Thanks for reporting this. I'll address it shortly.

Copy link
Contributor

@bridadan bridadan left a comment

Choose a reason for hiding this comment

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

Thanks very much for the fix!

@screamerbg screamerbg self-requested a review February 13, 2019 16:26
@bridadan bridadan merged commit 7831cd1 into ARMmbed:master Feb 13, 2019
@screamerbg screamerbg mentioned this pull request Feb 13, 2019
@theotherjimmy
Copy link
Contributor

Thanks. 1.9.1 is out with this patch.

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.

4 participants