how to fix this S32DS example buid issue

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

how to fix this S32DS example buid issue

跳至解决方案
1,784 次查看
zongliang
Contributor II

hi,

I create a project base on uart-example, when i try to build the project got below error in clock_ip_cfg.h,

please give some tips to fix the "[!IF "var:defined('postBuildVariant')"!][!//" error.

zongliang_0-1657018566243.png

 

0 项奖励
回复
1 解答
1,775 次查看
Stone_Shi
NXP Employee
NXP Employee

Firstly please double check the installation of S32DS environment for RTD3.0.2. Below is the suggested flow.

  1.  run S32DS.3.4_b201217_win32.x86_64.exe and install 3.4
  2.  run S32DS3.4, ->Help -Install new software->SW32G2_S32DS_3.4.3_D2104.zip
  3. ->Help -Install new software-> SW32G_RTD_4.4_3.0.2_HF01_DS_updatesite_D2204.zip

Then you can try again, don't forget to click "update code".

stone_shi_0-1657027456097.png

 

If you can't find the related packages mentioned, please contact NXP sales or NXP distributor. 

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,752 次查看
zongliang
Contributor II

now the project was build sucessfully.

some tips

1.fix "include file mssing issue" under project properties

zongliang_0-1657076390727.png

2.fix compiler issue like [!IF "var:defined('postBuildVariant')"!] or [!CODE!][!// issue by "click update code" under Configtools item.

zongliang_1-1657076544732.png

3. fix code generate error for "NUM_OF_CONFIGURED_PINS0" as in header file it is NUM_OF_CONFIGURED_PINS.

zongliang_3-1657076712182.png

 

 

0 项奖励
回复
1,776 次查看
Stone_Shi
NXP Employee
NXP Employee

Firstly please double check the installation of S32DS environment for RTD3.0.2. Below is the suggested flow.

  1.  run S32DS.3.4_b201217_win32.x86_64.exe and install 3.4
  2.  run S32DS3.4, ->Help -Install new software->SW32G2_S32DS_3.4.3_D2104.zip
  3. ->Help -Install new software-> SW32G_RTD_4.4_3.0.2_HF01_DS_updatesite_D2204.zip

Then you can try again, don't forget to click "update code".

stone_shi_0-1657027456097.png

 

If you can't find the related packages mentioned, please contact NXP sales or NXP distributor. 

 

0 项奖励
回复