How to change %projectFileDir?

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

How to change %projectFileDir?

1,393 次查看
bluehacker
Contributor III
Hi everyone I use cw for mcu v6.3 to develop MCF51AC128A application. my questions is how to change an existing project's %projectFileDir? thanks!
标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

1,005 次查看
J2MEJediMaster
Specialist I

I am not sure of what you are trying to do here. If you are renaming the project's directory name, I would try:

 

1) Make a backup copy of your project directory.

2) In the IDE, choose Project > Reset Entry Paths

3) Quit the IDE.

4) Rename the directory.

5) Open the renamed directory folder and double-click on the project file.

6) Choose Project > Re-search for Files.

 

That might do it. I'm downloading a copy of the Classic tools right now (got to get those latest updates) and this is from memory. Also, make sure that you do not have any absolute paths (for example, C:\My_Project\My_Custom_Headers) in your project. If you do, you need to change those to project relative paths or edit them.

 

---Tom

0 项奖励
回复

1,005 次查看
bluehacker
Contributor III

please refer this message:

https://community.freescale.com/message/72670#72670

 

During I develop one new MQX bsp for my cuatom mcf51ac128 board. and find I can't use P&E multilink to download MQX based application's image into internal flash. the error message is post on https://community.freescale.com/message/72670#72670

I thnik if I can change the %projectFileDir to my new project paths, the trouble will be solved. So this is why this message is post.

 

0 项奖励
回复

1,004 次查看
J2MEJediMaster
Specialist I

You can change file directory paths in the IDE through the Access Paths panel. In the IDE, choose Edit > Standard Settings > Access Paths. At a minimum, you can add the directory as a user path and force the IDE to search all user paths.

 

Looking at the screenshot, the other thing to consider is that the directory path is miles long and something might be choking on that length. Specifically, something in the debugger software and not the IDE, since it is building the program.

 

---Tom

0 项奖励
回复