Skip to content

Commit

Permalink
sam4x: report correct number of IRQ priority bits
Browse files Browse the repository at this point in the history
The Sam4x HAL defines __NVIC_PRIO_BITS to 4.  Fixes an issue where
interrupt priorities and masking were not being done correctly.

Issue: ZEP-2243
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and Anas Nashif committed Jun 17, 2017
1 parent fffb5d9 commit d5add81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dts/arm/atmel/sam4s.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
};

&nvic {
arm,num-irq-priority-bits = <3>;
arm,num-irq-priority-bits = <4>;
};

0 comments on commit d5add81

Please sign in to comment.