Undeclared variables in Blinky

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Undeclared variables in Blinky

1,156件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ttowles on Wed Mar 31 11:03:00 MST 2010
I am just getting up and running using the LPCXpresso for the first time and I am getting some Undeclared variables upon trying to build the example Blinky project
for instance:
CLKOUTCLK_SRC_MAIN_CLK undeclared
TIME_INTERVAL
Even gpio.h No suck file or directory

Any ideas?
Todd

[IMG]file:///C:/Users/Todd/AppData/Local/Temp/moz-screenshot.png[/IMG]

Original Attachment has been moved to: 1100247_ACD_Test.zip

0 件の賞賛
返信
3 返答(返信)

1,107件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Apr 07 08:45:23 MST 2010
Can you confirm the actual name of your blinky project?

If it is LPCXpresso1343_blinky / LPCXpresso1114_blinky, then you need to also ensure that the library project LPC13_Lib / LPC11_Lib also exists in the workspace.

If the project name is just "blinky", then all the required files (other than the CMSIS ones) will be contained in the blinky project itself.

[  == Aside ==
The reason for the difference is that there are two sets of examples for each of LPC13 / LPC11. The one set is a reduced set of examples, which basically just provide a number of different ways of flashing the LED - aimed mainly at those who just have the lpcxpresso processor card. This reduced set of examples places some shared code into a library project.

The second set contain a wider set of examples, covering more of the peripherals contained in the MCU - but which in some cases require additional hardware. This second set of examples do not use this shared library project.
]

Regards,
CodeRedSupport.
0 件の賞賛
返信

1,107件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ttowles on Wed Apr 07 07:53:05 MST 2010
Yes, it is imported in the workspace - at least I think it is. Not sure how to tell other than it's in the window. Any other ideas?
0 件の賞賛
返信

1,107件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by renan on Wed Mar 31 12:10:44 MST 2010
Do you have CMSIS in your workspace? If not, import this project.

Renan
0 件の賞賛
返信