-
Notifications
You must be signed in to change notification settings - Fork 214
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
Allow SYSTIMER alarms to be configured for blocking or async individually #1477
Comments
I started looking into this as I needed more timers and have written an implementation. The problem is around two registers, Ideally as a hal user (and developer I guess) I'd like to have three independent Unfortunately those two registers I mentioned above are shared between the So for |
I opted for a |
I have a reproducer for the incorrect behavior here: https://github.com/ProfFan/esp-hal-bughunt You can change the GPIO to be whichever your board have. And change LED should stop blinking in 10-60s, and resume after indefinite amount of time without resetting. |
*It's quite hard to trigger because I only have 1 fast timer, if you change the |
cc @JurajSadel we need test coverage for this |
Title, and a bit more analysis here: #1318 (comment)
The text was updated successfully, but these errors were encountered: