This is going to be an excellent work and I am happy to be a part of it.
In my trial I realized that the time value printed on the serial port started as “The time is: 40000” and gradually reached to “The time is: 200000” and was increasing further, I think this was an indication of a leak. I’ll try to get the bonus
Not only myself, all the community will thank to your contribution to embedded machine learning / artificial intelligence works
Tested WithRTOS.ino as main.cpp on stm32f746G-discovery board using Eclipse CDT it works as expected; the LED blinks and serial port prints Input vector and Transformed Vector regularly. There was 3 warnings
|'memset' offset [17, 164] from the object at 'osRtxInfo' is out of the bounds of referenced subobject 'kernel' with type 'struct <anonymous>' at offset 8 [-Warray-bounds]|rtx_kernel.c|/pio-f746-arduino/.pio/libdeps/disco_f746ng/CMSIS-RTOS2-ArduinoSTM32/RTX/Source|line 93|C/C++ Problem|
|dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|pio-f746-arduino||line 425, external location: C:\users\murat\.platformio\packages\framework-arduinoststm32\CMSIS\CMSIS\DSP\Include\arm_math.h|C/C++ Problem|
|implicit declaration of function '__FPU_Enable'; did you mean 'HAL_MPU_Enable'? [-Wimplicit-function-declaration]|handlers.c|/pio-f746-arduino/.pio/libdeps/disco_f746ng/CMSIS-RTOS2-ArduinoSTM32/RTX/Config|line 141|C/C++ Problem|
+100 infos (several, I can send detailed info if you ask)
in build process, just 1 (same) 'implicit declaration of function ’ warning in debug session. PlatformIO Debugger on Eclipse CDT starts mormally but interrupt fails on “Suspend” as I’ve told previously. Anyhow good job, God bless you!..
BTW. CMSIS Library Reference and Arduino Software Language Reference are the primary guides, however Can you recommend any additional application note, blog, and/or book with examples to follow up and make experiments with your CMSIS DSP-NN RTOS2 libraries. First I want to make a simple pattern generator with impulse, sine, sawtooth, square wave outputs… after that I want to make an oscilloscope with spectrum display, all with SM32F7-Disco. I plan to use LvGL library for GUI development. On the other hand I plan to make experiments on predictive maintenance ML/AI IoT (+LoRa LoRa WAN) applications and on Software Defined Radio using your CMSIS DSP-NN libraries again.
I see a similar work (pio-cmsis-nn) of you started 16 months ago with mbed framework; may be you update this work with recent arduinostm32 framework.