In "S32 Design Studio for ARM" add FreeRTOS ,then compile Failed

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

In "S32 Design Studio for ARM" add FreeRTOS ,then compile Failed

跳至解决方案
1,520 次查看
anjingzhang
Contributor I

In my project of S32144,

Later I tried to add FreeRTOS, then I compile the project.

In console window, it shows: 

../SDK/rtos/osif/osif_baremetal.c:58:2: error: #error "Wrong OSIF selected. Please define symbol USING_OS_BAREMETAL (or no OS define) in project settings or change the OSIF variant"

But I have added the USING_OS_BAREMETAL in project setting.

Why did it happend? What should I do?

屏幕截图 2022-12-05 170432.png屏幕截图 2022-12-05 171048.png

0 项奖励
回复
1 解答
1,505 次查看
anjingzhang
Contributor I

I choose use FreeRTOS. Disabled all the code in file osif_baremetal.c , then everthing is fine. I got the effect what I wanted.

在原帖中查看解决方案

1 回复
1,506 次查看
anjingzhang
Contributor I

I choose use FreeRTOS. Disabled all the code in file osif_baremetal.c , then everthing is fine. I got the effect what I wanted.