how to fix this S32DS example buid issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to fix this S32DS example buid issue

Jump to solution
895 Views
zongliang
Contributor I

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 Kudos
1 Solution
886 Views
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. 

 

View solution in original post

0 Kudos
2 Replies
863 Views
zongliang
Contributor I

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 Kudos
887 Views
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 Kudos