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

Remove wfi in examples #450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ssnover
Copy link

@ssnover ssnover commented Nov 5, 2022

This PR removes wfi from examples. I ran into an issue flashing code onto my board after flashing one of the examples and found this thread which finally gave me the method I needed to erase the code flash.

Since these are examples and power consumption is not a big deal, I think it's not necessary to use wfi and instead just let the microcontroller processor spin. Seems better than pushing someone through some general headache around the board no longer being connectable via SWD. I did leave it as-is in examples/timer-interrupt-rtic.rs as I'm less certain of it's necessity in an RTIC context.

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.

None yet

1 participant