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

Pull up test signal pin on panic and timeout #6

Open
hdoordt opened this issue Oct 5, 2022 · 0 comments
Open

Pull up test signal pin on panic and timeout #6

hdoordt opened this issue Oct 5, 2022 · 0 comments

Comments

@hdoordt
Copy link
Owner

hdoordt commented Oct 5, 2022

As defmt-test panics on a false assertion, the test signal pin may be pulled low indefinitely. Define a panic handler that can push the signal pin up on panic, signifying that the test has stopped.

Implement a time out on the host that quits the application if the signal pin is high for a couple of seconds.

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

No branches or pull requests

1 participant