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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,529件の閲覧回数
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,514件の閲覧回数
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,515件の閲覧回数
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.