I would like to implement signal processing on the Photon2.
I am trying to get my head around what's required to utilise ARM's CMSIS DSP library.
From what i can see the deviceOS has CMSIS included,e.g. /toolchains/deviceOS/5.5.0/third_party/ambd_sdk/ambd_sdk/component/soc/realtek/amebad/cmsis-dsp/Source/
however when looking at the RTL872xD datasheet, i see that there is two CPU's availible KM4 and KM0, and im not sure which one runs my application (assuming KM4@200MHz), and for what device the CMSIS libraries are built.
My qustion is following, can i utiulize the already build CMSIS_DSP inside device OS or do i need to build CMSIS source from ARM by adding this to my src
or lib
folder, possibly adding a build.mk
as porposed here: https://community.particle.io/t/restructuring-code-in-particle-workbench/68442, and if so, what CFLAGS, defines for FPU etc needs to be included, to build the CMSIS_DSP correctly for the Photon2