arch: add Kconfig to signify ability to detect nested IRQ
We introduce a Kconfig option to signify whether an Architecture has the capability of detecting whether execution is, currently, in a nested exception. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
4f11b6f8cf
commit
f030608701
2 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,9 @@ config ARCH_HAS_NOCACHE_MEMORY_SUPPORT
|
||||||
config ARCH_HAS_RAMFUNC_SUPPORT
|
config ARCH_HAS_RAMFUNC_SUPPORT
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config ARCH_HAS_NESTED_EXCEPTION_DETECTION
|
||||||
|
bool
|
||||||
|
|
||||||
#
|
#
|
||||||
# Other architecture related options
|
# Other architecture related options
|
||||||
#
|
#
|
||||||
|
|
|
@ -23,6 +23,7 @@ config CPU_CORTEX_M
|
||||||
select ARCH_HAS_USERSPACE if ARM_MPU
|
select ARCH_HAS_USERSPACE if ARM_MPU
|
||||||
select ARCH_HAS_NOCACHE_MEMORY_SUPPORT if ARM_MPU && CPU_HAS_ARM_MPU && CPU_CORTEX_M7
|
select ARCH_HAS_NOCACHE_MEMORY_SUPPORT if ARM_MPU && CPU_HAS_ARM_MPU && CPU_CORTEX_M7
|
||||||
select ARCH_HAS_RAMFUNC_SUPPORT
|
select ARCH_HAS_RAMFUNC_SUPPORT
|
||||||
|
select ARCH_HAS_NESTED_EXCEPTION_DETECTION
|
||||||
select SWAP_NONATOMIC
|
select SWAP_NONATOMIC
|
||||||
help
|
help
|
||||||
This option signifies the use of a CPU of the Cortex-M family.
|
This option signifies the use of a CPU of the Cortex-M family.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue