Content originally posted in LPCWare by drvrh on Wed Jul 15 05:05:04 MST 2015Hello,I would like transfer GPIO libs. For start I have GPIO libs on LPC1769 and libs working perfectly. Now I would like transfer on LPC1227 but not working more.I change on header #include "LPC17xx.h" with
#include "LPC12xx.h" |
and from other header file call GPIOSetValue and GPIOSetDirbut no working I have error:
undefined reference to `GPIOSetDir'lcd.c/dmo2/srcline 261C/C++ Problem
undefined reference to `GPIOSetValue'lcd.c/dmo2/srcline 50C/C++ Problem
|
How to transfer correctly. In attachments I added GPIO include file which I using now on new LPC. Original Attachment has been moved to: GPIO.h.zip
Original Attachment has been moved to: GPIO.C.zip