Compilation error when enabling NRF5340 FPU

Dear Nordic

hardware:NRF5340, sdk:2.6.1

Our project needs to use floating-point calculations. Attempting to add CONFIG_FPU=y and CONFIG_FPU_SHARING=y to prj.conf will result in an error during compilation
as follows

-- Cache files will be written to: E:/nordic-sdk/v2.6.1/zephyr/.cache
CMake Error at cmake/utils.cmake:67 (message):
INVALID CONFIG: ( CONFIG_TFM_ENABLE_FP OR CONFIG_TFM_ENABLE_MVE OR
CONFIG_TFM_ENABLE_MVE_FP ) AND NOT CONFIG_TFM_ENABLE_CP10CP11
Call Stack (most recent call first):
config/cp_check.cmake:35 (tfm_invalid_config)
config/check_config.cmake:85 (include)
CMakeLists.txt:79 (include)

Our project is developed based on the Zephyr example Blinky, and the board uses nrf5340dk_crf5340_cpuapp_ns

Related