Getting started

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

Getting started

388 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Wed Jun 08 10:53:32 MST 2011
I have created a project in LPCxpresso,  a "blinky".

When I try to:

FIO0DIR |= 0x00400000;

I get the error:

DescriptionResourcePathLocationType
'FIO0DIR' undeclared (first use in this function)main.c/VCP/srcline 37C/C++ Problem

(GPIOSetDir(0, 22, 1); does not work either)

I have the CMSISv1p30_LPC17xx project open in the Project explorer.

Am I missing some method of "associating" the CMSIS project with my project?

Thanks

Rich
0 Kudos
3 Replies

313 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Jun 08 11:59:48 MST 2011
There are a few helpful videos at:

http://ics.nxp.com/lpcxpresso/

Especially 'Learn Eclipse the LPCXpresso way - from the developers' is describing a few very helpful features.
0 Kudos

313 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by richas on Wed Jun 08 11:44:54 MST 2011
Ah yes, thank you.  It will take a bit for me to get used to the CMSIS "way".

Thanks again

Rich
0 Kudos

313 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Jun 08 11:28:35 MST 2011
If you look in 'LPC17xx.h' you can find this register:

LPC_GPIO0->FIODIR  :)

Function GPIOSetDir() is not included in CMSIS.
0 Kudos