Error compiling freeRTOS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Error compiling freeRTOS

2,675 次查看
mrajanna
Contributor V

Hi,

I created freeRTOS sample and then added CAN driver using processor expert.

While compiling the project, I am encountering with below error.

C:/NXP/S32DS_ARM_v2.0/S32DS/S32SDK_S32K14x_EAR_0.8.4/rtos/osif/osif_freertos.c:65:2: error: #error "Wrong OSIF selected. Please define symbol USING_OS_FREERTOS in project settings or change the OSIF variant"

Whether someone has come across this error ?

Thanks

Mohan

2 回复数

2,124 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can do exactly what is suggested in the error message - define USING_OS_FREERTOS. You can do that in project properties. 

pastedImage_1.png

Jiri

2,124 次查看
mrajanna
Contributor V

Thanks Jiri. It worked.