2015-07-23 03:19 AM
Hello.
There is a bug in the cmsis_os.c file: at line 757: return xQueueCreate(queue_def->queue_sz, (uint32_t) sizeof(queue_def->item_sz)); sizeof(item_sz) is always 4, so all queues are created with element size = 4, not item_sz. It should be return xQueueCreate(queue_def->queue_sz, (uint32_t) queue_def->item_sz); instead. Also, there is another misuse of size_of in the same file at line 936. --- Looks like there is already topic about it: https://my.st.com/ffa1c357 sorry for duplication2015-07-23 06:23 AM
Hi,
I will report the issue to our development team.Thank you for the information and sorry for the inconvenience that it may bring.-Syrine-2015-10-27 02:42 AM
Hi,
Your reported issue is confirmed and fixed in the FreeRTOS V8.2.1, embedded in the new release of STM32 CubeF4 1.9.0 -Syrine-