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

C6/H2: Enabling SYSTIMER_TARGET0 interrupt also enables UART0 interrupt #1039

Closed
bjoernQ opened this issue Dec 19, 2023 · 0 comments · Fixed by #1040
Closed

C6/H2: Enabling SYSTIMER_TARGET0 interrupt also enables UART0 interrupt #1039

bjoernQ opened this issue Dec 19, 2023 · 0 comments · Fixed by #1040

Comments

@bjoernQ
Copy link
Contributor

bjoernQ commented Dec 19, 2023

This can be reproduced by running the systimer.rs example. Just run it and while running press any key ... There will be a panic because there isn't a UART0 interrupt handler

It's really just interrupt::enable(peripherals::Interrupt::SYSTIMER_TARGET0,Priority::Priority1) - another interrupt or using another priority won't trigger the problem

The problem most probably isn't a new one - we now just panic in case of an unhandled interrupt which makes the problem more visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant