Hi all,
I'm using stm32cubemx to create RTOS project, if using c99 compiler, everything good, but when using cpp, there are a lot errors, check the manual, CMSIS-OS.C support c++. Below is one of the error. thePool = pvPortMalloc(sizeof(os_pool_cb_t)); ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c(791): error: #513: a value of type "void *" cannot be assigned to an entity of type "osPoolId"
can anybody help to solve the problem?
Thanks a lot