I am getting hundreds of errors trying to build the ‘frBlink.ino’ example. I installed the ‘STM32FreeRTOS’ library and created a new project then cut and pasted the example code to ‘main.cpp’. I get so many errors trying to build it that I can’t scroll back to the beginning of the log. Lots of ‘template’ errors.
I’ve reduced ‘main.cpp’ so that it essentially only contains this ‘SemaphoreHandle_t sem;’ and it blows up.
One of the error msgs.:
with C linkage
template<typename _Tp>
^~~~~~~~
c:\users\jhe\.platformio\packages\toolchain-gccarmnoneeabi\arm-none-eabi\include\c++\7.2.1\bits\refwrap.h:353:3: error: template
with C linkage
I’m still having a problem with the frBlink code. ‘vTaskDelay()’ does not execute and return. I added print statements before and after to verify. I tried the same code in the Arduino 1.8.12 IDE and it works as expected. Tried a couple things on this site, but no solution. Any help is appreciated.
When I initiate a new st stm32 Arduino (arduinostm32) project I see CMSIS/ RTOS library in the includes folder; is it not possible to use this CMSIS/RTOS library and hopefully CMSIS/DSP NN … libraries as well instead of installing the STM32FeeRTOS? (perhaps this is required to use the CMSIS/RTOS !?)
Thank you for your kind answer. Yes I can chose CMSIS framework if I work with arm-cortex however I want to stay with Arduino core as long as it is possible (because I work with other platforms as well such as esp32 esp8266 and Arduino framework is more common and has strong support, examples, libraries etc…)
I just wanted to learn is it possible to use the existing CMSIS libraries staying in front of me in the project tree of my stm32 project with Arduino framework, and to learn how, if it is possible.