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

spi: stm32f0 IRQ priority is invalid #6238

Closed
dwagenk opened this issue Feb 16, 2018 · 0 comments
Closed

spi: stm32f0 IRQ priority is invalid #6238

dwagenk opened this issue Feb 16, 2018 · 0 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@dwagenk
Copy link
Contributor

dwagenk commented Feb 16, 2018

Executing spi_loopback test for f0 based boards (stm32f072b_disco) with assertions enabled fails:

ASSERTION FAIL [prio <= ((1 << 2) - 1)] @ /home/dw_dev/0_zephyr/arch/arm/core/irq_manage.c:115:
        invalid priority 5! values must be less than 4

in dts/arm/st/stm32f0.dtsi interrupt priority is set to 5, but should be lower for f0 series.

@nashif nashif added the bug The issue is a bug, or the PR is fixing a bug label Feb 16, 2018
ydamigos added a commit to ydamigos/zephyr that referenced this issue Feb 17, 2018
STM32F0 family has only 2 interrupt priority bits.

Fixes zephyrproject-rtos#6238

Signed-off-by: Yannis Damigos <[email protected]>
@ydamigos ydamigos self-assigned this Feb 17, 2018
@galak galak closed this as completed in 306298e Feb 20, 2018
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
Projects
None yet
Development

No branches or pull requests

3 participants