mjs513 / CMSIS-NN--Neural-Network--for-Teensy-3.6

6 stars 0 forks source link

CMSIS-NN Port to Particle Photon #2

Open mousetrapbot01 opened 4 years ago

mousetrapbot01 commented 4 years ago

Hello,

I want to port this project to the particle photon, which is a arduino-like mcu. https://docs.particle.io/photon/ However, during compilation, the arm_math.h is having some problems.

Is it possible that the library changed from cmsis legacy to cmsis 5 so that the libraries are not compatible? I'm assuming you wrote this before cmsis 5 was released.

Thanks.

mjs513 commented 4 years ago

Hi Been quite a while since I played with this but it should still work with CMSIS-5.

Not sure what you mean by problems?

mousetrapbot01 commented 4 years ago

Oh wow, thank you for the quick reply.

I cloned your repository, moved all the files from the NN folder, and DSP updated files to a single folder, opened the example file with nothing changed. The problem came from arm_math.h, where it said it needed a lot more libraries than the ones included in the repo, including multiple libraries in the original cmsis-5. (I did not include the original cmsis-5 library). Am I supposed to port all the necessary libraries from the cmsis-5?

Also, the cortex m4 that is used in the teensy is not used in my device, so I was wondering if there were any differences that I need to take note of.

For reference, I am using the cortex m3. I am not too well versed in the embedded area, let alone the cmsis repo, so take my comments with a grain of salt.