Post Go back to editing

FreeRTOS port for BF70x and multi-threading C standard library (libcmt): linker error

Hi all,

in another CCES project for BF70x we're also using FreeRTOS.

However, when activating the linker switch "-threads" ("Link against thread-safe run-time libraries") the linker fails:

[Error li1021]  The following symbols referenced in processor 'P0' could not be resolved:
        'adi_osal_ThreadEnableCycleCounting [_adi_osal_ThreadEnableCycleCounting]' referenced from 'libcmt.dlb[osal_thread_cycles.doj]'
        'adi_osal_ThreadGetCycleCount [_adi_osal_ThreadGetCycleCount]' referenced from 'libcmt.dlb[osal_thread_cycles.doj]'

I could not find the two functions being defined in the ADI OSAL for FreeRTOS.

Any ideas?

Is using the "-threads" switch wrong/unneccessary?

Best regards,
Matthias