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

Validate the firmware when a uart proxy is synced. #462

Merged
merged 2 commits into from
Jan 15, 2024

Conversation

floitsch
Copy link
Member

No description provided.

@floitsch floitsch requested a review from kasperl January 15, 2024 13:28
src/jaguar.toit Outdated
@@ -20,7 +20,7 @@ import .network
import .uart

interface Endpoint:
run device/Device -> none
run device/Device [--validate-firmware] -> none
Copy link
Member

Choose a reason for hiding this comment

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

Why is this done through a callback? Why not just import the jaguar.toit file and call validate-firmware? What am I missing?

Copy link
Member Author

Choose a reason for hiding this comment

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

I hoped I would forget less easily if given as argument.
Changed to a static call.
done.

@floitsch floitsch enabled auto-merge (squash) January 15, 2024 13:42
Copy link
Member

@kasperl kasperl 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 to me.

@@ -136,6 +138,14 @@ serve arguments:
else:
Task.group lambdas

validate-firmware:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
validate-firmware:
validate-firmware -> none:

Copy link
Member Author

Choose a reason for hiding this comment

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

This has been done in a later PR.

@floitsch floitsch merged commit 53d00ca into main Jan 15, 2024
7 checks passed
@floitsch floitsch deleted the floitsch/cleanups.10.validate branch January 15, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants