Skip to main content
mclapd
Associate III
June 29, 2021
Question

FreeRTOS + Segger SystemView build problem at STM32F4 Cube Package 1.26.0

  • June 29, 2021
  • 1 reply
  • 1382 views

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?

This topic has been closed for replies.

1 reply

Walid ZRELLI
Visitor II
June 29, 2021

Hello @mclapd​ ,

The prvNotifyQueueSetContainer() function has been modified by the FreeRTOS developers. It no longer contains the xCopyPosition parameter.

BeST Regards,

Walid