S32DS Pin Tool Edited Configuration Mismatch with project's *.c/*.h files

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

S32DS Pin Tool Edited Configuration Mismatch with project's *.c/*.h files

1,254 次查看
eronimo
Contributor I

Hello all,

when I create a project from a port example and change the pin configuration in Pin-Tool the resulting configurations are not reflected automatically to corresponding source/header files even if I click to update code section.

Does that mean already like this? Or am I missing something?

In the corresponding part of the help document, it refers only to see the new code in code-view and to export the new files to integrate them. So, is the automatic update of the corresponding files not possible at all?

One another thing is that the updated files in the Pin-Tool are the following,

- Siul2_Port_Ip_Cfg.c

- Siul2_Port_Ip_Cfg.h

- Tspc_Port_Ip_Cfg.c

- Tspc_Port_Ip_Cfg.h

but the files in the project under generate/ are as following.

- Siul2_Port_Ip_PBcfg.c

- Siul2_Port_Ip_PBcfg.h

- Tspc_Port_Ip_PBcfg.c

- Tspc_Port_Ip_PBcfg.h

What does this 'PB' stand for? And why is it added?

Last thing is, if the exported files have to be manually integrated always where do I know all files which are needed to be updated and the possible dependencies which might need to be adapted manually?

Does the Update-Code-Dialog-Window show always all changed files? If yes, might there be still other possible files which might need to be adapted accordingly?

Thanks in advance!

BR

0 项奖励
回复
2 回复数

1,178 次查看
cuongnguyenphu
NXP Employee
NXP Employee

Hi,
When you change Pin-Tool, it hasn't changed the generation files yet. You must add the Pin you change into Port module of Configurations tool also:
 

cuongnguyenphu_0-1700133737957.png

Then, when click on Update Code, it will update generated file.
Pin-Tool is where you can confige attribute for the specific pin, and to use this pin, you need to add it in Port module.

The meaning of PB is Post-Build, which is related to the Config Variant type you use to generate these config module.

cuongnguyenphu_1-1700133911985.png


- If use Post-build variant: You must call Port_Init(&Port_Config);
- If use pre-Compile variant: You must call Port_Init(NULL);

Last thing is, if the exported files have to be manually integrated always where do I know all files which are needed to be updated and the possible dependencies which might need to be adapted manually? -> I don't really understand your question, what is exported file? Can you give an example

0 项奖励
回复

1,200 次查看
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @eronimo , 

 

Answer to your last question. 

Does the Update-Code-Dialog-Window show always all changed files? If yes, might there be still other possible files which might need to be adapted accordingly?

 

is Yes - Update Code dialog will show all the modified files and replace them in the project after completing the Update action.

 

Let me get back to you in some time for other questions.

 

Thank you. Best regards, 

-Mehul Patel

0 项奖励
回复