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

stm32: window watchdog (wwdg): invalid interrupts priority for CM0 Series Socs #33000

Closed
str4t0m opened this issue Mar 5, 2021 · 1 comment · Fixed by #33003
Closed

stm32: window watchdog (wwdg): invalid interrupts priority for CM0 Series Socs #33000

str4t0m opened this issue Mar 5, 2021 · 1 comment · Fixed by #33003
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@str4t0m
Copy link
Collaborator

str4t0m commented Mar 5, 2021

Describe the bug
All stm32 series define default wwdg interrupt priority of 7, but Cortex-M0 only have 2 bits for interrupt priority.

To Reproduce
Steps to reproduce the behavior:

  1. enable wwdg.
  2. execute watchdog sample or wdt_basic_api test.
  3. Assertion fails when the priority is set during driver initialization(z_arm_irq_priority_set()).

Impact
Interrupt priority must be overridden locally, otherwise the application crashes.

@str4t0m str4t0m added the bug The issue is a bug, or the PR is fixing a bug label Mar 5, 2021
@str4t0m
Copy link
Collaborator Author

str4t0m commented Mar 5, 2021

I will open a corresponding pr later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
3 participants