This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use CMSIS DSP library on NRF5340?

Hi all, i want to use CMSIS DSP library for vector/matrix computation.

In NRF connect SDK, there is a "nRF CMSIS DSP examples solution" in the dashboard, however it fails after build solution:

Building ‘arm_matrix_example’ from solution ‘nRF CMSIS-DSP Samples’ in configuration ‘Debug’
1> Linking arm_matrix_example.elf
1>
1> Diagnostics:
1> error: relocation R_ARM_THM_JUMP24 to non-function symbol afterInitialize at .init+20
1> error: relocation R_ARM_THM_CALL to Arm-mode function not supported on this core, at .init+20 to afterInitialize
1> error: See wiki.segger.com/Correct_typing_of_Thumb_functions for help on correcting this
1> error: call from .init made to afterInitialize but afterInitialize is a symbol without the low bit set
1> error: call from .init made to afterInitialize but afterInitialize is a symbol without the low bit set
1> error: call from .init made to afterInitialize but afterInitialize is a symbol without the low bit set
1> error: call from .init made to afterInitialize but afterInitialize is a symbol without the low bit set
1> error: call from .init made to afterInitialize but afterInitialize is a symbol without the low bit set
1> error: undefined symbol: main
Build failed

How can i fix these errors, or how to use the CMSIS DSP library?

Any help will be appreciated!

  

Related