Skip to content
Commit 2ebde14d authored by Kumar Gala's avatar Kumar Gala Committed by Anas Nashif
Browse files

arm: Add build time consistency check for irq priority defines



We need to make sure that __NVIC_PRIO_BITS & CONFIG_NUM_IRQ_PRIO_BITS
are set to the same value.  Add a simple build time check to ensure
this is the case.  This is to catch future cases of issues like
ZEP-2243.  This is a stop gap til we resolve ZEP-2262, which covers use
of both __NVIC_PRIO_BITS & CONFIG_NUM_IRQ_PRIO_BITS.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent bf4c058a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment