I'm trying to get the segger systemview working on a STM32L073RZ nucle board with FreeRTOS. I have verified that freertos is working fine with the MCU as I could create 2 tasks and run them independentitly. But as soon as I try adding the Systemview and RTT source files I keep getting error.
These are the file versions that I'm using in this project.
FreeRTOS version FreeRTOSv202406.04-LTS (FreeRTOS Kernel V11.1.0)
STM32Cubeide version 1.19.0
STM32L0 FW package STM32Cube FW_L0 V1.12.3
MCU Reference STM32L073RZTx
Segger Systemview target source Release V3.60e
These are the errors I keep on getting.
Description Resource Path Location Type
make: *** [makefile:70: FreeRTOS_Base_STM32L0.elf] Error 1 FreeRTOS_Base_STM32L0 C/C++ Problem
undefined reference to `SEGGER_SYSVIEW_X_GetTimestamp' FreeRTOS_Base_STM32L0 line 0, external location: C:\Users\SESA674736\OneDrive - Schneider Electric\Documents\STM32CubeIDE\FreeRTOS_workspace\FreeRTOS_Base_STM32L0\ThirdParty\SEGGER\SEGGER\SEGGER_SYSVIEW.c:1456 C/C++ Problem
undefined reference to `SEGGER_SYSVIEW_X_GetTimestamp' FreeRTOS_Base_STM32L0 line 0, external location: C:\Users\SESA674736\OneDrive - Schneider Electric\Documents\STM32CubeIDE\FreeRTOS_workspace\FreeRTOS_Base_STM32L0\ThirdParty\SEGGER\SEGGER\SEGGER_SYSVIEW.c:2107 C/C++ Problem
undefined reference to `SEGGER_SYSVIEW_X_GetTimestamp' FreeRTOS_Base_STM32L0 line 0, external location: C:\Users\SESA674736\OneDrive - Schneider Electric\Documents\STM32CubeIDE\FreeRTOS_workspace\FreeRTOS_Base_STM32L0\ThirdParty\SEGGER\SEGGER\SEGGER_SYSVIEW.c:657 C/C++ Problem
undefined reference to `SEGGER_SYSVIEW_X_GetTimestamp' FreeRTOS_Base_STM32L0 line 0, external location: C:\Users\SESA674736\OneDrive - Schneider Electric\Documents\STM32CubeIDE\FreeRTOS_workspace\FreeRTOS_Base_STM32L0\ThirdParty\SEGGER\SEGGER\SEGGER_SYSVIEW.c:881 C/C++ Problem
Not sure whats going wrong, BTW I'm a hardware engineer with limited knowledge of firmware.
Thanks in advance!
SEGGER_SYSVIEW_X_GetTimestampthen you should get a hint of which file that is the problematic one.