2021-06-28 07:45 PM
Hi guys
I was using STM32F4 Cube package 1.25.0 with SEGGER_SYSVIEW_FreeRTOS.c and other segger files and a few days ago, I replaced it with a new package 1.26.0 and met the error below.
"C:/Users/ckim/workspace/STM32Cube_FW_F4_V1.26.0/Middlewares/Third_Party/FreeRTOS/Source/queue.c: In function 'prvNotifyQueueSetContainer':
../../../Src/Core/Logs/SEGGER_SYSVIEW_FreeRTOS.h:223:195: error: 'xCopyPosition' undeclared (first use in this function)
#define traceQUEUE_SEND( pxQueue ) SEGGER_SYSVIEW_RecordU32x4(apiID_OFFSET + apiID_XQUEUEGENERICSEND, SEGGER_SYSVIEW_ShrinkId((U32)pxQueue), 0u, 0u, xCopyPosition)"
It looks FreeRTOS V1.3.0 (included at 1.26.0 package) doesn't use xCopyPosition anymore.
Do you have any idea how to resolve this issue?
2021-06-29 04:17 AM
Hello @mclapd ,
The prvNotifyQueueSetContainer() function has been modified by the FreeRTOS developers. It no longer contains the xCopyPosition parameter.
BeST Regards,
Walid