Enabling CMSIS-NN in PlatformIO

Hi Max,

Apologies for not doing this in my basic post.

Setup:

  1. Windows
  2. ARM board: STM32 L476VG
  3. Selected mbed as the framework when creating PlatformIO project as that was the only option for this board
  4. As CMSIS-NN was not detected by the PlatformIO ‘Libraries’ search feature, downloaded the ARM.CMSIS.5.4.0 folder structure and stored on my hard-drive (Ref. image.1)

Here are the things I tried in order as none of them worked:

  1. Modified the c_cpp_properties.json file (.vscode project folder) to include the path that had arm_nnfunctions.h (Image.2)
  2. Within the platformio.ini, used PlatformIO lib_deps option to list the dependent libraries by listing the folders where arm_nnfunctions.h was stored (Image.3)
  3. Went back to using the Libraries feature (Image.4). It was able to find the CMSIS Core library and when that didn’t work, also tried loading the CMSIS DSP. With this I was hoping that the basic functions will be found.
  4. Finally, I changed the board to another board, which allowed choosing the cmsis as the framework when using the PlatformIO New-Project dialog box

[I later realized as a new user I can only upload one image]