I am having trouble taking the IAP example project written for the MCB2100 (LPC2129) and moving it to the MCB2300 (LPC2378). My procedure was to create a new project targeting the LPC2378 which gives me the LPC2378.s file. Then I added the IAP.c file used in the example. Modified the include file declaration of the IAP.c file to
#include <LPC23xx.H>
Then I tried to compile the project but it does not recognize the VIC register:
VICDefVectAddr = (unsigned int) def_isr; // for Spurious Interrupts
This is the error:
IAP.C(206): error: #20: identifier "VICDefVectAddr" is undefined VICDefVectAddr = (unsigned int) def_isr; // for Spurious Interrupts IAP.C: 0 warnings, 1 error
Thanks
Hi, At the time I started this thread, I did not know that the VICs would be different between the LPCs. I am just starting to learn the tools and chips so I thought maybe my procedure creating a project from scratch was causing this error.
Thanks for the information.