arch/armv8-m: DSP extension is optional

This commit is contained in:
raiden00pl 2023-03-04 18:11:22 +01:00 committed by Xiang Xiao
parent e696e99d9a
commit 99b0bad94e
2 changed files with 10 additions and 0 deletions

View File

@ -481,6 +481,7 @@ config ARCH_CHIP_STM32L5
bool "STMicro STM32 L5" bool "STMicro STM32 L5"
select ARCH_CORTEXM33 select ARCH_CORTEXM33
select ARCH_HAVE_MPU select ARCH_HAVE_MPU
select ARCH_HAVE_DSP
select ARCH_HAVE_FETCHADD select ARCH_HAVE_FETCHADD
select ARCH_HAVE_HEAPCHECK select ARCH_HAVE_HEAPCHECK
select ARCH_HAVE_PROGMEM select ARCH_HAVE_PROGMEM
@ -495,6 +496,7 @@ config ARCH_CHIP_STM32U5
bool "STMicro STM32 U5" bool "STMicro STM32 U5"
select ARCH_CORTEXM33 select ARCH_CORTEXM33
select ARCH_HAVE_MPU select ARCH_HAVE_MPU
select ARCH_HAVE_DSP
select ARCH_HAVE_FETCHADD select ARCH_HAVE_FETCHADD
select ARCH_HAVE_HEAPCHECK select ARCH_HAVE_HEAPCHECK
select ARCH_HAVE_PROGMEM select ARCH_HAVE_PROGMEM
@ -1035,6 +1037,12 @@ config ARM_HAVE_NEON
---help--- ---help---
Decide whether support NEON instruction Decide whether support NEON instruction
config ARM_HAVE_DSP
bool
default n
---help---
Decide whether support DSP instruction
config ARM_HAVE_MVE config ARM_HAVE_MVE
bool bool
default n default n
@ -1061,6 +1069,7 @@ config ARM_NEON
config ARM_DSP config ARM_DSP
bool "Advanced DSP Extension" bool "Advanced DSP Extension"
default y default y
depends on ARM_HAVE_DSP
---help--- ---help---
Enables DSP Extension Enables DSP Extension

View File

@ -20,6 +20,7 @@ endchoice # NRF53 Chip Selection
config NRF53_APPCORE config NRF53_APPCORE
bool bool
default n default n
select ARM_HAVE_DSP
config NRF53_NETCORE config NRF53_NETCORE
bool bool