Skip to content
Commit e1fb6b01 authored by Wei-Chia Su's avatar Wei-Chia Su Committed by Leandro Belli
Browse files

arch: Enhance compatibility for `arch_nvic_init`



In Cortex-M3/M4/M23/M33, a core register block was named the System Control and
ID Register, separate from the System Control Block (SCnSCB). In Cortex-M55/M85,
the same block was renamed to Implementation Control Registers (ICB), creating a
naming discrepancy within the same Cortex v8m family. Therefore, using #ifdef
ARMV7M alone is inadequate. To ensure compatibility, the register's definition
is utilized over the family.

This adjustment should facilitate the build for Cortex-M23 and M33 cores.

Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
parent 98379844
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment