S32G Use Case Project FreeRTOS Compilation Error

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

S32G Use Case Project FreeRTOS Compilation Error

跳至解决方案
700 次查看
shoupengchen
Contributor I

I create a  FreeRTOS_Toggle_Led_Example_S32G399A_M7 project from example.

When I click Compile Project, the error Platform_Types.h , Clock_Ip.h and Platform_Types.h does not exist.

I found click project -- properties -- SDKs Pop the tips:
“One or more files from attached SDK, Platform SDK_32XX_2022_03_S32G399A_M7_0 V 3.0.2 are missed in project ”

 

I don't know whether the compilation error is related to the SDK. How can I solve this problem?

 

My software is as follows:

1.S32DS.3.5_b220726_linux.x86_64.bin

2. SW32_FreeRTOS_10_4_6_UOS_3_0_2_DS_updatesite_D2204.zip

3. SW32G_RTD_4.4_3.0.2_HF01_DS_updatesite_D2204.zip

4. S32 Design Studile Platform package 3.5.1

5. S32G development package 3.5.1

6. S32 Design Studio Platform Tools package.

 

0 项奖励
1 解答
687 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Have you generated the code with config tools prior to compiling the project? You can right-click on the project itself and go to "S32 Configuration Tools > Open Pins" and should redirect you to another window. Up in the tool bar you should see an "Update Code" option, clicking it should generate the needed files for the project to compile successfully.

The generated code adds missing modules to the project for it to work. We recommend to import the example again (deleting the previous) and generate the code with config tools.

At this moment, we have one working platform with that example, meaning should work out of the box.

Please, let us know.

在原帖中查看解决方案

2 回复数
688 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Have you generated the code with config tools prior to compiling the project? You can right-click on the project itself and go to "S32 Configuration Tools > Open Pins" and should redirect you to another window. Up in the tool bar you should see an "Update Code" option, clicking it should generate the needed files for the project to compile successfully.

The generated code adds missing modules to the project for it to work. We recommend to import the example again (deleting the previous) and generate the code with config tools.

At this moment, we have one working platform with that example, meaning should work out of the box.

Please, let us know.

659 次查看
shoupengchen
Contributor I
Thank you. After generating the code, it can be compiled normally ~
0 项奖励