Default project settings

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

Default project settings

1,537 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RA1981 on Thu Feb 21 05:58:28 MST 2013
Hi,

I searched the forum and the CR support site, but I couldn't find a solution to it:
where are the default project settings stored? The only thing I found was the link_template.ld file.

Regards,

Ralf
0 Kudos
Reply
7 Replies

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RA1981 on Mon Feb 25 10:09:19 MST 2013
Hi,


Quote:
Sorry, what you want is not currently supported as such.


That's a pity. Will this be supported in future versions?


Quote:
However, if you want to change the post build step on one or more projects in a more automated way, you can use the following...


Thank you, I'll try it. This is something like a user-defined setting which can be manually applied to one or more projects, right?


Quote:
Note that this will prepend to the existing postbuild step, not replace it though.


Hmmm... not sure, but if I'm right the default post-build step line has the 'comment' sign (#) applied, so if it's appended it might be ignored. I'll check it out.

Regards,

Ralf
0 Kudos
Reply

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Feb 25 03:07:02 MST 2013
Sorry, what you want is not currently supported as such.

However, if you want to change the post build step on one or more projects in a more automated way, you can use the following...

Extract the xml file from attached zip and place it into one of the projects in your workspace (doesn't matter which). Then edit the [I]postBuild[/I] clause in the xml to match the line you want. Note that this will prepend to the existing postbuild step, not replace it though.

Now right click on the xml file in the Project Explorer view, and select

[FONT=Courier New][SIZE=2]Smart Update -> Smart update[/SIZE][/FONT]

Select which projects you want to update the post build step for.

Your post build steps should now all be updated.

Regards,
CodeRedSupport
0 Kudos
Reply

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RA1981 on Sat Feb 23 10:18:47 MST 2013
Hi,


Quote: CodeRedSupport
The setting for a project come from a combination of built in defaults, combined with a number that are based on the Project Wizard that you use and the options that you select when running through the wizard.


Ah, okay. Where are the non-built-in default settings stored?


Quote: CodeRedSupport
What are you actually trying to do??


In this case, I want to modify the default post-build steps, so that a new project has the needed settings already. But in general it would be nice to know which settings could be modified and where the templates are located.

Regards,

Ralf
0 Kudos
Reply

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ex-kayoda on Fri Feb 22 19:14:35 MST 2013

Quote: micrio
I do know how to set the stack offset, that is not the problem.



Wrong thread :)
0 Kudos
Reply

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by micrio on Fri Feb 22 19:01:59 MST 2013
I do know how to set the stack offset, that is not the problem.

The problem is that the reason it is necessary is so obscure.
The recient discussion on CAN bus problems mentioned this issue so I
thought I would check my code.   It was not set!

What I would like is to tie the two things together: using IAP and the
necessary setting of the stack offset to 32 bytes.

It would be much better if the code just crashed when you used IAP
without setting the stack offset.   Since it is so easy to miss, and that the bugs
produced are so subtle, this issue is a real killer.

Pete.
0 Kudos
Reply

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Feb 22 15:17:19 MST 2013
The setting for a project come from a combination of built in defaults, combined with a number that are based on the Project Wizard that you use and the options that you select when running through the wizard.

What are you actually trying to do??

Regards,
CodeRedSupport
0 Kudos
Reply

1,522 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RA1981 on Fri Feb 22 13:28:29 MST 2013
Hi,  seems that the .project and .cproject files store the project settings for a given project, but I still couldn't figure out on which file those project files are based.    Regards,  Ralf
0 Kudos
Reply