2322345_en-US

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

2322345_en-US

2322345_en-US

SW plan of S32K5 RTD Platform_Types.h file

Hi Team,

Platform_Types.h is generated every time in the current S32K5 RTD, and it is a static file in S32K3 RTD. Std_Types.h is a static file in S32K5 & S32K3 RTD. Platform_Types.h and Std_Types.h are wrapper files. Why isn't Platform_Types.h a static file in S32K5 RTD? How does a customer replace it with integrators?

Thanks!

BR,

Shuang

 

 

Priority: HIGHRTDRe: SW plan of S32K5 RTD Platform_Types.h file

Hi @Shuang 
The reason Platform_types.h is generated file is because it has a block of code to check whether the current derivative support  Core Architect A32 or A64:

 
 

  [!SELECT "as:modconf('Resource')[1]"!][!//
                                [!IF "(ResourceGeneral/ARM_CoreArchitecture = 'ARM_A64_ARCH')"!][!//
                                #define CPU_TYPE (CPU_TYPE_64)
                                [!ELSE!][!//
                                #define CPU_TYPE (CPU_TYPE_32)
                                [!ENDIF!][!//
                            [!ENDSELECT!][!//


in K3, it doesn't have this block of code so it can be placed as static file.

Can you let me know how integrator work with these files: Std_Types.h, StandartTypes.h, PlatformTypes.h and Platform_Types.h. Do you use NXP files or which file can be replaced by their own files?

Re: SW plan of S32K5 RTD Platform_Types.h file

Hi @cuongnguyenphu,

You can see that Std_Types.h and Platform_Types.h are a wrapper file. If customer wants to use thier Platform_Types.h to replace the generated Platform_Types.h file. How to do it?

Untitled picture.png

 

BR,

Shuang

 


Re: SW plan of S32K5 RTD Platform_Types.h file

Hi @Shuang 
I see that the description in UM is not consistent with what is implementing in source code.
Referring version S32K5_RTD_R23-11_0.8.0:

 

Picture2.png

PlatformTypes.h is actually the Wrapper file of Platform_Types.h, although the desciption in UM is opposite:

Picture3.png


If then, user can replace Platform_Types.h by their own file.

 

Re: SW plan of S32K5 RTD Platform_Types.h file

Hi @cuongnguyenphu ,

Could you guide me how to replace Platform_Types.h by user's own file.

Shuang_0-1776066860460.png

Thanks!

BR,

Shuang

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎04-15-2026 04:45 AM
更新者: