Content originally posted in LPCWare by Wouter on Tue Aug 27 08:12:11 MST 2013
Hi Alex,
The emWin BSPs are based on the (older) PDL, your makefile is meant for LPCOpen. These two can't be mixed. You should either port the BSP to make use of LPCOpen(i.e. NOT add "emWin522_library/HW" to your sources, but use the LPCOpen implementation instead), or adjust your makefile to use the PDL instead of LPCOpen.
We currently don't have an LPC1788 LPCOpen emWin example, but we do have an LPC4300 LPCOpen emWin example. If you are going to port the BSP to make use of LPCOpen, this might be an example on how to do it.
I know you don't like to use an IDE as I recommended you before, but please reconsider; with LPCXpresso you can simply import the LPC1788 emWin BSP, compile and program. Within minutes you'll have emWin running! There are not many people out here working on makefiles, so support is very limited. Of course it's your decision in the end, but I'm just trying to make your life easier ;)
Regards,
Wouter