This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 99b0bad94e arch/armv8-m: DSP extension is optional
99b0bad94e is described below
commit 99b0bad94e8a918dcd90ad86744359d3bcb1335b
Author: raiden00pl <[email protected]>
AuthorDate: Sat Mar 4 18:11:22 2023 +0100
arch/armv8-m: DSP extension is optional
---
arch/arm/Kconfig | 9 +++++++++
arch/arm/src/nrf53/Kconfig | 1 +
2 files changed, 10 insertions(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4d7871a5b4..4aeebcdf4c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -481,6 +481,7 @@ config ARCH_CHIP_STM32L5
bool "STMicro STM32 L5"
select ARCH_CORTEXM33
select ARCH_HAVE_MPU
+ select ARCH_HAVE_DSP
select ARCH_HAVE_FETCHADD
select ARCH_HAVE_HEAPCHECK
select ARCH_HAVE_PROGMEM
@@ -495,6 +496,7 @@ config ARCH_CHIP_STM32U5
bool "STMicro STM32 U5"
select ARCH_CORTEXM33
select ARCH_HAVE_MPU
+ select ARCH_HAVE_DSP
select ARCH_HAVE_FETCHADD
select ARCH_HAVE_HEAPCHECK
select ARCH_HAVE_PROGMEM
@@ -1035,6 +1037,12 @@ config ARM_HAVE_NEON
---help---
Decide whether support NEON instruction
+config ARM_HAVE_DSP
+ bool
+ default n
+ ---help---
+ Decide whether support DSP instruction
+
config ARM_HAVE_MVE
bool
default n
@@ -1061,6 +1069,7 @@ config ARM_NEON
config ARM_DSP
bool "Advanced DSP Extension"
default y
+ depends on ARM_HAVE_DSP
---help---
Enables DSP Extension
diff --git a/arch/arm/src/nrf53/Kconfig b/arch/arm/src/nrf53/Kconfig
index 9c6f2a759c..25943e257f 100644
--- a/arch/arm/src/nrf53/Kconfig
+++ b/arch/arm/src/nrf53/Kconfig
@@ -20,6 +20,7 @@ endchoice # NRF53 Chip Selection
config NRF53_APPCORE
bool
default n
+ select ARM_HAVE_DSP
config NRF53_NETCORE
bool