You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/04/28 00:49:51 UTC
(nuttx) branch master updated: arch/nrf91: enable FPU
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 dd611b9c5b arch/nrf91: enable FPU
dd611b9c5b is described below
commit dd611b9c5ba8aca0d6d6901fb7ac51d0fce35e84
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sun Apr 14 19:20:47 2024 +0200
arch/nrf91: enable FPU
according to manual:
The FPU is not affected by any security configuration.
Thus, it appears as not present in PERIPHID[n].PERM
register located in the SPU
---
arch/arm/Kconfig | 1 +
arch/arm/src/nrf91/nrf91_modem.h | 4 ----
boards/arm/nrf91/nrf9160-dk/configs/modem_ns/defconfig | 1 -
3 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5a11f654ad..71cbcfc25c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -305,6 +305,7 @@ config ARCH_CHIP_NRF91
select ARCH_HAVE_TRUSTZONE
select ARCH_HAVE_TICKLESS
select ARCH_DMA_NO_FLASH_TRANSFER
+ select ARCH_HAVE_FPU
depends on EXPERIMENTAL
---help---
Nordic nRF91 architectures (ARM Cortex-M33 with integrated
diff --git a/arch/arm/src/nrf91/nrf91_modem.h b/arch/arm/src/nrf91/nrf91_modem.h
index 16e0b2d43c..3e6a855b0b 100644
--- a/arch/arm/src/nrf91/nrf91_modem.h
+++ b/arch/arm/src/nrf91/nrf91_modem.h
@@ -68,10 +68,6 @@
# error SHMEM base addres must be word-aligned (4 bytes)
#endif
-#ifdef CONFIG_ARCH_FPU
-# error missing FPU configuration - FPU must be activated in SPE and NSPE
-#endif
-
/****************************************************************************
* Public Functions Prototypes
****************************************************************************/
diff --git a/boards/arm/nrf91/nrf9160-dk/configs/modem_ns/defconfig b/boards/arm/nrf91/nrf9160-dk/configs/modem_ns/defconfig
index 1679a41d13..aa02e18695 100644
--- a/boards/arm/nrf91/nrf9160-dk/configs/modem_ns/defconfig
+++ b/boards/arm/nrf91/nrf9160-dk/configs/modem_ns/defconfig
@@ -34,7 +34,6 @@ CONFIG_GPSUTILS_MINMEA_LIB=y
CONFIG_IDLETHREAD_STACKSIZE=2048
CONFIG_INIT_ENTRYPOINT="nsh_main"
CONFIG_INTELHEX_BINARY=y
-CONFIG_LIBC_FLOATINGPOINT=y
CONFIG_MM_REGIONS=2
CONFIG_NET=y
CONFIG_NETDB_DNSCLIENT=y