K396 EVB example error troubleshoot

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

K396 EVB example error troubleshoot

3,553 Views
Harry0001
Contributor II

Now i tested the demo example project of the S32 k396,and i found that after changing the pin and updating the generation code,then compliing it ,it shows the following error:

workspaceS32DS.3.5/Lighting_SingleCore_S32K396_M7/Lighting_SingleCore_S32K396_M7/swc/rte/generic/include/SwcRte.h:39:10: fatal error: SwcRte_Cfg.h: No such file or directory

SwcRte_Cfg.h file can be found out in the porject  before i updating the generation code,i want to know why it miss after i clicking the update button of the S32 v3.5?What should i do to solve this error?

0 Kudos
Reply
4 Replies

3,545 Views
Harry0001
Contributor II

it seems that before it is called "SwcRte_Cfg",after updating it change to "SwcRte_PBcfg"!Should i rename it name to "SwcRte_cfg"?

0 Kudos
Reply

3,514 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

That is because your project is generated as post build (PBcfg) instead of precompile (CFG).

Those are 2 basic AUTOSAR structures for project generation.

Please select the precompile one in order to get CFG files linked.

For more details please refer to basic autosar trainings.

Best regards,

Peter

0 Kudos
Reply

3,499 Views
Harry0001
Contributor II

“Please select the precompile one in order to get CFG files linked.

Please tell me where to chose the precompile setting,i am confused for that.

Other question is that i cannot find the file for S32 opening but only finding the example file for EB,as is the attached picture showing,i have downloaded the updated software package which updated time is April,2023 ,what is the point of this problem?Thanks!

0 Kudos
Reply

3,482 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Please tell me where to chose the precompile setting,i am confused for that

You can select it in your configuration tool. For example:

petervlna_0-1691736545645.png

Other question is that i cannot find the file for S32 opening but only finding the example file for EB

Well hard to say. I could be that there are no S32DS examples. But the sample SW is usually provided directly in plugins:

petervlna_1-1691737166952.png

Best regards,

Peter

 

0 Kudos
Reply