lpcware

undefined reference to `GPIOSetDir'

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by woodchuck on Thu Jul 29 14:22:41 MST 2010
To control the LED on my LPCxpresso board, I make GPIO references just like the sample code does.  Unfortunately the linker keeps flagging them.  I'm putting the gpio.h header file right next to the main.c file in the src folder but it STILL does not help.  Naturally, in main.c (on about line 8) I have the following: #include "gpio.h"

What in the world is going on?  How can I make it any more obvious to the compiler/linker?  Spending an hour on a stupid problem like this is mighty annoying!!!

Outcomes