S32K314 project's OSIF files generation

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

S32K314 project's OSIF files generation

1,369 次查看
Danny_Wu
Contributor I

Hello,
In the local project of S32K314, I tried to use “Manage SDK components” to generate freertos and osif code,but I didn't see the osif code being generated. (like “osif_freertos.c” and “osif.h” on S32K148 project).
How should I get the “osif_freertos.c” and “osif.h” files?

0 项奖励
回复
5 回复数

1,356 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Danny_Wu,

Do you use S32DS 3.4 IDE with the latest RTD 2.0.0 and SW32K3_FreeRTOS_10.4.6_2.0.0_D2204 installed?

 

Thank you,

BR, Daniel

 

0 项奖励
回复

1,330 次查看
Danny_Wu
Contributor I

Hello,

Yes, the version info I am using is as follows:
  -IDE:            S32DS.3.4_b201217_win32.x86_64.exe
  -RTD:           SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204.zip
  -FreeRTOS: SW32K3_FreeRTOS_10_4_6_UOS_2_0_0_DS_updatesite_D2204.zip
  -other:          SW32K3_S32DS_3.4.3_D2112.zip

0 项奖励
回复

1,317 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Danny_Wu,

The RTD drivers are not compatible with the S32K1xx SDK.

But you can find osif.h in the RTD source code.

This is the FreeRTOS example:

danielmartynek_0-1653913105027.png

 

BR, Daniel

 

0 项奖励
回复

1,311 次查看
Danny_Wu
Contributor I

Hello,
thank you for your reply.

In the osif_freertos.c/osif.h of S32K1xx SDK, OSIF_TimeDelay(), OSIF_MutexUnlock(), OSIF_SemaWait(), etc. can be generated.
But I don't see these APIs in the RTD source code.
Could you please tell me where or how these APIs are generated?

0 项奖励
回复

1,285 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @Danny_Wu,

The RTD and the SDK drivers are different.

The functions you mentioned are SDK functions not RTD.

 

BR, Daniel

 

0 项奖励
回复