2017-05-29 07:50 AM
I believe there is a bug in the osMailCAlloc function from cmsis_os.c V1.02 (STM32Cube_FW_F1_V1.4.0).
The function will always assign 0 to the first 4 bytes of the block, since sizeof an uint32_t is 4.
if (p) {
for (i = 0; i < sizeof(queue_id->queue_def->item_sz); i++) { ((uint8_t *)p)[i] = 0; }}
#stm32cube #freertos #cmsisSolved! Go to Solution.
2018-02-08 07:19 AM
Hello,
This issue is fixed in the FreeRTOS V9 tag 03032017, already integrated in the STM32CubeF1 firmware package version 1.6.0.
Best Regards
Imen.
2017-05-30 01:41 AM
Hi
Nogueira_da_Silva.Ke
,Thanks for highlighting this issue.
I confirm this bug and it isreported internallyto be fixed in coming versions.
Thanks
Imen
2018-02-08 07:19 AM
Hello,
This issue is fixed in the FreeRTOS V9 tag 03032017, already integrated in the STM32CubeF1 firmware package version 1.6.0.
Best Regards
Imen.