Project Global Variables

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

Project Global Variables

640 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Wed Mar 02 12:25:07 MST 2011
I saw in another post a command issued in a command prompt to display the project global variables but can't find that post now.

Could you provide me with that info?
0 Kudos
Reply
4 Replies

633 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Thu Mar 03 01:05:24 MST 2011
This is what I was looking for.

http://knowledgebase.nxp.com/showthread.php?p=1779&highlight=Tools%2Fbin#post1779

The following is a portion of that post:


Quote:
To see all the defines generated by the compiler, Ctrl-click on the project name in the bottom right of the status bar of the LPCXpresso IDE to open a command prompt with the compiler tools set up on the path. Then enter:



arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -E -dD -



Quote:
After pressing Enter, press Ctrl-Z and Enter again. The list of defines will be displayed on screen. [Note - change the processor to cortex-m0 if you are interested in LPC11 rather than LPC13/17.



How could you understand what I meant if I couldn't understand what I meant.:D

Thanks CodeRedSupport
0 Kudos
Reply

633 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Mar 02 16:12:04 MST 2011
Sorry, but I don't understand what you mean.

You specify compiler defines in the Project properties->C/C++ Build->Settings, Compiler->Symbols page. Is that what you are looking for? if not, please explain.
0 Kudos
Reply

633 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Wed Mar 02 15:52:08 MST 2011
:oI realized now that I meant to say all global defines in my question.  Does that make more sense?

I should have bookmarked that page, still searching....
0 Kudos
Reply

633 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Mar 02 15:44:28 MST 2011
Right-click in the variables view and "Add Globals"
0 Kudos
Reply