]> begriffs open source - cmsis/commit
core: Allow the virtualization of NVIC functions
authorJaeden Amero <jaeden.amero@arm.com>
Thu, 9 Feb 2017 14:34:18 +0000 (14:34 +0000)
committerJaeden Amero <jaeden.amero@arm.com>
Thu, 2 Mar 2017 11:52:45 +0000 (11:52 +0000)
commit8d899815c1b69f4cc547a1e866e3fbaa39715ee6
treebd9c2cf1327526729bfa794ec42d8a93f3367440
parentd559f329c22b7fa18a2b06e270026383b228b8be
core: Allow the virtualization of NVIC functions

Previously, we only allowed the overriding of the NVIC defines on select
architectures. This meant that the CMSIS_VECTAB_VIRTUAL and
CMSIS_NVIC_VIRTUAL features were not practically useful on any of the
other architectures.

On all architectures, allow overriding the NVIC defines by including a
standardly named "cmsis_vectab_virtual.h" and "cmsis_nvic_virtual.h"
based on whether virtualization is desired (via CMSIS_VECTAB_VIRTUAL and
CMSIS_NVIC_VIRTUAL).
CMSIS/Core/Include/core_armv8mbl.h
CMSIS/Core/Include/core_armv8mml.h
CMSIS/Core/Include/core_cm0.h
CMSIS/Core/Include/core_cm0plus.h
CMSIS/Core/Include/core_cm23.h
CMSIS/Core/Include/core_cm33.h
CMSIS/Core/Include/core_cm7.h
CMSIS/Core/Include/core_sc000.h
CMSIS/Core/Include/core_sc300.h