How to rename output file name

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

How to rename output file name

跳至解决方案
2,260 次查看
FanZhang
Contributor I

Is it possible to rename clock_config.h/c files in the config tool? I've tried to rename it in the .mex file but after importing it changes back to clock_config.h/c again. Tried both with the IDE and stand-alone config tool.

0 项奖励
回复
1 解答
2,252 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @FanZhang,

ConfigTools requires a certain level of consistency to be able to generate the board configurations correctly, and changing the files that it generates would not allow that level of consistency. This is why it reverts any manual changes made in the .mex file when updating the code (even if it’s the only file that it’s actually being updated) in order to "keep the configuration synchronized with the project".

EdwinHz_0-1634919093913.png

So not allowing the user to change the name of the generated files is a way of ensuring the configurations from the tool work correctly and seamlessly with the project’s code.

 

Regards,

Edwin.

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,253 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @FanZhang,

ConfigTools requires a certain level of consistency to be able to generate the board configurations correctly, and changing the files that it generates would not allow that level of consistency. This is why it reverts any manual changes made in the .mex file when updating the code (even if it’s the only file that it’s actually being updated) in order to "keep the configuration synchronized with the project".

EdwinHz_0-1634919093913.png

So not allowing the user to change the name of the generated files is a way of ensuring the configurations from the tool work correctly and seamlessly with the project’s code.

 

Regards,

Edwin.

0 项奖励
回复