-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Work on PAL events and PAL time #690
Conversation
- Rename PAL events timer to improve clarity - Correct bug in Events_WaitForEvents: wrong call to HAL_Time_CurrentSysTicks instead of HAL_Time_CurrentTime because nF ticks are required for HAL_COMPLETION - Events_WaitForEvents is now using OS Yield instead of OS Wait for a smoother execution - Rework PAL time by using a timer with callback to schedule HAL_COMPLETION events instead of checking for that on every sysTick - Remove Time_Interrupt_Hook() from CH_CFG_SYSTEM_TICK_HOOK (not required anymore) - Rename some argumens to improve clarity - Clean up code in PAL events for ESP32 Signed-off-by: josesimoes <jose.simoes@eclo.solutions>
Hi @josesimoes, I'm nanoFramework bot. A human will be reviewing it shortly. 😉 |
@MatthiasJentsch and @ishvedov appreciate if you could give a try with this PR for ESP32. Thanks! |
Signed-off-by: josesimoes <jose.simoes@eclo.solutions>
536e6fc
to
9800e43
Compare
@josesimoes working with little performance degradation. Or may be my test faulted. |
OK. Thanks. 👍 |
I'm not sure how to test this. @ishvedov how did you test it? |
@MatthiasJentsch, go to Slack. |
I'm now able to test this with ESP32. It's performing as expected. |
Description
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by: josesimoes jose.simoes@eclo.solutions