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

Fix program stall while waiting for timeout condition inside an ISR #619

Conversation

Paciente8159
Copy link
Owner

  • modified I2C HW and SW implementations to incorporate a timeout also for writing
  • removed serial stream compile condition (allow stream creation even it detached from main protocol)
  • implemented new free running micros macro/function for mcu
  • improved timeout block based on mcu free running micros
  • cleaned code an general board fixes

- implemented timeout and timeout assert blocks
- modified I2C HW and SW implementations to incorporate a timeout also for writing
- removed serial stream compile condition (allow stream creation even it detached from main protocol)
- implemented new free running micros macro/function for mcu
- improved timeout block based on mcu free running micros
- cleaned code an general board fixes
@Paciente8159 Paciente8159 added bug Something isn't working needs: testing needs: testing HAL: multi platform HAL: multi platform labels Feb 12, 2024
- fixed I2C on AVR
- fixed I2C on SAMD21
- added alternative I2C via Arduino Wire to LPC176x
-fixed soft I2C
@Paciente8159 Paciente8159 added tested: OK tested: OK and ready to integrate and removed needs: testing needs: testing labels Feb 13, 2024
@Paciente8159 Paciente8159 merged commit c43e408 into master Feb 13, 2024
38 checks passed
@Paciente8159 Paciente8159 deleted the 616-bug-if-a-timeout-assert-loop-using-mcu_millis-is-called-inside-an-isr-the-program-stalls branch February 13, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HAL: multi platform HAL: multi platform tested: OK tested: OK and ready to integrate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] If a timeout assert loop using mcu_millis is called inside an ISR the program stalls
1 participant